Working Days Overtime Hours

@if($attendance->count() > 0) @foreach($attendance->get() as $val) @endforeach @endif
S No. Date Day Clock In Clock Out Duration Overtime Hours
{{ $counter++ }} {{ HrHelper::date_format($val->attendance_date) }} {{ $val->day }} {{ $val->clock_in }} {{ $val->clock_out }} {{ $hours.' : '.$min }} @if($hours >= 9) {{ $otHours.' : '.$otMin }} @elseif($hours < 9 && $hours > 0) {{ '- '.$otHours.' : '.$otMin }} @endif

Holiday Days Overtime Hours

@if($off_days_attendance->count() > 0) @foreach($off_days_attendance->get() as $val2) @endforeach @endif
S No. Date Day Clock In Clock Out Duration Overtime Hours
{{ $counter++ }} {{ HrHelper::date_format($val->attendance_date) }} {{ $val2->day }} {{ $val2->clock_in }} {{ $val2->clock_out }} {{ $hours.' : '.$min }} {{ $hours.' : '.$min }}