@extends('master.authMaster') @section('content')

{{ ucfirst($donor->donor_name) }}

{{--
--}}

Transaction History

@php $totalPaid = 0; @endphp {{-- --}} @forelse($donorRecords as $record) @php $totalPaid += $record->paid_amount; @endphp {{-- --}} @empty @endforelse
Date Income Head Name Narration Received AmountType
{{ \Carbon\Carbon::parse($record->created_at)->format('d-m-Y') }} {{ $record->income_head_name }} {{ $record->transaction_narration }} ₹ {{ number_format($record->paid_amount, 2) }} {{ ucfirst($record->income_expense) }}
No records found
Grand Total ₹ {{ number_format($totalPaid, 2) }}
@endsection