@extends('layouts.app') @section('customcss') @endsection @section('content')

{{ $fund->name }}

{{ $fund->description }}

Custodian: {{ $fund->custodian->name }}
Add Transaction @can('edit-petty-cash-fund') Edit Fund @endcan @can('reconcile-petty-cash') Reconcile @endcan
Back
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Current Balance

UGX {{ number_format($fund->current_balance, 2) }}

@if($fund->needsReconciliation()) Needs reconciliation @endif
Initial Amount

UGX {{ number_format($fund->initial_amount, 2) }}

Total Expenses

UGX {{ number_format($fund->total_expenses, 2) }}

{{ $fund->expenses()->count() }} transactions
Replenishments

UGX {{ number_format($fund->total_replenishments, 2) }}

{{ $fund->replenishments()->count() }} transactions
Net Change: {{ $fund->net_change >= 0 ? '+' : '' }}UGX {{ number_format($fund->net_change, 2) }}
Pending Approvals: {{ $fund->pending_count }}
Approved: {{ $fund->approved_count }}
Utilization: {{ number_format($fund->utilization_percentage, 1) }}%
Transactions
# Date Type Description Expense Item Supplier Amount Balance After Status Created By Actions
@endsection @section('customjs') @endsection