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

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

Transaction History

@php $totalPaid = 0; @endphp @forelse($donorRecords as $record) @php $totalPaid += $record->paid_amount; @endphp @empty @endforelse
Transaction Date Head Group Head Name Narration Money Receipt No Received Amount
{{ \Carbon\Carbon::parse($record->transaction_date)->format('d-m-Y') }} {{ $record->head_group_name ?? '-' }} {{ $record->head_name ?? '-' }} {{ $record->transaction_narration ?? '-' }} {{ $record->money_receipt_no ?? '-' }} ₹ {{ number_format($record->paid_amount, 2) }}
No records found
Grand Total ₹ {{ number_format($totalPaid, 2) }}
@endsection