Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
a925c2e1
Unverified
Commit
a925c2e1
authored
1 year ago
by
Antônio Durval
Committed by
GitHub
1 year ago
Browse files
Options
Download
Plain Diff
Merge pull request #934 from antonioDurval/master
correção na lógica da verificação das datas
parents
c20b6808
d767c5dc
master
carl-branch
updates_mar
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/views/proponente/projetos.blade.php
+5
-1
resources/views/proponente/projetos.blade.php
with
5 additions
and
1 deletion
+5
-1
resources/views/proponente/projetos.blade.php
View file @
a925c2e1
...
...
@@ -87,7 +87,11 @@
<
td
style
=
"text-align: center"
>
{{
date
(
'd-m-Y \à\s H:i\h'
,
strtotime
(
$projeto
->
updated_at
))
}}
</
td
>
@
if
(
$projeto
->
status
!=
null
)
@
if
(
$projeto
->
status
===
"aprovado"
)
@
if
(
date
(
'd-m-Y'
)
>
date
(
'd-m-Y'
,
strtotime
(
$projeto
->
evento
->
fimProjeto
))
)
@
php
$hoje
=
\
Carbon\Carbon
::
now
();
$fimProjeto
=
\
Carbon\Carbon
::
parse
(
$projeto
->
evento
->
fimProjeto
);
@
endphp
@
if
(
$hoje
->
greaterThan
(
$fimProjeto
))
<
td
style
=
"color: rgb(6, 85, 6); text-align: center;text-transform: capitalize;"
>
Finalizado
</
td
>
@
else
<
td
style
=
"color: rgb(6, 85, 6); text-align: center;text-transform: capitalize;"
>
Em
Execução
</
td
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help