{{ $shopName }} — {{ ucfirst($tab) }} Report

{{ $from }} to {{ $to }}

@if($tab === 'sales') @foreach($data['orders'] as $o) @endforeach
OrderCustomerDateTotal
#{{ $o->id }}{{ $o->customer->name ?? '—' }}{{ $o->created_at->format('d M Y') }}₹{{ number_format($o->total_amount, 0) }}
@endif @if($tab === 'pipeline') @foreach($data['counts'] as $stage => $count) @endforeach
StageCount
{{ ucfirst($stage) }}{{ $count }}
@endif @if($tab === 'balances') @foreach($data['orders'] as $o) @endforeach
OrderCustomerBalance
#{{ $o->id }}{{ $o->customer->name ?? '—' }}₹{{ number_format($o->balance_amount, 0) }}
@endif @if($tab === 'salary') @foreach($data['payments'] as $p) @endforeach
StaffDateNotesAmount
{{ $p->staff->name ?? '—' }}{{ $p->paid_on->format('d M Y') }}{{ $p->notes ?? '—' }}₹{{ number_format($p->amount, 0) }}
@endif