Skip to content

Commit

Permalink
feat: provided error msg and color Red
Browse files Browse the repository at this point in the history
  • Loading branch information
elfiservice committed Apr 23, 2018
1 parent 0659880 commit 21c4e47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cron/email_cliente_n_aprovado.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
fwrite($f, $linha, strlen($linha));
fclose($f);
} else {
$echoResult .= "ERROr - {$row ['razao_social_contr']} ORC {$row ['n_orc']}<br>";
$echoResult .= "<span style='color: red' >ERROr</span> - {$row ['razao_social_contr']} ORC {$row ['n_orc']}<br>";
$countErr++;
}
}
Expand All @@ -72,6 +72,8 @@

if ($emailToAdmin->enviarEmailSMTP()) {
echo "email com relatorio enviado para " . EMAIL_ADMIN . "<br>";
} else {
echo "ERROr ao tentar enviar email com relatorio enviado para " . EMAIL_ADMIN . "<br>";
}
echo $echoResult;

Expand Down

0 comments on commit 21c4e47

Please sign in to comment.