@extends('layouts.app') @section('title', 'Alunos - Inscrição') @section('content')

{{ $ordemServico->proposta->destinos->pluck('nome_fantasia')->filter()->implode(', ') ?: $ordemServico->proposta->destinos->pluck('razao_social')->implode(', ') }} - {{ $ordemServico->proposta->cliente->nome_fantasia ?? $ordemServico->proposta->cliente->razao_social }} - R$ {{ number_format($ordemServico->valor_contrato, 2, ',', '.') }}

Responsável
Aluno
Pagamento
Confirmação

ALUNOS PARA ESTA VIAGEM

@if(count($alunos) > 0) Adicione somente alunos que pertençam a turma {{ $ordemServico->turmas }}. @else Nenhum aluno cadastrado. Adicione o primeiro aluno para continuar. @endif
Adicionar Aluno
@if(count($alunos) > 0)
@foreach($alunos as $aluno) @php $isPago = in_array($aluno['id'], $alunosPagosIds); @endphp @endforeach
Participar Nome Data de Nascimento Turma Ações
@if($isPago) @else @endif {{ $aluno['nome'] }} {{ $aluno['data_nascimento'] }} {{ $aluno['turma'] ?: '-' }}
@if(!$isPago)@endif
@foreach($alunos as $aluno) @php $isPago = in_array($aluno['id'], $alunosPagosIds); @endphp
@if($isPago) @else @endif

{{ $aluno['nome'] }}

Data Nasc: {{ $aluno['data_nascimento'] }}
Turma: {{ $aluno['turma'] ?: '-' }}
@endforeach
@endif @if(count($alunos) > 0)
Atenção: Selecione pelo menos um aluno para continuar.
@endif
Voltar
@endsection