Profit & Loss
{{-- Header --}}

Profit & Loss Report

{{ $start->format('d M Y') }} — {{ $end->format('d M Y') }}
← Reports
{{-- Filter --}}
@foreach(['this_month'=>'This Month','last_month'=>'Last Month','this_year'=>'This Year'] as $k=>$l) {{ $l }} @endforeach
{{-- KPI cards --}} @php $margin = $revenue > 0 ? round($netProfit / $revenue * 100, 1) : 0; $profitClass = $netProfit >= 0 ? 'green' : 'red'; @endphp
Revenue
KSh {{ number_format($revenue, 0) }}
Total income
Expenses
KSh {{ number_format($expenses, 0) }}
Operating costs
Commissions
KSh {{ number_format($commissions, 0) }}
Staff payouts
Net Profit
KSh {{ number_format($netProfit, 0) }}
Margin: {{ $margin }}%
{{-- Charts row --}}
Revenue vs Costs
Cost Breakdown
{{-- P&L Statement --}}
Profit & Loss Statement
Gross Revenue KSh {{ number_format($revenue, 2) }}
— Operating Expenses KSh {{ number_format($expenses, 2) }}
— Commissions Paid KSh {{ number_format($commissions, 2) }}
Total Deductions KSh {{ number_format($expenses + $commissions, 2) }}
Net Profit / Loss KSh {{ number_format($netProfit, 2) }}
@push('scripts') @endpush