@extends('admin.includes.base') @section('content')
@include('common.notify')
View Employee Reports
@if(Request::has('employee') && Request::has('daterange')) @if(!empty($reports))
@foreach($reports as $index => $receipt) @if(!empty($receipt->donorInfo)) @else @endif @if($receipt->batch_status=='Closed') @else @endif @endforeach
# Receipt ID Donor Name Donor Contact Amount Payment Method Payment Status Collected By Batch Status Batch Closed By Batch Closed On Donated On
{{ $index + 1 }} {{ $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 }} @if($receipt->batch_status=='Open') Open @else Closed @endif{{ $receipt->batchAdminInfo->name }} {{ date('d/m/Y',strtotime($receipt->batch_updated_on)) }}- -{{ date('d/m/Y',strtotime($receipt->created_at)) }}
@endif @endif
@endsection