@extends('layouts.app') @section('template_title') {{ $evento->name ?? 'Show Evento' }} @endsection @section('content')

{{ $evento->nombre_evento }}

...
@foreach ($ambientes as $ambiente) @if ($ambiente->evento_id == $evento->id)

Direccion: {{ $ambiente->direccion }}

Nombre del Ambiente: {{ $ambiente->nombre_ambiente }}
Descripcion: {{ $ambiente->descripcion }}

@endif @endforeach
Numero de cupos: {{ $evento->nro_cupos - $c }}

{{ $evento->descripcion }}

Fecha del evento: {{ $evento->fecha }}

@php $swCupo = 'true'; @endphp @if ($evento->nro_cupos - $c == 0) @php $swCupo = 'false'; @endphp @endif @php $sw = 'false'; @endphp @foreach ($inscritos as $inscrito) @if ($inscrito->evento_id == $evento->id && auth()->id() == $inscrito->usuario_id) @php $sw = 'true'; @endphp @break @endif @endforeach @if ($sw == 'true') @else @if ($swCupo == 'true')
@csrf
@else @endif @endif Regresar
Charlas que se realizaran en el evento
@foreach ($charlas as $charla)
Card image cap
{{ $charla->tema }}

Expositor: {{ $charla->expositore->user->name }}

{{ $charla->expositore->informacion }}

Horario: {{ $charla->horario }}

@endforeach
@endsection