|
TOTAL PENGAJUAN
{{ $overtimes->count() }}
|
DISETUJUI
{{ $overtimes->where('status', 'Approved')->count() }}
|
DITOLAK
{{ $overtimes->where('status', 'Rejected')->count() }}
|
MENUNGGU
{{ $overtimes->where('status', 'Pending')->count() }}
|
TOTAL LEMBUR DISETUJUI
{{ $totalDuration }}
|
| No | Nomor | Tanggal | Karyawan | Jam | Durasi | Alasan | Atasan | Status |
|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $overtime->overtime_no }} | {{ $overtime->overtime_date?->format('d/m/Y') }} |
@if($overtime->employee)
{{ $overtime->employee->full_name }}
{{ $overtime->employee->employee_no }} @else - @endif |
{{ substr($overtime->start_time, 0, 5) }} - {{ substr($overtime->end_time, 0, 5) }} | {{ $hours }} jam {{ $minutes }} menit | {{ $overtime->reason }} | {{ $overtime->supervisor?->full_name ?? '-' }} | @if($overtime->status === 'Approved') DISETUJUI @elseif($overtime->status === 'Rejected') DITOLAK @else MENUNGGU @endif |
| Tidak ada data izin lembur. | ||||||||