@extends('layouts.evento') @section('conteudo')

{{$evento->titulo}}


{{$evento->titulo}}

@php echo $evento->conteudo @endphp

@if($evento->data_inicio == $evento->data_fim)

Perído de Inscrição:
{{ date("d/m/Y", strtotime($evento->data_inicio)) }} {{date("H:i", strtotime($evento->hora_inicio))}}

@else

Perído de Inscrição:
de {{ date("d/m/Y", strtotime($evento->data_inicio))}} {{date("H:i", strtotime($evento->hora_inicio))}}
até {{ date("d/m/Y", strtotime($evento->data_fim)) }} {{date("H:i", strtotime($evento->hora_fim))}}

@endif
Dia do Evento: {{ date("d/m/Y", strtotime($evento->dia_inicio)) }}
Horário: @if($evento->h_inicio == $evento->h_fim) {{date("H:i", strtotime($evento->h_inicio))}} @else {{ date("H:i", strtotime($evento->hora_inicio)) }} às {{date("H:i", strtotime($evento->h_fim))}} @endif
Local: {{ $evento->endereco }}
@if(count($modalidades) > 0) @foreach($modalidades as $modalidade)

{{$modalidade['nome']}}

@if(count($modalidade['ingressos']) > 0) @foreach($modalidade['ingressos'] as $ingresso)
{{$ingresso['nome']}}
Inscrições a partir de: {{$ingresso['inicio']}}
até: {{$ingresso['fim']}}
@if(count($ingresso['categorias']) > 0) @foreach($ingresso['categorias'] as $categoria) @endforeach @endif
{{$categoria['nome']}} R$ {{$categoria['valor']}}
@endforeach @endif
@endforeach @endif
@stop @section('endereco') @include('partials.endereco') @stop