@extends('admin.includes.base') @push('styles') @endpush @section('content')
@include('common.notify')
@if(Auth::guard('admin')->user()->utype!='Staff')
View Employee Reports
@endif @if(Request::has('location'))

Donation Box Receipt Summary

Only cash collected in-store
Named Receipts
Total Amount

${{ number_format($named_sum, 2) }}

Receipts

{{ number_format($named_count) }}

Anonymous Receipts
Total Amount

${{ number_format($anonymous_sum, 2) }}

Receipts

{{ number_format($anonymous_count) }}

Cheque Receipts
Total Amount

${{ number_format($cheque_sum, 2) }}

Receipts

{{ number_format($cheque_count) }}

Total Receipts
Total Amount

{{ Request::get('location') }}

{{ $named_sum + $anonymous_sum + $cheque_sum }}

${{ number_format($named_sum + $anonymous_sum + $cheque_sum, 2) }}

Receipts

{{ number_format($named_count + $anonymous_count + $cheque_count) }}

@include('admin.accounting.partials.handover-view',['receipts'=>$named_reports])
@include('admin.accounting.partials.handover-view',['receipts'=>$anonymous_reports])
@include('admin.accounting.partials.handover-view',['receipts'=>$cheque_reports])
@if(Auth::guard('admin')->user()->utype=='Staff' || Auth::guard('admin')->user()->id=='1')
@endif

Handover Cash Acknowledgements

@foreach($acknowledgements as $index => $acknowledgement) @if($acknowledgement->batch_status=='Closed') @else @endif @endforeach
# Admin Amount Collected On Batch Status Batch Closed By Batch Closed On Action
{{ $index + 1 }} {{ getAdmin($acknowledgement->admin_id) }} $ {{ $acknowledgement->amount }} {{ date('d/m/Y',strtotime($acknowledgement->created_at)) }} @if($acknowledgement->batch_status=='Open') Open @else Closed @endif{{ $acknowledgement->batchAdminInfo->name }} {{ date('d/m/Y',strtotime($acknowledgement->batch_updated_on)) }}- - @if(Auth::guard('admin')->user()->utype=='Staff') Email @endif Print Download @if(Auth::guard('admin')->user()->utype=='Treasury') @if($acknowledgement->batch_status=='Open') Close Batch @endif @endif
@endif
@endsection @push('scripts') @endpush