@include('_include.loader')
@if ($this->campanha ?? false)
{{ $this->campanha->titulo }}
{{ $this->campanha->sub_titulo }}
@if ($this->campanha->url_imagem_bg ?? false) {{ $this->campanha->slug }} @endif
@if ($valor ?? false) {{ toMoney($valor,'R$ ') }}/ mês @endif
Quem vou apadrinhar
@if (count($this->assistidos ?? []) == '1')
Selecione a criança que será apadrinhada com a sua doação
@else
Selecione as crianças que serão apadrinhadas com a sua doação
@endif
@foreach ($this->assistidos ?? [] as $assistido_key => $assistido_item) @if ($assistido_item ?? false)
{{ $this->assistidos[$assistido_key]['nome'] }}
@else
Selecione a Criança
@endif @endforeach {{-- MODAL --}}
Nossas Crianças
@forelse ($this->assistidos_lista_todos ?? [] as $countKey => $assistido_lista_item) @if (in_array($assistido_lista_item->id, $this->assistidos_ids ?? [])) @continue @endif @if ($countKey >= ($this->verTemino ?? 20)) @break @endif
{{ $assistido_lista_item->nome ?? '---' }} {{ $assistido_lista_item->sobrenome ?? '---' }}
Idade
{{--
{{ $assistido_lista_item['nascimento'] ?? null }} {{ $assistido_lista_item['idade'] ?? null }}
--}}
{{ $assistido_lista_item->nascimento ? convertToAge($assistido_lista_item->nascimento) : '---' }}
Sexo
{{ $assistido_lista_item->genero ?? null }}
@if ($assistido_lista_item->hobby ?? false)
Hobby
{{ $assistido_lista_item->hobby ?? null }}
@endif @if ($assistido_lista_item->sonho ?? false)
Sonho
{{ $assistido_lista_item->sonho ?? null }}
@endif
@empty
SEM ASSISTIDOS PARA EXIBIR
@endforelse
@if (($countKey ?? false) && $countKey < $final) @endif

{{-- MODAL - END --}}
@if (count($this->assistidos_ids ?? []) == $this->campanha->assistido_qtd_max)
@if ($this->campanha_slug ?? false)
Informe
seus dados
@if ($doc_tipo ?? false) @if ($doc_tipo == 'CNPJ')
@endif
@endif
@else
Selecione outra opção para apadrinhar
@endif @endif
@else @endif {{-- LOADER --}}
{{-- @dump($this->campanha->toArray()) --}}