@extends('layouts.main') @section('title', 'Expenses') @section('content')
| Date | Product | Category | Description | Amount | Status | Actions |
|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($expense->expense_date)->format('Y-m-d') }} | {{ $expense->product->name ?? '-' }} | {{ $expense->category }} | {{ $expense->description ?? '-' }} | ${{ number_format($expense->amount, 2) }} | @if($expense->status === 'paid') Paid @else Unpaid @endif | Edit |
| No expenses found | ||||||