Aggiunta colorazione rossa per notifiche interne scadute
This commit is contained in:
parent
756399b6bd
commit
1c69511569
|
@ -64,8 +64,11 @@ foreach ($moduli as $module_id => $note) {
|
||||||
</tr>';
|
</tr>';
|
||||||
|
|
||||||
foreach ($note as $nota) {
|
foreach ($note as $nota) {
|
||||||
|
|
||||||
|
$class = (strtotime($nota->notification_date) < strtotime(date('Y-m-d')) && !empty($nota->notification_date)) ? 'danger' : '';
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
<tr>
|
<tr class="'.$class.'">
|
||||||
<td>'.$nota->id_record.'</td>
|
<td>'.$nota->id_record.'</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
|
|
Loading…
Reference in New Issue