Aggiunta colorazione rossa per notifiche interne scadute

This commit is contained in:
Luca 2021-01-08 12:03:10 +01:00
parent 756399b6bd
commit 1c69511569
1 changed files with 4 additions and 1 deletions

View File

@ -64,8 +64,11 @@ foreach ($moduli as $module_id => $note) {
</tr>';
foreach ($note as $nota) {
$class = (strtotime($nota->notification_date) < strtotime(date('Y-m-d')) && !empty($nota->notification_date)) ? 'danger' : '';
echo '
<tr>
<tr class="'.$class.'">
<td>'.$nota->id_record.'</td>
<td>