UserId |
Aadhar No |
Ref ID |
Mobile |
T Type |
Amount |
RComm |
@if(Auth::user()->user_type>0)
DistComm |
@endif
@if(Auth::user()->user_type>1)
Master Comm |
@endif
@if(Auth::user()->user_type>3)
CComm |
@endif
Status |
Remarks |
Created At |
@php $total_amount = $total_r_com = $total_dist_com = $total_master_com = $total_c_com = 0; @endphp
@foreach($aeps_list as $row)
{{$row->userID}} |
{{$row->aadhar_no}} |
{{$row->ref_id}} |
{{$row->mobile_no}} |
{{$row->t_type}} |
{{$row->amount}} |
{{$row->r_com}} |
@if(Auth::user()->user_type>0)
{{$row->dist_com}} |
@endif
@if(Auth::user()->user_type>1)
{{$row->master_com}} |
@endif
@if(Auth::user()->user_type>3)
{{$row->c_com}} |
@endif
{{$row->status}} |
{{$row->remarks}} |
{{$row->created_at}} |
@php
$total_amount += $row->amount;
$total_r_com += $row->r_com;
$total_dist_com += $row->dist_com;
$total_master_com += $row->master_com;
$total_c_com += $row->c_com; ;
@endphp
@endforeach
Total |
{{number_format($total_amount, 2)}} |
{{number_format($total_r_com, 2)}} |
@if(Auth::user()->user_type>0)
{{number_format($total_dist_com, 2)}} |
@endif
@if(Auth::user()->user_type>1)
{{number_format($total_master_com, 2)}} |
@endif
@if(Auth::user()->user_type>3)
{{number_format($total_c_com, 2)}} |
@endif
|