From 246a59cf9e6ca87596e69e4f846075db8cf911aa Mon Sep 17 00:00:00 2001 From: WhiteHabbyt Date: Tue, 4 Apr 2023 11:23:46 -0300 Subject: [PATCH] =?UTF-8?q?Agora=20ap=C3=B3s=20a=20data=20do=20dim=20do=20?= =?UTF-8?q?projeto=20o=20mesmo=20ser=C3=A1=20modificado=20para=20finalizad?= =?UTF-8?q?o=20no=20status=20para=20o=20proponente.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/proponente/projetos.blade.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/resources/views/proponente/projetos.blade.php b/resources/views/proponente/projetos.blade.php index 86509b8..552945e 100755 --- a/resources/views/proponente/projetos.blade.php +++ b/resources/views/proponente/projetos.blade.php @@ -87,7 +87,12 @@ {{ date('d-m-Y \à\s H:i\h', strtotime($projeto->updated_at)) }} @if($projeto->status !=null) @if($projeto->status === "aprovado") - Em Execução + < !-- Não sei pq a ordem ta invertida, mas funciona -- > + @if( strtotime($projeto->updated_at) <= strtotime($projeto->fimProjeto)) + Finalizado + @else + Em Execução + @endif @else {{$projeto->status}} @endif -- GitLab