mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-16 19:40:44 +01:00
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…
x
Reference in New Issue
Block a user