@extends('layouts.admin') @section('content')
@include('admin.payment.receive.menu')
@php $total=0; @endphp @foreach ($payments as $user=>$ps) @foreach ($ps as $payment) @php $total=$total+$payment->amount @endphp @endforeach @endforeach
Date/Time Received From Amount Received By
{{$user_names[$user]}}
{{$payment->created_at->format('d-M-Y')}}
{{$payment->created_at->format('h:i:s A')}}
{{$payment->pppUser['name']}}
{{$payment->pppUser['comments']}}
{{$payment->amount}} {{$payment->user->first_name}} {{$payment->user->last_name}}
Total Collection of this month : Tk. {{number_format($total,2)}}
@endsection