@extends('layouts.app') @section('title', 'Expenses') @section('content')
Electricity, salaries, supplies and more — routed through manager approval.
| Date | Category | Payee | Amount | Method | Status | Logged by | |
|---|---|---|---|---|---|---|---|
| {{ $expense->expense_date->format('d M Y') }} | {{ $expense->category->name }} | {{ $expense->payee ?? '—' }} | {{ number_format($expense->amount, 2) }} | {{ $expense->paymentMethod->name ?? ucfirst($expense->payment_method) }} | {{ $expense->user->name }} |
@if ($expense->status->value === 'pending' && auth()->user()->can('expenses.approve'))
|
|
| No expenses recorded. | |||||||