@extends('app-new') @push('head-script') @endpush @push('content-header')
@endpush @push('prev-next-head')| # |
|
Employee Code | Employee Name | Date | In Time | Out Time | Shift | Working Hours | Status | @foreach ($attendanceSummaries as $key => $attendanceSummary)
|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} |
|
{{ optional($attendanceSummary->employee)->employee_code ?? '-' }} |
{{ optional($attendanceSummary->employee)->name ?? '' }} |
{{ $attendanceSummary->attendance_date ? App\Helpers\GeneralHelper::dateFormat($attendanceSummary->attendance_date) : '-' }} | {{ $attendanceSummary->in_time ? App\Helpers\GeneralHelper::timeFormat($attendanceSummary->in_time) : '-' }} | {{ $attendanceSummary->out_time ? App\Helpers\GeneralHelper::timeFormat($attendanceSummary->out_time) : '-' }} | {{ isset($attendanceSummary->shift->name) ? $attendanceSummary->shift->name.'('.$attendanceSummary->shift->start_time .'-'. $attendanceSummary->shift->end_time.')' : '' }} | {{ $attendanceSummary->working_time }} | @if($type === 'early-checkin') @if($attendanceSummary->early_checkin_approved) Approved @else Unapproved @endif @elseif($type === 'late-checkout') @if($attendanceSummary->late_checkout_approved) Approved @else Unapproved @endif @elseif($type === 'shift-production') @if($attendanceSummary->shift_production_approved) Approved @else Unapproved @endif @endif |