ID | Date | Pop Name | User ID | Action | Amount | @can('show_reseller_cost_in_pop')Reseller Amount | @endcan @can('show_commission_sub_reseller_balance_log')Sub Manager Miscellaneous Expense | @endcanRemarks |
---|---|---|---|---|---|---|---|---|
{{ $r->id}} | {{date('d-M-Y h:i:sa',strtotime($r->created_at))}} | @foreach($pops as $pop) @if($pop->id == $r->sub_reseller_id) {{ $pop->popname}} @endif @endforeach | {{$r->client->userid ?? ''}} | {{$r->action ?? ''}} | @php $total+=$r->amount @endphp {{$r->amount}} | @can('show_reseller_cost_in_pop'){{$r->reseller_cost ?? 0}} | @endcan @can('show_commission_sub_reseller_balance_log'){{$r->comission ?? 0}} | @endcan{{ $r->remarks}} |
Total | {{ number_format($total, 2, '.', '') }} | @can('show_reseller_cost_in_pop'){{ number_format($list->sum('reseller_cost') , 2, '.', '') }} | @endcan @can('show_commission_sub_reseller_balance_log'){{ number_format($list->sum('comission') , 2, '.', '') }} | @endcan