@extends('layouts.panel.base') @section('bookings-active', 'kt-menu__item--active') @section('title', 'Seleccionar Asiento') @section('css') @endsection @section('content')

Seleccionar Asiento

@foreach($passengers as $key => $value) @if($key == 0)
{{ ucfirst($value->name) }} {{ ucfirst($value->last_name) }}
Tipo: {{ $value->type }}
Nombre: {{ $value->name }}
Apeellido: {{ $value->last_name }}
Teléfono: {{ $value->phone }}
Tipo de Documento: {{ $value->document_type }}
Documento: {{ $value->document }}
Codigo Postal: {{ $value->zip_code }}
País: {{ $value->country->name }}
{{ Form::select('seating_departure', $seatings_departure, '', array('class'=>'form-control kt-select2 seating_departure', 'placeholder'=>'Seleccione Aerolinea', 'attr-departure-id'=>$key, 'attr-passenger-departure'=>$value->id, 'id'=>'seating_departure'.$key)) }}
@else
Tipo: {{ $value->type }}
Nombre: {{ $value->name }}
Apeellido: {{ $value->last_name }}
Teléfono: {{ $value->phone }}
Tipo de Documento: {{ $value->document_type }}
Documento: {{ $value->document }}
Codigo Postal: {{ $value->zip_code }}
País: {{ $value->country->name }}
{{ Form::select('seating_departure', $seatings_departure, '', array('class'=>'form-control kt-select2 seating_departure', 'placeholder'=>'Seleccione Aerolinea', 'attr-departure-id'=>$key, 'attr-passenger-departure'=>$value->id, 'id'=>'seating_departure'.$key)) }}
@endif @endforeach
@if($flight_return != null)
@foreach($passengers as $key => $value) @if($key == 0)
{{ ucfirst($value->name) }} {{ ucfirst($value->last_name) }}
Tipo: {{ $value->type }}
Nombre: {{ $value->name }}
Apeellido: {{ $value->last_name }}
Teléfono: {{ $value->phone }}
Tipo de Documento: {{ $value->document_type }}
Documento: {{ $value->document }}
Codigo Postal: {{ $value->zip_code }}
País: {{ $value->country->name }}
{{ Form::select('seating_return', $seatings_return, '', array('class'=>'form-control kt-select2 seating_return', 'placeholder'=>'Seleccione Asiento', 'attr-return-id'=>$key, 'attr-passenger-return'=>$value->id, 'id'=>'seating_return'.$key)) }}
@else
Tipo: {{ $value->type }}
Nombre: {{ $value->name }}
Apeellido: {{ $value->last_name }}
Teléfono: {{ $value->phone }}
Tipo de Documento: {{ $value->document_type }}
Documento: {{ $value->document }}
Codigo Postal: {{ $value->zip_code }}
País: {{ $value->country->name }}
{{ Form::select('seating_return', $seatings_return, '', array('class'=>'form-control kt-select2 seating_return', 'placeholder'=>'Seleccione Asiento', 'attr-return-id'=>$key, 'attr-passenger-return'=>$value->id, 'id'=>'seating_return'.$key)) }}
@endif @endforeach
@endif
@endsection @section('js') @endsection