Total Row {{ $list->count() ?? 0 }}
Total Amount {{ $list->sum('paid_amount') }} TK
@can('company_commission')Total Company Miscellaneous Expense {{ $list->sum('paid_amount') - $list->sum('sub_manager_commission') - $list->sum('manager_commission') }} TK
@endcan @can('manager_commission')Total Manager Miscellaneous Expense {{ $list->sum('manager_commission') }} TK
@endcan @can('sub_manager_commission')Total Sub Manager Miscellaneous Expense {{ $list->sum('sub_manager_commission') }} TK
@endcanTotal Discount: {{ $list->sum('discount_amount') }}
#id | Date | Type | C Name | username | @if (getBillingType() == 'day_to_day')Expire Date | @endifReseller | POP | Area | MR ID | Entry BY | Col By | Package | Description | Amount | @can('company_commission')Company Miscellaneous Expense | @endcan @can('manager_commission')Manager Miscellaneous Expense | @endcan @can('sub_manager_commission')Sub Manager Miscellaneous Expense | @endcan @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->clients->clientsinfo->area ?? '' }} | {{ $p->money_receipt_number }} | {{ $p->user->name ?? '' }} | {{ $p->employee->name ?? '' }} | {{ $p->clients->packages->package_name ?? '' }} | {{$p->description ?? ""}} | {{ $p->paid_amount }} | @can('company_commission'){{ $p->paid_amount - $p->sub_manager_commission - $p->manager_commission }} | @endcan @can('manager_commission'){{ $p->manager_commission }} | @endcan @can('sub_manager_commission'){{ $p->sub_manager_commission }} | @endcan @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 | @can('company_commission'){{ $list->sum('paid_amount') - $list->sum('sub_manager_commission') - $list->sum('manager_commission') }} TK | @endcan @can('manager_commission'){{ $list->sum('manager_commission') }} TK | @endcan @can('sub_manager_commission'){{ $list->sum('sub_manager_commission') }} TK | @endcan @if ($hideColumn == false){{ $list->sum('discount_amount') }} TK | @elseif ($hideColumn == true) @endif