@extends('layouts.main_without_top_button') @section('title') {{ $master_service->description }} @stop @section('navigation') @stop @section('contentinner')
{{-- @include('routes.includes.profile') --}}
Description: {{ $master_service->description }}
Service frequency: @if(isset($master_service->service_frequency)) {{ $master_service->service_frequency .' '. $master_service->service_frequency_type }} / @endif @if(isset($master_service->service_frequency_odometer)) {{ $master_service->service_frequency_odometer .' km' }} @endif
Service remainder: @if(isset($master_service->create_service)) {{ $master_service->create_service .' '. $master_service->create_remainder_type }} / @endif @if(isset($master_service->create_remainder_odometer)) {{ $master_service->create_remainder_odometer .' km' }} @endif
@forelse($master_service->masterServiceLists as $x => $msl) @if(isset($msl->service->id)) {{--*/ $y = 1 /*--}} @forelse($tm_categories as $tmc) @if($msl->service->truck_maintenance_category_id == $tmc->id) @if($y == 1) @endif @endif @empty @endforelse @endif @empty @endforelse
ASSOCIATED SERVICES
{{ $master_service->masterServiceLists }}
{{ $msl }}
{{ $tmc->name }}
{{ ++$y }}{{ $msl->service->name }}
No associated service found
@stop