{{-- Date Range Controls --}}

From

To

Apply
@foreach([ 'this_month' => 'This Month', 'last_month' => 'Last Month', 'q1' => 'Q1', 'q2' => 'Q2', 'q3' => 'Q3', 'q4' => 'Q4', 'this_year' => 'This Year', 'last_year' => 'Last Year', ] as $preset => $label) {{ $label }} @endforeach
@php $summary = $this->getSummary(); @endphp {{-- Summary Cards --}}

Total Expenses

${{ number_format($summary['totalPreTax'], 2) }}

Pre-tax total

Total Tax Paid

${{ number_format($summary['totalTax'], 2) }}

HST/GST input credits

Total Spent

${{ number_format($summary['totalSpent'], 2) }}

Including tax

Export CSV
{{-- Monthly Breakdown --}} Monthly Breakdown @if($summary['byMonth']->isEmpty())

No expenses in the selected date range.

@else @foreach($summary['byMonth'] as $row) @endforeach
Month Entries Pre-tax Tax Total
{{ $row['month'] }} {{ $row['entries'] }} ${{ number_format($row['pre_tax'], 2) }} ${{ number_format($row['tax'], 2) }} ${{ number_format($row['total'], 2) }}
@endif
{{-- Category Breakdown --}} Category Breakdown @if($summary['byCategory']->isEmpty())

No expenses in the selected date range.

@else @foreach($summary['byCategory'] as $row) @endforeach
Category Entries Pre-tax Tax Total
{{ $row['category'] }} {{ $row['entries'] }} ${{ number_format($row['pre_tax'], 2) }} ${{ number_format($row['tax'], 2) }} ${{ number_format($row['total'], 2) }}
@endif