Profit & Loss Report

From {{ \Carbon\Carbon::parse($data['date_from'])->format('M d, Y') }} to {{ \Carbon\Carbon::parse($data['date_to'])->format('M d, Y') }}

@foreach($data['sections'] as $section) @if(!empty($section['accounts'])) @foreach($section['accounts'] as $account) @endforeach @else @endif @endforeach
{{ $section['title'] }}
{{ $section['total_label'] }} {{ number_format($section['total'], 2) }}
{{ $section['empty_message'] }}
{{ $data['is_profit'] ? 'Net Profit' : 'Net Loss' }} {{ number_format(abs($data['net_income']), 2) }}