@extends('admin.layouts.app') @section('title', 'Edit Trips') @section('content')
ROUTE
  • @php $origin = \App\Models\Route::where(['id' => $route])->first()->start_point; $destination = \App\Models\Route::where(['id' => $route])->first()->end_point; @endphp {{\App\Models\Cities::where(['id' => $origin])->first()->city}} - {{\App\Models\Cities::where(['id' => $destination])->first()->city}}
    Class : @if(\App\Models\Route::where(['id' => $route])->first()->class == 1) VVIP @elseif(\App\Models\Route::where(['id' => $route])->first()->class == 2) VIP @elseif(\App\Models\Route::where(['id' => $route])->first()->class == 3) Luxury @elseif(\App\Models\Route::where(['id' => $route])->first()->class == 4) Semi-Luxury @else Ordinary @endif
@include('admin.includes.alerts')
@csrf
{{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}}
Cancel

@endsection