@extends('freight-client.layouts.app') @section('title', $load->exists ? 'Edit Load' : 'Post a Load') @section('head') @endsection @section('content') @php $isEdit = $load->exists; @endphp

{{ $isEdit ? 'Edit Load ' . $load->reference_no : 'Post a New Load' }}

{{-- Stepper --}}
1 Load Details
2 Route
3 Review
@csrf @if($isEdit) @method('PUT') @endif {{-- ════════ STEP 1 — LOAD DETAILS ════════ --}}

Shipment Details

@php $types = [ ['name' => 'Dry Van', 'icon' => 'fa-truck'], ['name' => 'Flatbed', 'icon' => 'fa-truck-pickup'], ['name' => 'Reefer', 'icon' => 'fa-snowflake'], ['name' => 'Step Deck', 'icon' => 'fa-layer-group'], ['name' => 'Box Truck', 'icon' => 'fa-truck-moving'], ['name' => 'Tanker', 'icon' => 'fa-gas-pump'], ['name' => 'Lowboy', 'icon' => 'fa-trailer'], ['name' => 'Hotshot', 'icon' => 'fa-bolt'], ['name' => 'Power Only', 'icon' => 'fa-truck-front'], ['name' => 'Other', 'icon' => 'fa-ellipsis'], ]; $selectedType = old('equipment_type', $load->equipment_type); @endphp
@foreach($types as $t) @endforeach
{{-- ════════ STEP 2 — ROUTE (form left, map right) ════════ --}} {{-- ════════ STEP 3 — REVIEW & NOTES ════════ --}} {{-- ════════ NAV ════════ --}}
@endsection @section('scripts') @endsection