@extends('layouts.app') @section('title', 'Finance Statistics') @section('page_title', 'Finance Statistics') @section('content')
{{ $stats['income']['count'] }} entries
{{ $stats['fixed_cost']['count'] + $stats['variable_cost']['count'] }} entries
{{ $title }}
Total
{{ number_format($stats['income']['total'], 2) }}
Average per Entry
{{ number_format($stats['income']['average'], 2) }}
Number of Entries
{{ $stats['income']['count'] }}
Total
{{ number_format($stats['fixed_cost']['total'], 2) }}
Average per Entry
{{ number_format($stats['fixed_cost']['average'], 2) }}
Number of Entries
{{ $stats['fixed_cost']['count'] }}
Total
{{ number_format($stats['variable_cost']['total'], 2) }}
Average per Entry
{{ number_format($stats['variable_cost']['average'], 2) }}
Number of Entries
{{ $stats['variable_cost']['count'] }}
Expenses that appear multiple times in this period
| Description | Category | Occurrences | Average | Total |
|---|---|---|---|---|
| {{ $expense['description'] }} | {{ $expense['category'] === 'fixed_cost' ? 'Fixed' : 'Variable' }} | {{ $expense['occurrences'] }}x | {{ number_format($expense['average'], 2) }} | {{ number_format($expense['total'], 2) }} |