Customer Code
{{ $customer->customer_code }}
Customer Name
{{ $customer->customer_name }}
@if($customer->business_name){{ $customer->business_name }}
@endifContact
{{ $customer->phone ?? 'N/A' }}
{{ $customer->city ?? '-' }}, {{ $customer->address ?? '' }}
Total Credit Sales
₨ {{ number_format($creditSales->sum('debit'), 2) }}
Current Outstanding
₨ {{ number_format($currentBalance, 2) }}
| Salesman | Total Amount | Number of Sales | % of Total |
|---|---|---|---|
|
{{ $breakdown->employee->full_name ?? 'Unknown'
}}
{{ $breakdown->employee->employee_code ?? '' }}
|
₨ {{ number_format($breakdown->total_amount, 2) }} | {{ $breakdown->sales_count }} | {{ $totalAmount > 0 ? number_format(($breakdown->total_amount / $totalAmount) * 100, 1) : 0 }}% |