@php $pl = $data['profit_loss']; @endphp @if($pl['empty'])
No financial activity found for this period.
@else

Revenue

Recognized revenue{{ \App\Support\Format::mwkDecimal($pl['revenue']) }}

Accrual detail: {{ \App\Support\Format::mwkDecimal($pl['revenue_accrual_detail']) }} · Cash detail: {{ \App\Support\Format::mwkDecimal($pl['revenue_cash_detail']) }}

Cost of sales

Materials issued to projects{{ \App\Support\Format::mwkDecimal($pl['cost_of_sales']) }}

Gross profit

{{ \App\Support\Format::mwkDecimal($pl['gross_profit']) }}

Margin {{ number_format($pl['gross_margin_pct'], 2) }}%

Operating expenses

Finance expenses + accrual payroll{{ \App\Support\Format::mwkDecimal($pl['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) }}%

@endif @if(count($pl['warnings'])) @foreach($pl['warnings'] as $w)
{{ $w }}
@endforeach @endif