@push('css') @endpush
Customer Payment Reports

@php $i=0;$sum=0; @endphp @foreach ($customer_payments as $customer_payment) @php $sum+=$customer_payment->amount; @endphp @endforeach
SL Date Customer Payment Method Amount
{{++$i}} {{$customer_payment->date}} {{$customer_payment->Contact->first_name}} {{$customer_payment->Contact->last_name}} {{$customer_payment->PaymentMethod->name}} {{$customer_payment->amount}}
Total
{{$sum}}
@push('scripts') @endpush