@php $fmt = function ($v) { if ($v === null || $v === '') return ''; return number_format((float) $v, 2, ',', '.'); }; @endphp @foreach ($sheets as $sheet)
{{ $company_name }}
Nama : {{ $sheet['employee_name'] }}
Jabatan : {{ $sheet['jabatan'] }}
Bulan : {{ $sheet['bulan_label'] }}
No Finger : {{ $sheet['finger_no'] }}
@foreach (($sheet['ot_columns'] ?? []) as $otCol) @endforeach @foreach ($sheet['rows'] as $row) @foreach (($sheet['ot_columns'] ?? []) as $otCol) @endforeach @endforeach
TanggalJadwal OVT BeforeMasuk KeluarOVT After Waktu Perhitungan Lembur Remark
Jam Aktual Jam Normal (Plan) Jam Efektif{{ $otCol['label'] }}
{{ $row['date']->format('d') }}{{ $row['schedule_label'] !== '' ? $row['schedule_label'] : '-' }}@if (!empty($row['schedule_time']))
{{ $row['schedule_time'] }}@endif
{{ $row['ovt_before'] ?? '-' }}{{ $row['masuk'] }}@if (($row['masuk_actual'] ?? '-') !== '-' && ($row['masuk_actual'] ?? '') !== ($row['masuk'] ?? ''))
actual: {{ $row['masuk_actual'] }}@endif
{{ $row['keluar'] }}@if (($row['keluar_actual'] ?? '-') !== '-' && ($row['keluar_actual'] ?? '') !== ($row['keluar'] ?? ''))
actual: {{ $row['keluar_actual'] }}@endif
{{ $row['ovt_after'] ?? '-' }} {{ $fmt($row['total_jam_masuk']) }}@if (!empty($row['jam_aktual_note']))
{{ $row['jam_aktual_note'] }}@endif
{{ $fmt($row['std_jam_normal']) }} {{ $fmt($row['jam_normal']) }}{{ $fmt($row['ot_dynamic'][$otCol['key']] ?? null) }}{{ $row['remark'] }}
@foreach (($sheet['ot_columns'] ?? []) as $otCol)@endforeach@foreach (($sheet['ot_columns'] ?? []) as $otCol)@endforeach@foreach (($sheet['ot_columns'] ?? []) as $otCol)@endforeach@foreach (($sheet['ot_columns'] ?? []) as $otCol)@endforeach@foreach (($sheet['ot_columns'] ?? []) as $otCol)@endforeach
RINCIAN CUTI PEGAWAI : HAK Cuti : {{ $sheet['leave']['hak_cuti'] }}     Cuti Bersama : {{ $sheet['leave']['cuti_bersama'] }}     Cuti Pribadi : {{ $sheet['leave']['cuti_pribadi'] }}     Sisa Cuti : {{ $sheet['leave']['sisa_cuti'] }} @if (!empty($sheet['leave']['note']))     {{ $sheet['leave']['note'] }} @endif
Printed {{ $generated_at }} | {{ $profil->code ?? '-' }} - {{ $profil->name ?? '-' }} | {{ $date_from }} s/d {{ $date_to }}
@endforeach