Moon Traders
Supplier Ledger — Salesman Wise
{{ $supplier->supplier_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') }}
| # | Salesman | Customers | Opening Bal. | Credit Sales | Recoveries | Closing Bal. | Action |
|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $row->name }} | @if ($row->customer_count > 0) {{ $row->customer_count }} {{ $row->customer_count }} @else 0 @endif | {{ 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 salesmen found. | |||||||
| Grand Total ({{ $salesmenRows->count() }} salesman) | {{ number_format($totals['customer_count']) }} | {{ number_format($totals['opening_balance'], 2) }} | {{ number_format($totals['period_debit'], 2) }} | {{ number_format($totals['period_credit'], 2) }} | {{ number_format($totals['closing_balance'], 2) }} | ||