@php $gross_collection = 0; $total_commission = 0; $net_collection = 0; $total_trips = 0; $total_passenger = 0; $avarage_occupancy = 0; $total_luggages = 0; $total_expense = 0; $total_comission = 0; @endphp @foreach ($sales_data as $x => $route) @php($cal = round(($route['passenger_full_fare']/(($route['all_seats'] > 0)?$route['all_seats']:1))*100, 1)) @endforeach
S/N ROUTE TRIPS PASSENGERS % OCCUPANCY ROUTE FARE(TZS) MOBILE COLLECTION(TZS) GROSS COLLECTION(TZS) AGENT COMMISSION
{{$x+1}} {{$route['route_id']}}/{{$route['route']}} {{$route['trips']}} {{$route['total_passengers']}} {{$cal}}% {{number_format($route['fare'])}} {{number_format($route['mobile_sales'])}} {{number_format($route['sales'])}} {{number_format($route['commission'])}}

ONLINE :

Mpesa = 0/-
Tigopesa = 0/-
AirtelMoney = 0/-
Halopesa = 0/-

CASH :

BANK :

Powered By: TiketiGala - https://www.aboodbus.co.tz