@can('routereports-list')
| Title |
Description |
| Name |
{{$route->name}} |
| Start Point |
{{$route->start_point}} |
| End Point |
{{$route->end_point}} |
| Distance |
{{$route->distance}} |
@php
$tickets = $routeReports->routereportsdaily($route->id);
$ticketmonthly = $routeReports->routereportsmonthly($route->id);
$routereportsyearly = $routeReports->routereportsyearly($route->id);
@endphp
| Title |
Description |
| Total ticket today |
{{$tickets['tickettoday']}} |
| Total collection today |
Rs. {{$tickets['totalcollection']}} |
| Total ticket this month |
{{$ticketmonthly['ticket']}} |
| Total collection this month |
Rs. {{$ticketmonthly['totalcollection']}} |
| Total ticket this year |
{{$routereportsyearly['ticket']}} |
| Total collection this year |
Rs. {{$routereportsyearly['totalcollection']}} |
| Months |
Total Collection |
@foreach($months as $key => $mnth)
@php
$monthlycollectionroute = $routeReports->routereportsmonthlybyname($route->id,$key);
@endphp
| {{$mnth}} |
Rs. {{$monthlycollectionroute['totalcollection']}} |
@endforeach
| S no. |
Bill Type |
Vehicle Type |
Vehicle No |
Amount |
route |
Date |
Time |
@if(count($savedbills)> 0)
@foreach ($savedbills as $key => $per)
| {{ ++$key }} |
{{$per->description}} |
|
|
Rs {{ $per->amount}} |
{{ $per->users->name}} |
|