Total spend (filtered range)
{{ number_format($grandTotal, 2) }}
By type
@if ($totalsByType->isEmpty())No expenses in this range yet.
@elseNo expenses yet.
Bottle purchases auto-log here, or add a manual entry.
| Date | Type | Amount | Spent by | Linked bottle | Description | Actions |
|---|---|---|---|---|---|---|
| {{ optional($expense->spent_at)->format('d M Y') }} | @if ($expense->type === \App\Enums\ExpenseType::BottlePurchase) Bottle purchase @else {{ $expense->type->label() }} @endif | {{ number_format((float) $expense->amount, 2) }} | {{ $expense->spentBy?->name ?? 'โ' }} | @if ($expense->bottleIntake) {{ $expense->bottleIntake->fragrance?->name }} #{{ $expense->bottleIntake->id }} @else โ @endif | {{ \Illuminate\Support\Str::limit($expense->description ?? 'โ', 60) }} |
Total spent by {{ $selectedUser->name }} (filtered range)
{{ number_format($totalSpentByUser, 2) }}