mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-24 23:37:51 +01:00
Fix widget
This commit is contained in:
parent
672c9ce34e
commit
ed5d524fff
@ -39,7 +39,7 @@ if (!empty($rs)) {
|
|||||||
$data_accettazione = ($preventivo->data_accettazione != '0000-00-00') ? Translator::dateToLocale($preventivo->data_accettazione) : '';
|
$data_accettazione = ($preventivo->data_accettazione != '0000-00-00') ? Translator::dateToLocale($preventivo->data_accettazione) : '';
|
||||||
$data_conclusione = ($preventivo->data_conclusione != '0000-00-00') ? Translator::dateToLocale($preventivo->data_conclusione) : '';
|
$data_conclusione = ($preventivo->data_conclusione != '0000-00-00') ? Translator::dateToLocale($preventivo->data_conclusione) : '';
|
||||||
|
|
||||||
if (strtotime($preventivo->data_conclusione) < strtotime(date('Y-m-d')) && $data_conclusione != '') {
|
if ($data_conclusione != '' && strtotime($preventivo->data_conclusione) < strtotime(date('Y-m-d'))) {
|
||||||
$attr = ' class="danger"';
|
$attr = ' class="danger"';
|
||||||
} else {
|
} else {
|
||||||
$attr = '';
|
$attr = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user