芝麻web文件管理V1.00
编辑当前文件:/home/sditechnicalteam/public_html/resources/views/shift-rosters/ajax/week_summary_data.blade.php
@foreach ($employeeShifts as $item)
{{ $item->shift_short_code }} : {{ $item->shift_name }}
{{ !$loop->last ? ' | ' : '' }} @endforeach |
: @lang('app.menu.holiday')
@lang('app.employee')
@foreach ($weekPeriod->toArray() as $date)
{{ $date->day }}
{{ $date->format('l') }}
{{ $date->format('M') }}
@endforeach
@foreach ($employeeAttendence as $key => $attendance) @php $userId = explode('#', $key); $userId = $userId[0]; $count = 1; @endphp
{!! end($attendance) !!}
@foreach ($attendance as $key2 => $day) @if ($count + 1 <= count($attendance)) @php $attendanceDate = \Carbon\Carbon::parse($key2); @endphp
@if ($day == 'Leave')
{{ $leaveType[$key2] }}
@elseif ($day == 'Half Day') @if ($attendanceDate->isFuture())
@lang('modules.attendance.halfDay')
@else
@lang('modules.attendance.halfDay')
@endif @elseif ($day == 'EMPTY')
@elseif ($day == 'Holiday')
{{ $holidayOccasions[$key2] }}
@else {!! $day !!} @endif
@endif @php $count++; @endphp @endforeach
@endforeach