1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-27 08:12:47 +01:00
This commit is contained in:
Beppe 2021-01-08 12:58:27 +01:00
commit 888f255761

View File

@ -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>