Collect Payment

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

Branch: {{ $branch->name }} | {{ $branch->phone }}

Address: {{ $branch->address }}

Shop Payment Invoice

Shop Name: {{ $customer->customer_name }}

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; $totalPaidWithShopUsd = 0; $totalPaidWithShopKhr = 0; $totalPaidAnyExtraFee = 0; $totalAnyExtraFee = 0; $totalAnyExtraFeeDriver = 0; $totalAnyExtraFeeCompany = 0; @endphp @foreach($deliveries as $index => $delivery)
No Address Phone Entry Completed Total (USD) Total (KHR) COD Shop Other Fee Delivery Fee Status Note
USD KHR USD KHR