@extends('layouts.app') @section('content')
Manage petty cash funds, entries and top-ups.
Total Funds
{{ $allFunds->count() }}
{{ $activeFunds }} active · {{ $allFunds->count() - $activeFunds }} closed
Total Allocated
{{ $currentBusiness->currency_symbol }}{{ number_format($totalAllocated) }}
initial + top-ups
Total Spent
{{ $currentBusiness->currency_symbol }}{{ number_format($totalSpent) }}
{{ $totalAllocated > 0 ? round($totalSpent / $totalAllocated * 100) : 0 }}% of allocated
Total Balance
{{ $currentBusiness->currency_symbol }}{{ number_format($totalBalance) }}
{{ $totalAllocated > 0 ? round($totalBalance / $totalAllocated * 100) : 0 }}% remaining
Active Funds
{{ $activeFunds }}
{{ $allFunds->sum('entries_count') ?? 0 }} total entries
Create a new fund to start tracking petty cash.