@php $monthLabel = \Carbon\Carbon::create($filterYear, $filterMonth, 1)->format('F Y'); $money = fn($v) => number_format((float) $v, 2, '.', ','); @endphp {{-- Prospective Clients --}}
Total Prospective Amount For {{ $monthLabel }} R {{ $money($prospectiveClientTotal) }}
{{-- Quotations --}}
Quotation total For {{ $monthLabel }} R {{ $money($quoteMonthTotal) }}
Quotation profit For {{ $monthLabel }} R {{ $money($quoteMonthProfitTotal) }}
Open quotes For {{ $monthLabel }} {{ $openQuotesMonthCount }}
{{-- Income --}}
Invoice total For {{ $monthLabel }} R {{ $money($invoiceMonthTotal) }}
Invoice profit For {{ $monthLabel }} R {{ $money($invoiceMonthProfitTotal) }}
Open invoices For {{ $monthLabel }} {{ $invoiceMonthCount }}
{{-- Profit --}}
Profit Total For Franchise For {{ $monthLabel }} R {{ $money($franchiseProfitTotal) }}
Your Profit For {{ $monthLabel }} R {{ $money($myProfitTotal) }}
Royalty Cut For {{ $monthLabel }} R {{ $money($royaltyTotal) }}