@extends('layouts.app') @section('title','Expenditures') @section('page-title','Expenditures') @section('content')
{{ $expenditures->total() }} records Total: GH₵ {{ number_format($totalShown,2) }}
@forelse($expenditures as $exp) @empty @endforelse
DateProjectDescriptionCategoryQtyAmountPaymentStatus
{{ $exp->date->format('d/m/Y') }} {{ $exp->project->name ?? '-' }} {{ Str::limit($exp->description,45) }} {{ $exp->category->code??'-' }} {{ $exp->quantity ? $exp->quantity.' '.$exp->unit : '-' }} GH₵ {{ number_format($exp->amount,2) }} {{ $exp->payment_mode }} {{ $exp->is_paid?'Paid':'Pending' }}
No expenditures found.
@endsection