Total Row {{ $list->count() ?? 0 }}
Total Amount {{ $list->sum('paid_amount') }} TK
Total Discount: {{ $list->sum('discount_amount') }}
#id | Date | Type | C Name | username | @if (getBillingType() == 'day_to_day')Expire Date | @endifReseller | POP | MR ID | Entry BY | Col By | Package | Description | Amount | @if ($hideColumn == false)Discount | {{--Due | --}} @elseif ($hideColumn == true) @endif
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $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 ?? '' }} | @if (getBillingType() == 'day_to_day'){{$p->clients->expire_date}} | @endif{{ $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 }} | @if ($hideColumn == false){{ $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) ) | --}} @elseif ($hideColumn == true) @endif
@if (getBillingType() == 'day_to_day') | @endif | Total: | {{ $list->sum('paid_amount') }} TK | @if ($hideColumn == false){{ $list->sum('discount_amount') }} TK | {{--{{ $totalDue }} TK | --}} @elseif ($hideColumn == true) @endif