Skip to content

Commit

Permalink
Correcao da validacao dos prazos para os casos na etapa de gestao_do_…
Browse files Browse the repository at this point in the history
…caso. Essa etapa nao tem deadline
  • Loading branch information
manoelsouzaunicef committed Apr 30, 2019
1 parent 44689d8 commit 6c78fee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/Console/Commands/CheckCaseDeadlines.php
Expand Up @@ -38,6 +38,12 @@ public function handle() {

if($step->isLate($today, $stepDeadline)) {
$newStatus = 'late';

//We need this rule because the step GESTAO DO CASO has not a pattern deadline
if( $step->getSlug() == "gestao_do_caso"){
$newStatus = 'normal';
}

}else{
$newStatus = 'normal';
}
Expand Down

0 comments on commit 6c78fee

Please sign in to comment.