@extends('admin.layouts.dashboard')
@section('title', 'Member Due List')
@section('content')
@php
$ttl_subs = 0;
$ttl_disc = 0;
$ttl_paid = 0;
$ttl_due = 0;
$rowCount = count($transaction_details);
@endphp
| SL | Name | Contact | Admission | Discount | Paid | Due |
|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ ucwords($val->fullname) }} | {{ $val->phone_number ?: '—' }} | {{ $val->amt_total }} | {{ $val->dis_total }} | {{ $val->ttl_paid }} | {{ $val->ttl_due }} |
| Total | {{ number_format($ttl_subs, 2) }} | {{ number_format($ttl_disc, 2) }} | {{ number_format($ttl_paid, 2) }} | {{ number_format($ttl_due, 2) }} | ||