Net Profit & Loss Statement

@foreach ($netPnl['sections'] as $section)

{{ $section['title'] }}

@foreach ($section['rows'] as $row) @php $style = $row['style'] ?? 'line'; $amount = (float) $row['amount']; $isNegative = $amount < 0; $displayAmount = $isNegative ? money(abs($amount)) : money($amount); @endphp
{{ $row['label'] }} @if ($isNegative) ({{ $displayAmount }}) @else {{ $displayAmount }} @endif
@endforeach
@endforeach

Opening stock as at {{ $netPnl['inventoryMeta']['opening_date'] }}, closing stock as at {{ $netPnl['inventoryMeta']['closing_date'] }}. {{ $netPnl['inventoryMeta']['method'] }}

Total Revenue

{{ money($netPnl['totalRevenue']) }}

Food Cost (COGS)

{{ money($netPnl['cogs']) }}

Net Profit

{{ money($netPnl['netProfit']) }}

Customer Credit Outstanding

{{ money($customerCredit) }}

All open credit sales (not period-limited)

Supplier Credit Outstanding

{{ money($supplierCredit) }}

All open purchase credit (not period-limited)