@push('header') @endpush

Moon Traders
Supplier Ledger — Customer Wise
{{ $supplier->supplier_name }} — {{ $employee->name }}
@if ($dateFrom && $dateTo) For the period {{ \Carbon\Carbon::parse($dateFrom)->format('d-M-Y') }} to {{ \Carbon\Carbon::parse($dateTo)->format('d-M-Y') }}
@endif Printed by: {{ auth()->user()->name }} | {{ now()->format('d-M-Y h:i A') }}

@forelse ($customerRows as $index => $row) @empty @endforelse
# Code Customer Name City Opening Bal. Credit Sales Recoveries Closing Bal. Ledger
{{ $index + 1 }} {{ $row->customer_code }} {{ $row->customer_name }} {{ $row->city ?? '-' }} {{ number_format($row->opening_balance, 2) }} {{ number_format($row->period_debit, 2) }} {{ number_format($row->period_credit, 2) }} {{ number_format($row->closing_balance, 2) }}
No customers found.
Grand Total ({{ $customerRows->count() }} customers) {{ number_format($totals['opening_balance'], 2) }} {{ number_format($totals['period_debit'], 2) }} {{ number_format($totals['period_credit'], 2) }} {{ number_format($totals['closing_balance'], 2) }}