@extends('admin.includes.base') @section('content')
@include('common.notify')
@if(Request::has('daterange')) @if(!empty($reports))
@php $total = '0.0'; @endphp @foreach($reports as $index => $receipt) @if(!empty($receipt->donorInfo)) @else @endif @php $total += $receipt->amount; @endphp @endforeach
Receipt ID Donor Name Donor Contact Amount Payment Method Payment Status Collected By Donated On
{{ $receipt->receipt_no }}{{ $receipt->donorInfo->first_name.' '.$receipt->donorInfo->last_name }} {{ $receipt->donorInfo->contact }}- -$ {{ $receipt->amount }} {{ $receipt->payment_mode }} @if($receipt->payment_status=='Paid') Paid @else Not Paid @endif {{ $receipt->adminInfo->name }} {{ date('d/m/Y',strtotime($receipt->created_at)) }}
Total $ {{ $total }}
@endif @endif
@endsection @push('scripts') @endpush