OJT Daily Time Record
{{ $pagination['currentMonth']['name'] }}
Name: {{ $user->firstname }} {{ $user->middlename }} {{ $user->lastname }}
Position: Intern
Total Time This Month: {{ floor((int) filter_var($totalHoursPerMonth, FILTER_SANITIZE_NUMBER_INT) / 60) }} hours {{ round((int) filter_var($totalHoursPerMonth, FILTER_SANITIZE_NUMBER_INT) % 60) }} minutes
@if ($approved_by === null || !isset($approved_by)) @if ($declined_by != null || isset($declined_by))Declined by: {{ $declined_by }}
@else @endif @elseApproved by: {{ $approved_by }}
@endifDay | Time In | Time Out | Total Time | |||
---|---|---|---|---|---|---|
{{ \Carbon\Carbon::parse($data['date'])->format(' j') }} | {{ $data['time_in'] }} | {{ $data['time_out'] }} | @if ($data['hours_worked'] == '—')— | @else @if ((int) filter_var($data['hours_worked'], FILTER_SANITIZE_NUMBER_INT) / 60 < 1){{ (int) filter_var($data['hours_worked'], FILTER_SANITIZE_NUMBER_INT) }} minutes | @elseif((int) filter_var($data['hours_worked'], FILTER_SANITIZE_NUMBER_INT) / 60 == 1){{ (int) filter_var($data['hours_worked'], FILTER_SANITIZE_NUMBER_INT) / 60 }} hour | @elseif((int) filter_var($data['hours_worked'], FILTER_SANITIZE_NUMBER_INT) / 60 > 1){{ floor((int) filter_var($data['hours_worked'], FILTER_SANITIZE_NUMBER_INT) / 60) }} hours {{ round((int) filter_var($data['hours_worked'], FILTER_SANITIZE_NUMBER_INT) % 60) }} minutes | @endif @endif
No records found |