Total Row {{ $list->count() ?? 0 }}

Total Amount {{ $list->sum('paid_amount') }} TK

Total Discount: {{ $list->sum('discount_amount') }}

@if (getBillingType() == 'day_to_day') @endif @if ($hideColumn == false) {{-- --}} @elseif ($hideColumn == true) @endif @php($totalDue = 0 ) @foreach ($list as $p) @if (getBillingType() == 'day_to_day') @endif @if ($hideColumn == false) {{-- --}} @elseif ($hideColumn == true) @endif @endforeach @if (getBillingType() == 'day_to_day') @endif @if ($hideColumn == false) {{-- --}} @elseif ($hideColumn == true) @endif
#id Date Type C Name usernameExpire DateReseller POP MR ID Entry BY Col By Package Description AmountDiscountDue
{{ $p->id }} {{ date('d-M-Y h:i:s A', strtotime($p->created_at)) }} {{ $p->income->head->name ?? '' }} {{ $p->clientsinfo->clients_name ?? '' }} {{ $p->clients->userid ?? '' }} {{$p->clients->expire_date}}{{ $p->clients->pop->reseller->name ?? '' }} {{ $p->clients->pop->popname ?? '' }} {{ $p->money_receipt_number }} {{ $p->user->name ?? '' }} {{ $p->employee->name ?? '' }} {{ $p->clients->packages->package_name ?? '' }} {{$p->description ?? ""}} {{ $p->paid_amount }} {{ $p->discount_amount }} {{ $p->clients->customerAccount->dueAmount > 0 ? $p->clients->customerAccount->dueAmount : 0 }} @php($totalDue+= ($p->clients->customerAccount->dueAmount > 0 ? $p->clients->customerAccount->dueAmount : 0) )