@extends('admin.layouts.app') @section('title', 'Bus Details') @section('content')
@include('admin.includes.alerts')
BUS DETAILS
@csrf
{{-- --}}
    Status
    @foreach($busSeat as $i => $seat)
  • {{-- status == '1') checked=checked @endif >--}} status == 1 ? 'checked' : '' }}>
    {{--
    --}} {{--
    {{ $seat->naming }}
    --}} {{--
    --}}
  • @endforeach
    Seat Name
    @foreach($busSeat as $i => $seat)
  • @endforeach
    X
    @foreach($busSeat as $i => $seat)
  • @endforeach
    Y
    @foreach($busSeat as $i => $seat)
  • @endforeach
    POS
    @foreach($busSeat as $i => $seat)
  • office_visibilty == 1 ? 'checked' : '' }}>
  • @endforeach
    Public
    @foreach($busSeat as $i => $seat)
  • public_visibility == 1 ? 'checked' : '' }}>
  • @endforeach
    Kiosk
    @foreach($busSeat as $i => $seat)
  • kiosk_visibility == 1 ? 'checked' : '' }}>
  • @endforeach
    Services available in this Bus
    @foreach($preferences as $preference)
      name == ($service->service)) checked=checked @endif @endforeach>
      {{$preference->name}}
    @endforeach
{{$bus->manufacturer}} Upload Bus Image
    Routes Assigned to this bus
    @foreach($routes as $route)
      id == ($busRoute->route)) checked=checked @endif @endforeach>
      {{\App\Models\Cities::where(['id' => $route->start_point])->first()->city}} - {{\App\Models\Cities::where(['id' => $route->end_point])->first()->city}} @if($route->class == 1) (VVIP) @elseif($route->class == 2) (VIP) @elseif($route->class == 3) (Luxury) @elseif($route->class == 4) (Semi-Luxury) @elseif($route->class == 5) (Ordinary) @endif @if(\Illuminate\Support\Facades\Auth::user()->role == 1) {{\App\Models\Company::where(['id' => $route->company])->first()->name}} @endif
    @endforeach
@endsection