@include('pdf.partials.pdf-branding')

Daily Expense Report

Generated on: {{ now()->format('F j, Y g:i A') }}

@if($expenses->count() > 0) @php $grandTotal = 0; @endphp @foreach ($expenses as $key => $expense) @php $grandTotal += $expense->credit; @endphp @endforeach
# Description Product Amount (Rs) Day
{{ $key + 1 }} {{ $expense->account_description ?? 'N/A' }} {{ $expense->product ?? '' }} {{ number_format((float)$expense->credit) }} {{ $expense->created_at->format('l') }}
Total: Rs {{ number_format($grandTotal) }}
@else

No expenses found for this period.

@endif