@if (isset($file_type) && $file_type == 'excel')
|
{{ $organization->name }}
|
|
Shift Attendance Report
|
{{ \Carbon\Carbon::parse($date)->format('j, F, Y') }}
|
|
Shift
|
Present
|
@php
$total = 0;
@endphp
@foreach ($shiftCards as $shift)
@php
$total += $shift->present_employees;
@endphp
| {{ $shift->name }}
|
{{ $shift->present_employees }}
|
@endforeach
|
Total
|
{{$total}}
|
@else
{{ $organization->name }}
Shift Attendance Report
{{ \Carbon\Carbon::parse($date)->format('j, F, Y') }}
| Shift |
Present |
@php
$total = 0;
@endphp
@foreach ($shiftCards as $shift)
@php
$total += $shift->present_employees;
@endphp
| {{ $shift->name }}
|
{{ $shift->present_employees }} |
@endforeach
|
Total
|
{{$total}}
|
@endif