@extends('layouts.main') @section('contentinner') @section('title') Trucks Managements @stop @section('navigation') @stop @section('msghead_menu')
  • EXPENSES PAYMENTS  ASSIGN VEHICLE TIRE(s)
  • @stop {{--*/ $mounted_tires = 0 /*--}} {{--*/ $i = 1 /*--}} @foreach($vehicles as $index=>$vehicle) @if(sizeof($vehicle->mounted_tires)>0) {{--*/ $mounted_tires +=$vehicle->mounted_tires->count() /*--}} @endif @endforeach
    S/N Registration No Driver Mounted tires
    {{++$index}} {{$vehicle->registration_number}} ({{$vehicle->type}}) @if($vehicle->type== 'TRUCK'){{$vehicle->driver_name}} @endif {{sizeof($vehicle->mounted_tires)}}
    Total Tire Mounted {{number_format($mounted_tires)}}
    @stop