@extends('layouts.app', [ 'title' => __('User Management'), 'parentSection' => 'laravel', 'elementName' => 'user-management' ]) @section('title', 'Passageiros |') @section('content') @component('layouts.headers.auth') @component('layouts.headers.breadcrumbs') @slot('title') Passageiros @endslot @endcomponent @endcomponent

Passageiros de {{$client->first_name ." ". $client->last_name}}

Abaixo você encontra a lista de passageiros vinculados ao cliente.

Voltar
@include('alerts.success') @include('alerts.errors')
@foreach ($passengers as $passenger) @php $now = new DateTime(); @endphp @endforeach
Nome CPF Idade Nascimento Preferência de Assento Passaporte Doc. de Identificação Ações
{{ $passenger->first_name." ".$passenger->last_name }} {{ $passenger->cpf }} {{ $now->diff(new DateTime( $passenger->birth_date ))->y }} @if(!empty($passenger->birth_date)) {{date('d/m/Y', strtotime( $passenger->birth_date ))}} @else Em branco @endif {{ $passenger->seat_preference }} @if (!empty($passenger->passport_file)) Passaporte anexado @else Não há anexo @endif @if (!empty($passenger->identification_file)) Doc. Id. anexado @else Não há anexo @endif
@include('layouts.footers.auth')
@endsection @push('css') @endpush @push('js') @endpush