@if(auth()->user()->tipo === "administrador")
Meus Editais
@else
Editais
@endif
@if(auth()->user()->tipo === "administrador")
@endif
@if(auth()->user()->tipo === "administrador")
Nome do Edital |
Data de Criação |
Opção |
@foreach ($eventos as $evento)
{{ $evento->nome }}
|
{{ date('d/m/Y', strtotime($evento->created_at)) }} |
@if(auth()->user()->id == $evento->criador_id)
@endif
|
@endforeach
@endif
@if(auth()->user()->tipo === "proponente")
Nome do Edital |
Inicio da Submissão |
Fim da Submissão |
Data do Resultado |
Baixar edital |
Opção |
@foreach ($eventos as $evento)
{{ $evento->nome }}
|
{{ date('d/m/Y', strtotime($evento->inicioSubmissao)) }} |
{{ date('d/m/Y', strtotime($evento->fimSubmissao)) }} |
{{ date('d/m/Y', strtotime($evento->created_at)) }} |
|
|
@endforeach
@endif
@if(auth()->user()->tipo === "participante")
Nome do Edital |
Status |
Data de Criação |
Baixar edital |
Opção |
@foreach ($eventos as $evento)
{{ $evento->nome }}
|
|
{{ $evento->created_at }} |
|
|
@endforeach
@endif
@endsection
@section('javascript')
@endsection