@extends('layouts.app') @section('content')
@if($errors->any())

{{$errors->first()}}

@endif @if(isset($mensagem))

{{ $mensagem }}

@endif @if(session('mensagem'))

{{session('mensagem')}}

@endif
@if($flag == 'false')
Minhas propostas
@else
Minhas propostas
Resultado da busca por: {{$busca}}
@endif
@csrf
@if(count($projetos)>0) @foreach ($projetos as $projeto) @if ($projeto->proponente_id === Auth()->user()->proponentes->id) @if($projeto->status !=null) @if($projeto->status === "aprovado") @php $hoje = \Carbon\Carbon::now(); $fimProjeto = \Carbon\Carbon::parse($projeto->evento->fimProjeto); @endphp @if($hoje->greaterThan($fimProjeto)) @else @endif @else @endif @else @endif @endif @endforeach
Edital Projeto Data de Criação Status Opção
{{ $projeto->evento->nome }} {{ $projeto->titulo }} {{ date('d-m-Y \à\s H:i\h', strtotime($projeto->updated_at)) }}FinalizadoEm Execução{{$projeto->status}}Submetido
@else @if($flag == "true")
Nenhuma proposta encontrada!
@else
Nenhuma proposta submetida!
@endif @endif
{{ $projetos->links() }}
@endsection @section('javascript') @endsection