@php $gtotalorder = $gtotalamount = 0 ; @endphp @if(!empty($orders)) @foreach($orders as $key => $order) @php $gtotalorder = $gtotalorder + $order['totalorder']; $gtotalamount = $gtotalamount + $order['totalamount']; @endphp @endforeach @endif
Customer Name Mobile Number Store Registration Date Total Visit Total Amount SPS Plan Discount (%) Wallet 200 Voucher 250 Voucher 400 Voucher 450 Voucher Last Bill Last Visit Date Days Before
{{$order['customer_name']}} {{$order['mobile_number']}} {{$order['store']}} {{$order['plan_date']}} {{$order['totalorder']}} {{$order['totalamount']}} {{$order['plan_name']}} {{$order['discount_sal']}} {{round($order['totalBalnce'])}} {{$order['coupon_200']}} {{$order['coupon_250']}} {{$order['coupon_400']}} {{$order['coupon_450']}} {{$order['lastBill']}} {{$order['lastvisite']}} {{$order['days']}}
{{$gtotalorder}} {{$gtotalamount}}