{{$company->company_name}}

Address: {{$company->company_address}}, {{$company->city}}, Tanzania
Mob: {{$company->compny_phone}}
Email: {{$company->company_email}} @if(sizeof($vehicle)>0)

HATI YA MAKABIDHIANO YA TYRE

VEHICLE REG.: {{$vehicle->registration_number}} TRAILER REG.: {{$vehicle->trailerReg}} DATE:
@elseif($trailer)

LIST YA MATAILI KWENYE TRELA

TRELA REG.: {{$trailer->registration_number}} DATE:
@endif


@if(sizeof($vehicle)>0)
HOSE TIRES
POSITION TIRES
FRONT
LEFT (LF): @if(sizeof($vehicle->tires()) > 0) @if($vehicle->tires()->where('tire_position_id',1)->first()) {{$vehicle->tires()->where('tire_position_id',1)->first()->serial_number}} @endif @endif RIGHT (RF): @if(sizeof($vehicle->tires()) > 0) @if($vehicle->tires()->where('tire_position_id',2)->first()) {{$vehicle->tires()->where('tire_position_id',2)->first()->serial_number}} @endif @endif
DRIVE
OUTER LEFT 1 (2LO): @if(sizeof($vehicle->tires()) > 0) @if($vehicle->tires()->where('tire_position_id',3)->first()) {{$vehicle->tires()->where('tire_position_id',3)->first()->serial_number}} @endif @endif INNER LEFT 1 (2LI): @if(sizeof($vehicle->tires()) > 0) @if($vehicle->tires()->where('tire_position_id',4)->first()) {{$vehicle->tires()->where('tire_position_id',4)->first()->serial_number}} @endif @endif
INNER RIGHT 1 (2RI): @if(sizeof($vehicle->tires()) > 0) @if($vehicle->tires()->where('tire_position_id',5)->first()) {{$vehicle->tires()->where('tire_position_id',5)->first()->serial_number}} @endif @endif OUTER RIGHT 1 (2RO): @if(sizeof($vehicle->tires()) > 0) @if($vehicle->tires()->where('tire_position_id',6)->first()) {{$vehicle->tires()->where('tire_position_id',6)->first()->serial_number}} @endif @endif
OUTER LEFT 2 (3LO): @if(sizeof($vehicle->tires()) > 0) @if($vehicle->tires()->where('tire_position_id',7)->first()) {{$vehicle->tires()->where('tire_position_id',7)->first()->serial_number}} @endif @endif INNER LEFT 2 (3LI): @if(sizeof($vehicle->tires()) > 0) @if($vehicle->tires()->where('tire_position_id',8)->first()) {{$vehicle->tires()->where('tire_position_id',8)->first()->serial_number}} @endif @endif
INNER RIGHT 2 (3RI): @if(sizeof($vehicle->tires()) > 0) @if($vehicle->tires()->where('tire_position_id',9)->first()) {{$vehicle->tires()->where('tire_position_id',9)->first()->serial_number}} @endif @endif OUTER RIGHT 2 (3RO): @if(sizeof($vehicle->tires()) > 0) @if($vehicle->tires()->where('tire_position_id',10)->first()) {{$vehicle->tires()->where('tire_position_id',10)->first()->serial_number}} @endif @endif
SPARES
SPARE TIRE 1: @if(sizeof($vehicle->tires()) > 0) @if($vehicle->tires()->where('tire_position_id',11)->first()) {{$vehicle->tires()->where('tire_position_id',11)->first()->serial_number}} @endif @endif SPARE TIRE 2: @if(sizeof($vehicle->tires()) > 0) @if($vehicle->tires()->where('tire_position_id',12)->first()) {{$vehicle->tires()->where('tire_position_id',12)->first()->serial_number}} @endif @endif
@endif @if(sizeof($trailer)>0)
TRAILER TIRES
TIRES
LEFT INNER FRONT (LFI): @if(sizeof($trailer->tires()) > 0) @if($trailer->tires()->where('tire_position_id',13)->first()) {{$trailer->tires()->where('tire_position_id',13)->first()->serial_number}} @endif @endif LEFT OUTER FRONT (LFO): @if(sizeof($trailer->tires()) > 0) @if($trailer->tires()->where('tire_position_id',14)->first()) {{$trailer->tires()->where('tire_position_id',14)->first()->serial_number}} @endif @endif
RIGHT INNER FRONT (RFI): @if(sizeof($trailer->tires()) > 0) @if($trailer->tires()->where('tire_position_id',15)->first()) {{$trailer->tires()->where('tire_position_id',15)->first()->serial_number}} @endif @endif RIGHT OUTER FRONT (RFO): @if(sizeof($trailer->tires()) > 0) @if($trailer->tires()->where('tire_position_id',16)->first()) {{$trailer->tires()->where('tire_position_id',16)->first()->serial_number}} @endif @endif
LEFT INNER 1 (2LI): @if(sizeof($trailer->tires()) > 0) @if($trailer->tires()->where('tire_position_id',17)->first()) {{$trailer->tires()->where('tire_position_id',17)->first()->serial_number}} @endif @endif LEFT OUTER 1 (2LO): @if(sizeof($trailer->tires()) > 0) @if($trailer->tires()->where('tire_position_id',18)->first()) {{$trailer->tires()->where('tire_position_id',18)->first()->serial_number}} @endif @endif
RIGHT INNER 1 (2RI): @if(sizeof($trailer->tires()) > 0) @if($trailer->tires()->where('tire_position_id',19)->first()) {{$trailer->tires()->where('tire_position_id',19)->first()->serial_number}} @endif @endif RIGHT OUTER 1 (2RO): @if(sizeof($trailer->tires()) > 0) @if($trailer->tires()->where('tire_position_id',20)->first()) {{$trailer->tires()->where('tire_position_id',20)->first()->serial_number}} @endif @endif
LEFT INNER 2 (3LI): @if(sizeof($trailer->tires()) > 0) @if($trailer->tires()->where('tire_position_id',21)->first()) {{$trailer->tires()->where('tire_position_id',21)->first()->serial_number}} @endif @endif LEFT OUTER 2 (3LO): @if(sizeof($trailer->tires()) > 0) @if($trailer->tires()->where('tire_position_id',22)->first()) {{$trailer->tires()->where('tire_position_id',22)->first()->serial_number}} @endif @endif
RIGHT INNER 2 (3RI): @if(sizeof($trailer->tires()) > 0) @if($trailer->tires()->where('tire_position_id',23)->first()) {{$trailer->tires()->where('tire_position_id',23)->first()->serial_number}} @endif @endif RIGHT OUTER 2 (3RO): @if(sizeof($trailer->tires()) > 0) @if($trailer->tires()->where('tire_position_id',24)->first()) {{$trailer->tires()->where('tire_position_id',24)->first()->serial_number}} @endif @endif
@endif
@if(sizeof($vehicle)>0)

Mimi {{$vehicle->driverNames}} dereva wa gari NO. {{$vehicle->registration_number}} @if(sizeof($trailer)>0) Trela NO. {{$vehicle->trailer_reg}}@endif. Nimekubali ya kwamba nimekabidhiwa tairi zilizoandikwa hapo juu.

For Official Use
Name:                            Driver Name: {{$vehicle->driverName}}
Signature:                            Driver Signature:             
@endif