@extends('freight.layouts.app') @section('title', 'My Profile & Truck') @section('content')

My Profile & Truck Information

{{-- Personal / licensing info --}}

Personal & Licensing Information

@csrf
@if($driver->profile_image)
profile
@endif
{{-- Existing trucks --}}

My Trucks

@if($driver->vehicles->count()) @foreach($driver->vehicles as $v) @endforeach
TypeMake/ModelYearPlateVINCapacityInsurance
{{ $v->truck_type }} {{ trim($v->make.' '.$v->model) ?: '—' }} {{ $v->year ?: '—' }} {{ $v->plate_number ?: '—' }} {{ $v->vin ?: '—' }} {{ $v->capacity_weight ? $v->capacity_weight.' lbs' : '—' }} {{ $v->insurance_number ?: '—' }}
@csrf @method('DELETE')
@else

No trucks added yet — use the form below.

@endif
{{-- Add / edit truck --}}

Add Truck

@csrf
{{-- Change password --}}

Change Password

@csrf
@endsection