@php $pl = $data['profit_loss']; @endphp @if($pl['empty'])
Revenue
Accrual detail: {{ \App\Support\Format::mwkDecimal($pl['revenue_accrual_detail']) }} · Cash detail: {{ \App\Support\Format::mwkDecimal($pl['revenue_cash_detail']) }}
Cost of sales
Gross profit
{{ \App\Support\Format::mwkDecimal($pl['gross_profit']) }}
Margin {{ number_format($pl['gross_margin_pct'], 2) }}%
Operating expenses
Expense transactions: {{ \App\Support\Format::mwkDecimal($pl['operating_expenses_transactions']) }} @if($pl['payroll_added_accrual'] > 0) · Payroll (accrual): {{ \App\Support\Format::mwkDecimal($pl['payroll_added_accrual']) }} @endif
Net profit
{{ \App\Support\Format::mwkDecimal($pl['net_profit']) }}
Net margin {{ number_format($pl['net_margin_pct'], 2) }}%