@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 --}}
Total Quotation Amount For {{ $monthLabel }} R {{ $money($quoteMonthTotal) }}
Total Quotation Royalty For {{ $monthLabel }} R {{ $money($quoteMonthProfitTotal) }}
Total Open quotes For {{ $monthLabel }} {{ $openQuotesMonthCount }}
{{-- Income --}}
Total Invoice Amount For {{ $monthLabel }} R {{ $money($invoiceMonthTotal) }}
Total Invoice Royalty For {{ $monthLabel }} R {{ $money($invoiceMonthProfitTotal) }}
Total Open invoices For {{ $monthLabel }} {{ $invoiceMonthCount }}
{{-- Expenses --}}
Expense Total For {{ $monthLabel }} R {{ $money($expenseMonthTotal) }}
Unpaid Expenses total For {{ $monthLabel }} R {{ $money($paidExpenseMonthTotal) }}
{{-- Application Fee --}}
Application Fee Total For {{ $monthLabel }} R {{ $money($applicationFeeTotal) }}
{{-- VAT --}}
VAT Total For {{ $monthLabel }} R {{ $money($vatMonthTotal) }}
Incoming VAT Total For {{ $monthLabel }} R {{ $money($vatMonthTotal) }}
Outgoing VAT Total For {{ $monthLabel }} R {{ $money($vatMonthTotal) }}
{{-- Profit --}}
Profit Total For {{ $monthLabel }} R {{ $money($profitTotal) }}