@extends('layouts.app') @section('title', 'Finance & Accounting') @section('content') @php $f = $filters ?? []; $qParams = request()->query(); $barColors = ['bg-blue-500','bg-violet-500','bg-amber-500','bg-emerald-500','bg-red-400','bg-slate-500']; @endphp
Finance & Accounting
Costs, expenses and accounting records
Ledger scoped to {{ $filteredProject->name }}
Clear project filterTotal Budget
{{ \App\Support\Format::mwkDecimal($totalBudget) }}
Total Invoiced
{{ \App\Support\Format::mwkDecimal($totalInvoiced) }}
Received
{{ \App\Support\Format::mwkDecimal($received) }}
Outstanding
{{ \App\Support\Format::mwkDecimal($outstanding) }}
Recent Transactions
No transactions found
Record your first transaction or adjust your filters.
| Date | Description | Project | Amount | Type |
|---|---|---|---|---|
| {{ $t->transaction_date?->format('M j, Y') }} | {{ \Illuminate\Support\Str::limit($t->description, 48) }} | @if($t->project_id) {{ $t->project?->name }} @else General @endif | {{ \App\Support\Format::mwkDecimal($amtDisp) }} | {{ $t->transaction_type }} |
Cost Breakdown
From expense transactions (manual + approved expenses)
@if(($costBreakdown['total'] ?? 0) <= 0)No approved expenses recorded yet.
@else{{ number_format($row['pct'], 1) }}% of total
Expenses Pending Approval
@if($pendingExpenses->isEmpty())| Date | Staff | Description | Project | Amount | Action |
|---|---|---|---|---|---|
| {{ $e->expense_date?->format('M j, Y') }} | {{ $e->employee?->name ?? $e->staff_name ?? 'Unknown' }} | {{ \Illuminate\Support\Str::limit($e->description, 40) }} | @if($e->project_id) {{ $e->project?->name }} @else — @endif | {{ \App\Support\Format::mwkDecimal($e->amount) }} |
|
Add Transaction
Submit Expense
Reject expense