@extends('layouts.app') @section('title', 'Expense Report') @section('breadcrumb')
{{ \Carbon\Carbon::parse($startDate)->format('M d, Y') }} - {{ \Carbon\Carbon::parse($endDate)->format('M d, Y') }}
| Date | Title | Category | Payment | Amount |
|---|---|---|---|---|
| {{ $expense->expense_date?->format('M d, Y') }} |
{{ $expense->title }}
@if($expense->notes)
{{ Str::limit($expense->notes, 50) }}
@endif
|
@if($expense->category) {{ $expense->category->name }} @else - @endif | {{ ucfirst(str_replace('_', ' ', $expense->payment_method ?? 'cash')) }} | Rs. {{ number_format($expense->amount, 2) }} |
|
No expenses recorded |
||||