@extends('layouts.main') @section('title', 'Cash Collection Report') @section('content') @push('head') {{-- date --}} {{-- --}} @endpush

Cash Invoices
{{ number_format($total,2)}}

Total no of Transactions
{{number_format(count($data))}}

{{-- --}}

Filters:

@csrf
@if (auth()->user()->mda_id==0)
@else @endif

Cash Collection

@foreach ($data as $item) @endforeach
S/N Transaction Reference Payer Service(s) MDA Amount(₦) Payment Date Payment Method Invoice No. Created By Payment Status Actions
{{$item->transaction_reference}} {{$item->fname}} {{$item->service->name}} {{$item->mda->name}} {{$item->amount}} {{ date('Y-m-d', strtotime($item->paid_at)) }} {{$item->payment_type}} {{$item->invoice_no}} {{$item->creator->name}} {{$item->payment_status}} View
@push('script') {{-- --}} {{-- --}} {{-- --}} {{-- --}}