@extends('admin.layouts.app') @section('content')

{{__("Flight: :name :code #:id",['name'=>@$currentFlight->title,'code'=>$currentFlight->code,'id'=>$currentFlight->id])}}

@include('admin.message')
{{__("Add Flight Seat")}}
@csrf @include('Flight::admin.flight.seat.form')
@if(!empty($rows))
{{csrf_field()}}
@endif
{{__("All Flight seat")}}
@if(count($rows) > 0) @foreach ($rows as $row) @endforeach @else @endif {{$rows->appends(request()->query())->links()}}
{{__("Flight")}} {{__("Seat type")}} {{__("Price")}} {{__("Max passengers")}}
{{$row->flight->title}} {{$row->flight->code}} #{{$row->flight->id}} {{$row->seatType->name}} {{format_money($row->price)}} {{$row->max_passengers}} {{__('Edit')}}
{{__("No data")}}
@endsection