@extends('template.layouts.template-base')
@section('title', 'Edit Driver')
@section('styles')
@endsection
@section('content')
@php
$selectedVehicleIds = collect(old('vehicle_ids', $assignedVehicleIds ?? []))
->filter(fn($id) => !is_null($id) && $id !== '')
->map(fn($id) => (string) $id)
->values()
->all();
@endphp
These roles has been deleted successfully.
The driver has been created successfully.