@extends('layouts.staff') @section('content') {{-- GREY BACKGROUND RECTANGLE --}}
{{-- === 1. SUCCESS MESSAGE === --}} @if(session('success'))

Success

{{ session('success') }}

@endif {{-- === 2. ERROR MESSAGE === --}} @if($errors->any())

Unable to Update Vehicle

Please check the following errors:

    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{-- UPDATE FORM --}}
@csrf @method('PUT') {{-- MAIN WHITE CARD --}}
{{-- === LEFT SIDE: VISUALS & SETTINGS === --}}

Edit
Vehicle.

Update vehicle details and documents.

{{-- 1. Main Image Upload --}}

{{-- 2. Category --}}
{{-- 3. Classification --}}
{{-- 4. Hourly Rates --}}

Hourly Rates (RM) *

@php $rates = $vehicle->hourly_rates ?? []; @endphp @foreach([1, 3, 5, 7, 9, 12, 24] as $h)
{{ $h }}H
@endforeach
{{-- Info Filler --}}

Fleet Standard

Rates are calculated automatically based on base price, but you can override specific tiers here.

{{-- === RIGHT SIDE: FORM DATA === --}}
{{-- 1. Technical Profile --}}

Technical Profile

{{-- Optional Fields --}}
{{-- 2. Ownership --}}

Ownership

{{-- === DOCUMENTS (Optional) === --}}
{{-- 1. Road Tax --}}

Road Tax

{{-- 2. Grant --}}

Grant

{{-- 3. Insurance --}}

Insurance

{{-- SUBMIT --}}
@endsection