@extends('layouts.adminapp') @section('content') @section('head',__('lng.Vehicle')) {{-- Vehicle --}}
@csrf @method('patch')

{{__('lng.EditVehicle')}}


@error('title')
{{ $message }}
@enderror
@if(isset($Vehicle->photo)) avatar @else defualt @endif
@php $DTs=0; if($Vehicle->lastreadingdate) { $DTs= date("Y-m-d",strtotime($Vehicle->lastreadingdate)); } @endphp
@php $DTs=0; if($Vehicle->nextoil_date) { $DTs= date("Y-m-d",strtotime($Vehicle->nextoil_date)); } @endphp
@php $DTs=0; if($Vehicle->nextservice_date) { $DTs= date("Y-m-d",strtotime($Vehicle->nextservice_date)); } @endphp

@endsection