diff --git a/modules/dashboard/ajax.php b/modules/dashboard/ajax.php index 1a5dc21a2..f82c272d1 100644 --- a/modules/dashboard/ajax.php +++ b/modules/dashboard/ajax.php @@ -438,7 +438,7 @@ switch (filter('op')) { // Elenco interventi da pianificare foreach ($promemoria as $sessione) { - if ($sessione['mese'] == $mese) { + if ($sessione['mese'] == $mese || $mese == 'all') { if (date('Ymd', strtotime($sessione['data_scadenza'])) < date('Ymd') and !empty($sessione['data_scadenza'])) { $class = 'danger'; } else { diff --git a/modules/dashboard/edit.php b/modules/dashboard/edit.php index 0db2725bf..5e5eacdf2 100755 --- a/modules/dashboard/edit.php +++ b/modules/dashboard/edit.php @@ -307,7 +307,8 @@ WHERE (SELECT COUNT(*) FROM in_interventi_tecnici WHERE in_interventi_tecnici.id ->sortBy('data'); echo ' - + '; foreach ($mesi as $mese) { $data = Carbon::parse($mese['data']);