@extends('layouts.app') @section('content')
@if(isset($evento->fotoEvento)) @else @endif
@if(!Auth::check()) @endif

{{$evento->nome}}

Descrição

{{$evento->descricao}}

Realização do Evento

{{date('d/m/Y',strtotime($evento->dataInicio))}} - {{date('d/m/Y',strtotime($evento->dataFim))}}

Submissão de Trabalhos

{{date('d/m/Y',strtotime($evento->inicioSubmissao))}} - {{date('d/m/Y',strtotime($evento->fimSubmissao))}}

{{--

Revisão de Trabalhos

{{date('d/m/Y',strtotime($evento->inicioRevisao))}} - {{date('d/m/Y',strtotime($evento->fimRevisao))}}

--}}
{{--

Endereço

{{$evento->endereco->rua}}, {{$evento->endereco->numero}} - {{$evento->endereco->cidade}} / {{$evento->endereco->uf}}.

--}}
@if($hasFile == true)

Meus Trabalhos

@if($hasTrabalho)

Como Autor

@foreach($trabalhos as $trabalho) @endforeach
Título Baixar Nova Versão
{{$trabalho->titulo}} @php $arquivo = ""; @endphp @foreach($trabalho->arquivo as $key) @php if($key->versaoFinal == true){ $arquivo = $key->nome; } @endphp @endforeach @if($evento->inicioSubmissao <= $mytime) @if($mytime < $evento->fimSubmissao) @endif @endif
@endif @if($hasTrabalhoCoautor)

Como Coautor

@foreach($trabalhosCoautor as $trabalho) @endforeach
Título Baixar
{{$trabalho->titulo}} @php $arquivo = ""; @endphp @foreach($trabalho->arquivo as $key) @php if($key->versaoFinal == true){ $arquivo = $key->nome; } @endphp @endforeach
@endif @endif
@if($evento->inicioSubmissao <= $mytime) @if($mytime < $evento->fimSubmissao) @endif @endif
@endsection @section('javascript') @endsection