Ledger History
@php $i = 0; $j = 0; @endphp @foreach($fund_list as $row) @if(Auth::user()->user_type>2) @endif @if(Auth::user()->user_type<3) @endif @php if($row->t_type=="CR"){ $i = $i+$row->amount; } else{ $j = $j+$row->amount; } @endphp @php if(Auth::user()->user_type>2){ @endphp @php } else{ echo''; } @endphp @php if(strlen($row->std_id)>1){ echo''; } else{ echo''; } @endphp @php if(Auth::user()->user_type>2 || $row->service_id<1){ @endphp @php } else{ echo''; } @endphp @endforeach
UserId User Name Amount Remark T Type FundType ServiceType Student Details Service ID Created At
{{$row->userID}} {{$row->first_name}} {{$row->last_name}} {{$row->amount}} {{$row->remark}}{{$row->t_type}} {{$row->credit_type}}'.$row->service_cat.'Student Details'.$row->service_id.'{{$row->created_at}}
Total Transactions during this period CR {{$i}} DR {{$j}}