@extends('layouts.master') @section('title') @lang('translation.Vehicle') @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Vehicle @endslot @slot('title') Add Vehicle @endslot @endcomponent
Asset Details

{{ isset($vehicle->product) ? $vehicle->product->product_type :'' }}
{{ $vehicle->model_name }}
{{ $vehicle->registeration_number }}
{{ $vehicle->vin_number }}

Asset Documents

@if(isset($vehicle->images)) @foreach($vehicle->images as $images) {{ $images->saved_as }} @endforeach @endif
OEM/Dealer Details

{{ isset($vehicle->vendorOem) ? $vehicle->vendorOem->vendor_oem :'' }}
{{ isset($vehicle->vehicleDealer) ? $vehicle->vehicleDealer->vehicle_dealer :'', }}
{{ $vehicle->purchased_invoice_number }}
{{ $vehicle->purchased_date }}
Parts

@if(isset($vehicle->parts)) @if(isset($vehicle->parts[0])) @foreach($vehicle->parts as $parts)
{{ $parts->product->product_type }}
{{ $parts->part_id}}
@endforeach @else

No Parts Added yet

@endif @else

No Parts Added yet

@endif
Assign Location

{{ isset($vehicle->location) ? $vehicle->location->location :'', }}
{{ isset($vehicle->city) ? $vehicle->city->city :'', }}
{{ isset($vehicle->district) ? $vehicle->district->district :'', }}
{{ isset($vehicle->state) ? $vehicle->state->state :'', }}
{{ isset($vehicle->zone) ? $vehicle->zone->zone :'', }}
Service Maintenance Plan

@if(isset($vehicle->servicePlan)) @if(isset($vehicle->servicePlan[0])) @foreach($vehicle->servicePlan as $servicePlan)
{{ isset($servicePlan->maintenanceTyp) ? $servicePlan->maintenanceType->maintenance_type : '' }}
{{ isset($servicePlan->duration) ? $servicePlan->duration->duration : '' }}
{{ $servicePlan->maintenance_duration_date }}
{{ $servicePlan->maintenance_cost }}
{{ $servicePlan->service_reminder }}
{{ $servicePlan->service_reminder_date }}
@endforeach @else

No Service Maintenance Plan and schedule added yet

@endif @else

No Service Maintenance Plan and schedule added yet

@endif
Insurance Plan

@if(isset($vehicle->insurancePlan)) @if(isset($vehicle->insurancePlan[0])) @foreach($vehicle->insurancePlan as $insurancePlan)
{{ isset($insurancePlan->insuranceType) ? $servicePlan->insuranceType->insurance_type : '' }}
{{ isset($insurancePlan->duration) ? $insurancePlan->duration->duration : '' }}
{{ $insurancePlan->insurance_duration_date }}
{{ $insurancePlan->service_reminder }}
{{ $insurancePlan->service_reminder_date }}
@endforeach @else

No Insurance Plan an schedule added yet

@endif @else

No Insurance Plan an schedule added yet

@endif
@endsection @section('modal') @endsection @section('script') @endsection