File tree Expand file tree Collapse file tree
modules/contratti/widgets Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 $ data_conclusione = !empty ($ r ['data_conclusione ' ]) ? Translator::dateToLocale ($ r ['data_conclusione ' ]) : '' ;
6161
6262 // Se scaduto, segna la riga in rosso
63- $ class = (strtotime ((string ) $ r ['data_conclusione ' ]) < strtotime (date ('Y-m-d ' )) && !empty ($ data_conclusione )) ? 'danger ' : '' ;
63+ $ class = (strtotime ((string ) $ r ['data_conclusione ' ]) < strtotime (date ('Y-m-d ' )) && !empty ($ data_conclusione )) ? 'row- danger ' : '' ;
6464
6565 if (isset ($ r ['ore_rimanenti ' ])) {
6666 // Se ore finite, segna la riga in rosso
67- if ($ class != 'danger ' ) {
68- $ class = ($ r ['ore_rimanenti ' ] < 0 ) ? 'warning ' : '' ;
67+ if ($ class != 'row- danger ' ) {
68+ $ class = ($ r ['ore_rimanenti ' ] < 0 ) ? 'row- warning ' : '' ;
6969 }
7070
7171 $ ore_rimanenti = ($ r ['ore_rimanenti ' ] >= 0 ) ? tr ('ore rimanenti: _NUM_ ' ) : tr ('ore in aggiunta: _NUM_ ' );
You can’t perform that action at this time.
0 commit comments