@foreach($attendances as $attendance)
{{ \Carbon\Carbon::parse($attendance->date)->format('d/m/Y') }} -
{{ $attendance->workSession->title }}
Absensi: {{ \Carbon\Carbon::parse($attendance->time_in)->format('H:i') }}
|
Rp {{ number_format($attendance->workSession->wage, 0, ',', '.') }} |
@endforeach
@if($payroll->deductions > 0)
| Potongan Lain-lain |
- Rp {{ number_format($payroll->deductions, 0, ',', '.') }} |
@endif
| TOTAL DITERIMA ({{ $attendances->count() }} Sesi) |
Rp {{ number_format($payroll->total_salary, 0, ',', '.') }} |