OPERATIONAL EXPENSES of DRIVER {{ strtoupper($company_name) }}
PERIODE : {{ $period_start }} - {{ $period_end }}

@php $no = 1; @endphp @foreach($archive as $archives) @php $driver = App\Models\ServiceDriver::find($archives->service_drivers_id); $detail = App\Models\ServiceDetail::where('service_drivers_id', $archives->service_drivers_id)->first(); $sub_total_payment += $archives->total + $archives->agent_fee_value; @endphp @endforeach
NO NAME STARTING JOB HOLDER OPERATIONAL EXPENSES TOTAL AGENT FEE
{{ $percentages }}
TOTAL PAYMENT
TOLL FEE GASOLINE PARKING FEE OTHER PARKING FEE OTHER EXPENSE
1 2 3 4 5 6 7 8 9 10 11 12
{{ $no++ }} {{ $driver->full_name }} {{ date('d/m/Y', $detail->tanggal_masuk) }} {{ $archives->job_holder }} {{ number_format($archives->total_toll_fee) }} {{ number_format($archives->total_isi_bensin) }} {{ number_format($archives->total_parkir_umum) }} {{ number_format($archives->total_parkir_liar) }} {{ number_format($archives->total_lain_lain) }} {{ number_format($archives->total) }} {{ number_format($archives->agent_fee_value) }} {{ number_format($archives->total + $archives->agent_fee_value) }}
                       
                SUB TOTAL {{ number_format($sub_total) }} {{ number_format($agent_fee) }} {{ number_format($sub_total_payment) }}
                Pph 23 (2% x Agency Fee)     {{ number_format($total_pph23) }}
              TOTAL PAYMENT     {{ number_format($total_payment) }}