@extends('backend.layouts.app') @section('content')
| Sl | Type | Last Paid Date | Name | Reg. Fee | Last Paid Amt. | Next Payment Date | Next Charge Amt. | Action |
|---|---|---|---|---|---|---|---|---|
| Sl | Type | Last Paid Date | Name | Reg. Fee | Last Paid Amt. | Next Payment Date | Next Charge Amt. | Action |
| {{ ++$sl }} | @if($m->type == 1) Member @else Guest @endif | {{ date('Y-m-d', strtotime($m->swimmingMonthlyPayment->created_at)) }} | @if($m->member_name) {{ $m->member_name }} @else {{ $m->guest_name }} @endif | {{ App\SwimmingMonthlyServicePayment::wheremonthly_service_reg_id($m->id)->first()->grand_total }} | {{ $m->swimmingMonthlyPayment->paid_amount }} | {{ date('Y-m-d', strtotime('+1 month', strtotime($m->swimmingMonthlyPayment->created_at))) }} | {{ App\SwimmingMonthlyServicePayment::wheremonthly_service_reg_id($m->id)->first()->grand_total + $m->swimmingMonthlyPayment->due_amount }} |