{{ config('app.name') }}
Income Statement
For the period: {{ $startDate->format('F d, Y') }} to {{ $endDate->format('F d, Y') }}
Revenue
@php $totalRevenue = 0; @endphp
@foreach($revenues as $account)
@php
$balance = $accountBalances[$account->id] ?? 0;
$totalRevenue += $balance;
@endphp
| {{ $account->name }} |
{{ formatMoney($balance) }} |
@endforeach
| Total Revenue |
{{ formatMoney($totalRevenue) }} |
Expenses
@php $totalExpenses = 0; @endphp
@foreach($expenses as $account)
@php
$balance = $accountBalances[$account->id] ?? 0;
$totalExpenses += $balance;
@endphp
| {{ $account->name }} |
{{ formatMoney($balance) }} |
@endforeach
| Total Expenses |
{{ formatMoney($totalExpenses) }} |
NET INCOME
{{ formatMoney($totalRevenue - $totalExpenses) }}