Commission Agent Report
@if(!empty($location_details))Location: {{ $location_details->name }}
@endif @if(!empty($start_date) && !empty($end_date))From {{ @format_date($start_date) }} to {{ @format_date($end_date) }}
@endif| Item Name | ItemCode | Sold Qty | Total Cost | Cost Code | Net Sale | Profit OR Loss |
|---|---|---|---|---|---|---|
| Subtotal ({{ $current_agent }}): | {{ @num_format($agent_qty) }} | {{ @num_format($agent_cost) }} | {{ @num_format($agent_sale) }} | {{ @num_format($agent_profit) }} | ||
| {{ $data->agent_name }} | ||||||
| {{ $data->product_name }} | {{ $data->sku }} | {{ @num_format($data->quantity) }} | {{ @num_format($data->total_cost) }} | {{ $data->cost_code }} | {{ @num_format($data->net_sale) }} | @php $p_class = $profit >= 0 ? 'profit-pos' : 'profit-neg'; @endphp{{ @num_format($profit) }} |
| Subtotal ({{ $current_agent }}): | {{ @num_format($agent_qty) }} | {{ @num_format($agent_cost) }} | {{ @num_format($agent_sale) }} | {{ @num_format($agent_profit) }} | ||
| GRAND TOTAL: | {{ @num_format($total_qty) }} | {{ @num_format($total_cost) }} | {{ @num_format($total_sale) }} | {{ @num_format($total_profit) }} | ||