@extends('layout.index') @section('title','Vehicle Edit') @section('content') Edit Vehicle Home Vehicle Master Edit @if ($message = Session::get('success')) {{-- --}} {{ $message }} × @endif {{csrf_field()}} {{ method_field('PATCH') }} Pakage Select Pakage @foreach($Pakages as $val) @php $selected = ''; @endphp @if($result->Pakage_id == $val->id) @php $selected ='selected'; @endphp @endif {{ $val->Pakage_name }} @endforeach Vehicle Number * @error('vehicle_number'){{ $message }}@enderror Device Number * @error('device_number'){{ $message }}@enderror Sim Number * @error('sim_number'){{ $message }}@enderror RFID Number * @error('rfid_number'){{ $message }}@enderror Description Vehicle Type Select Vehicle Type @foreach($vehicle_types as $val) @php $selected = ''; @endphp @if($result->vehicle_type_id == $val->id) @php $selected ='selected'; @endphp @endif {{ $val->type }} @endforeach Cancel @endsection