Skip to content

Commit

Permalink
apresentação da data de recurso na interface para o usuário (incomple…
Browse files Browse the repository at this point in the history
…to) (refs #166)
  • Loading branch information
rafaelchavesfreitas committed Dec 7, 2020
1 parent e5ffe7a commit 292b119
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions views/aldirblanc/status.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,14 @@
$statusRecurso = $this->controller->config['msg_recurso'];
}

$data_recurso = $registration->lab_data_limite_recurso ?? false;

if ($statusRecurso) {
if ($data_recurso) {
$date = (new DateTime($data_recurso))->format('d/m/Y');
echo "Você pode entrar com recurso até o dia {$date}";
}

?>
<hr>
<h2 class="status-card--title">Você pode entrar com recurso</h2>
Expand Down

0 comments on commit 292b119

Please sign in to comment.