Collect Payment

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • - {{ $error }}
  • @endforeach
@endif
@csrf @if (isset($summary)) @method('PUT') @endif

Driver Payment Invoice

Driver Name: {{ $driverName }}

Exchange Rate: 1 USD = {{ number_format($exchangeRate, 0) }} KHR

Invoice No: {{ $invoiceNumber }}

Print Date: {{ now()->format('d-m-Y H:i:s') }}

@php // Initialize Totals $totalDriverUsd = 0; $totalDriverKhr = 0; $totalShopUsd = 0; $totalShopKhr = 0; $totalCompanyUsd = 0; $totalCompanyKhr = 0; $totalDeliveryFee = 0; $totalAmountUsd = 0; $totalAmountKhr = 0; $totalAnyExtraFee = 0; // Initialize final payment amounts $totalDriverPayUsd = 0; $totalDriverPayKhr = 0; @endphp @foreach($deliveries as $index => $delivery)
No Customer Address Phone Entry Completed COD Driver Shop Company ExtraFee Fee Total(USD) Total(KHR) Status Action
USD KHR USD KHR USD KHR