{{--
Current Break Started At: {{ $currentBreak->break_start }}
--}} {{-- --}} {{-- @else--}} {{-- --}} {{-- @endif--}} {{--| Start Time | Close Time | Duration |
|---|---|---|
| {{ date('h:i:s A',strtotime($br->break_start))??'-' }} | {{$br->break_end? date('h:i:s A',strtotime($br->break_end)):'-'}} | {{$duration}} |
| Total Break Time | @php $totalHours = floor($totalSeconds / 3600); $remainingSeconds = $totalSeconds % 3600; $totalMinutes = floor($remainingSeconds / 60); $finalSeconds = $remainingSeconds % 60; echo "{$totalHours} h {$totalMinutes} m {$finalSeconds} s"; @endphp | |