diff --git a/modules/dashboard/widgets/notifiche.php b/modules/dashboard/widgets/notifiche.php index 0c2bcbabf..233be1e2b 100755 --- a/modules/dashboard/widgets/notifiche.php +++ b/modules/dashboard/widgets/notifiche.php @@ -64,8 +64,11 @@ foreach ($moduli as $module_id => $note) { '; foreach ($note as $nota) { + + $class = (strtotime($nota->notification_date) < strtotime(date('Y-m-d')) && !empty($nota->notification_date)) ? 'danger' : ''; + echo ' - + '.$nota->id_record.'