@php $daysInMonth = 31; @endphp @foreach ($data as $v)
Civil Service Form No. 48
DAILY TIME RECORD
-----o0o-----
{{ strtoupper($v['employee_name'] ?? '') }}
(Name)
For the month of {{ $v['month_year'] ?? '' }}
Official hours for Regular days {{ $v['schedule_regular_days'] ?? '' }}
arrival and departure Saturdays {{ $v['schedule_saturdays'] ?? '' }}
@for ($d = 1; $d <= $daysInMonth; $d++) @php $row = $v['dtr'][$d] ?? []; $am = $row['am'] ?? []; $pm = $row['pm'] ?? []; $ut = $row['undertime'] ?? []; @endphp @endfor
Day A.M. P.M. Undertime
Arrival Departure Arrival Departure Hours Minutes
{{ $d }} {{ $am['arrival'] ?? '' }} {{ $am['departure'] ?? '' }} {{ $pm['arrival'] ?? '' }} {{ $pm['departure'] ?? '' }} {{ $ut['hours'] ?? '' }} {{ $ut['minutes'] ?? '' }}
Total {{ $v['total_undertime_hours'] ?? '' }} {{ $v['total_undertime_minutes'] ?? '' }}
I certify on my honor that the above is a true and correct report of the hours of work performed, record of which was made daily at the time of arrival and departure from office.
{{ strtoupper($v['verified'] ?? '') }}
Verified as to the prescribed office hours:
{{ strtoupper($v['in_charge'] ?? '') }}
In Charge
@if (!$loop->last)
@endif @endforeach