Summary Cost No Job

Periode: {{ $dateFrom ?: '-' }} s/d {{ $dateTo ?: '-' }}
Generated: {{ $generatedAt }}
Total No Job: {{ $totalJobs }} Total Jam: {{ number_format((float) $totalHours, 2, '.', ',') }} Total Menit: {{ number_format((int) $totalMinutes, 0, ',', '.') }} Total Cost: Rp {{ number_format((float) $totalCost, 2, ',', '.') }}
@forelse($rows as $row) @if(!empty($row['details'])) @endif @empty @endforelse @if(count($rows)) @endif
No Job Nama Total Jam Total Menit Rate/Jam Total Cost Sumber
{{ $row['job_code'] ?? '-' }} {{ $row['job_name'] ?? '-' }} {{ number_format((float) ($row['hours_total'] ?? 0), 2, '.', ',') }} {{ number_format((int) ($row['minutes_total'] ?? 0), 0, ',', '.') }} Rp {{ number_format((float) ($row['rate_per_hour'] ?? 0), 2, ',', '.') }} Rp {{ number_format((float) ($row['cost_total'] ?? 0), 2, ',', '.') }} {{ implode(', ', $row['sources'] ?? []) }}
@foreach(($row['details'] ?? []) as $detail) @endforeach
Karyawan Jam Menit Rate/Jam Total Cost Sumber Tanggal
{{ ($detail['employee_code'] ?? '-') . ' - ' . ($detail['employee_name'] ?? '-') }} {{ number_format((float) ($detail['hours_total'] ?? 0), 2, '.', ',') }} {{ number_format((int) ($detail['minutes_total'] ?? 0), 0, ',', '.') }} Rp {{ number_format((float) ($detail['rate_per_hour'] ?? 0), 2, ',', '.') }} Rp {{ number_format((float) ($detail['cost_total'] ?? 0), 2, ',', '.') }} {{ implode(', ', $detail['sources'] ?? []) }} {{ implode(', ', $detail['work_dates'] ?? []) }}
Belum ada data.
GRAND TOTAL {{ number_format((float) collect($rows)->sum('hours_total'), 2, '.', ',') }} {{ number_format((int) collect($rows)->sum('minutes_total'), 0, ',', '.') }} - Rp {{ number_format((float) collect($rows)->sum('cost_total'), 2, ',', '.') }} -