@forelse ($batchSales as $b) @empty @endforelse
Batch Item Qty Sold Net Sales
{{ $b['batch'] }} {{ $b['item'] }} {{ $b['qty'] }} Rs {{ number_format($b['net'], 2) }}
No sales yet
@foreach ($repSales as $r) @endforeach
Rep Territory Invoices Net Sales
{{ $r['rep']->name }} {{ $r['rep']->territory }} {{ $r['count'] }} Rs {{ number_format($r['net'], 2) }}
@foreach ($custSales as $c) @endforeach
Customer Invoices Net Sales Outstanding
{{ $c['customer']->name }} {{ $c['count'] }} Rs {{ number_format($c['net'], 2) }} Rs {{ number_format($c['outstanding'], 2) }}