{{-- resources/views/dashboard/finance.blade.php --}} @extends('layouts.app') @section('title', 'Finance Dashboard') @section('content')
Track expenses, budgets, and cash flow at a glance.
{{ $k['label'] }}
@if (isset($k['suffix']) && $k['suffix'] === '%') {{ number_format($k['value'], 0) }}% @else ${{ number_format($k['value'], 2) }} @endif
Over budget by ${{ number_format($b['actual'] - $b['budget'], 0) }}
@endif| Date | Description | Category | Amount | |
|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($t['date'])->format('M d, Y') }} | {{ $t['desc'] }} | {{ $t['category'] }} | {{ $t['amount'] < 0 ? '-' : '+' }}${{ number_format(abs($t['amount']), 2) }} | Details |
{{ $b['name'] }}
Due {{ \Carbon\Carbon::parse($b['due'])->format('M d') }} · ${{ number_format($b['amount'], 2) }}