| Buyer Name: | {{ $buyer->company_name }} |
| Report Date: | {{ date('d/m/Y H:i') }} |
| Total Payments In: | ${{ number_format($ledger->total_in, 2) }} |
| Total Allocations Out: | ${{ number_format($ledger->total_out, 2) }} |
| Current Balance: | ${{ number_format($ledger->current_balance, 2) }} |
| Date | Reference | Order | Amount | Allocated | Balance | Status |
|---|---|---|---|---|---|---|
| {{ $payment->payment_date->format('d/m/Y') }} | {{ $payment->reference_number }} | {{ $payment->orderConfirmation->order_number ?? 'N/A' }} | ${{ number_format($payment->amount, 2) }} | ${{ number_format($payment->allocated_amount, 2) }} | ${{ number_format($payment->remaining_amount, 2) }} | {{ ucfirst($payment->status) }} |
| Date | Reference | Factory | Order | Amount | Purpose |
|---|---|---|---|---|---|
| {{ $allocation->allocation_date->format('d/m/Y') }} | {{ $allocation->reference_number }} | {{ $allocation->factory->name }} | {{ $allocation->orderConfirmation->order_number }} | ${{ number_format($allocation->amount, 2) }} | {{ $allocation->purpose }} |