@if(Request::has('donorName'))
| # |
Receipt ID |
Donor Name |
Donor Contact |
Amount |
Payment Method |
Payment Status |
Collected By |
Batch Status |
Donated On |
Actions |
@foreach($receipts as $index => $receipt)
| {{ $index + 1 }} |
{{ $receipt->receipt_no }} |
@if(!empty($receipt->donorInfo))
{{ $receipt->donorInfo->first_name.' '.$receipt->donorInfo->last_name }} |
{{ $receipt->donorInfo->contact }} |
@else
- |
- |
@endif
$ {{ $receipt->amount }} |
{{ $receipt->payment_mode }} |
@if($receipt->payment_status=='Paid') Paid
@else Not Paid
@endif |
{{ $receipt->adminInfo->name }} |
@if($receipt->batch_status=='Open') Open
@else Closed
@endif |
{{ date('d/m/Y',strtotime($receipt->created_at)) }} |
|
@endforeach
@endif