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

{{ isset($battery->product) ? $battery->product->product_type :'' }}
{{ $battery->model_name }}
{{ $battery->battery_type }}
{{ $battery->vin_number }}

Asset Documents

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

{{ isset($battery->vendorOem) ? $battery->vendorOem->vendor_oem :'' }}
{{ isset($battery->batteryDealer) ? $battery->batteryDealer->battery_dealer :'', }}
{{ $battery->purchased_invoice_number }}
{{ $battery->purchased_date }}
Parts

@if(isset($battery->parts)) @if(isset($battery->parts[0])) @foreach($battery->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($battery->location) ? $battery->location->location :'', }}
{{ isset($battery->city) ? $battery->city->city :'', }}
{{ isset($battery->district) ? $battery->district->district :'', }}
{{ isset($battery->state) ? $battery->state->state :'', }}
{{ isset($battery->zone) ? $battery->zone->zone :'', }}
Service Maintenance Plan

@if(isset($battery->servicePlan)) @if(isset($battery->servicePlan[0])) @foreach($battery->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($battery->insurancePlan)) @if(isset($battery->insurancePlan[0])) @foreach($battery->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