@extends('backend.layouts.app') @section('content')
Collection of Subscription (Online) for the Date From {{ request()->from_date?request()->from_date:date('Y-m-d') }} To {{ request()->to_date?request()->to_date:date('Y-m-d') }}
@php $serial = 1; @endphp @foreach($collections as $collection) @php $total_monthly_sub = 0; $total_dependent = 0; $total_locker_fee = 0; $total_collection = 0; $total_dues = 0; $total_grand = 0; @endphp @if(count($collection['data']) > 0) @foreach($collection['data'] as $payment) @php $total_collection += $payment->total_paid; $serial++; @endphp @endforeach @endif @endforeach
Sr. No. Receipt No. Mem No Mem Name Months Total Payment Reference Action
{{ $collection['mode'] }}
{{ $serial }} {{ sprintf('%06d', $payment->id) }} {{ $payment->member->membership_no }} {{ $payment->member->full_name }} {{getRanges($payment->time_range)}} {{ number_format($payment->total_paid, 2) }} {{ $payment->payment_reference.", Tracking ID: ".$payment->tracking_id }}
Total {{ number_format($total_collection, 2) }}
@endsection @section('before_body_end') @endsection