@php
$path = Storage::url('karyawan/'.$d->foto);
@endphp
@if (!empty($d->foto) && Storage::disk('public')->exists('/karyawan/' . $d->foto))
 }})
@else
 }})
@endif
{{ $d->nama_karyawan }} ({{ $d->nik_show ?? $d->nik }})
{{ $d->nama_jabatan }}
{{ $d->nama_dept }}
{{ $d->nama_cabang }}
{{ DateToIndo($d->tanggal) }}
{{ date('H:i', strtotime($d->lembur_mulai)) }} -
{{ date('H:i', strtotime($d->lembur_selesai)) }}
• {{ $duration }}
@if($d->lembur_in && $d->lembur_out)
Aktual: {{ $real_duration }}
@endif
@if ($d->status == 0)
Pending
@elseif ($d->status == 1)
Disetujui
@elseif ($d->status == 2)
Ditolak
@endif
@can('lembur.approve')
@if ($d->status == 0)
@elseif($d->status == 1 || $d->status == 2)
@endif
@endcan
@can('lembur.edit')
@endcan
@can('lembur.index')
@endcan
@can('lembur.delete')
@if ($d->status == 0)
@endif
@endcan