@extends('layout.index') @section('title','Route Edit') @section('content') Edit Route Home Route Master Edit @if ($message = Session::get('success')) {{-- --}} {{ $message }} × @endif {{csrf_field()}} {{ method_field('PATCH') }} Route Name * @error('route_name'){{ $message }}@enderror 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 Ward --All Wards-- Route Type --Route Type-- @foreach($vehicles_subtype as $val) @php $selected = ''; @endphp @if($result->sub_type_id == $val->id) @php $selected ='selected'; @endphp @endif {{ $val->name }} @endforeach Cancel @endsection