CSS enhancement

This commit is contained in:
Laurent Destailleur 2018-02-10 00:05:04 +01:00
parent 01f09e6c09
commit 74116f495e

View File

@ -507,10 +507,10 @@ $tmparray = dol_getdate($daytoparse,true); // detail of current day
$idw = $tmparray['wday']; $idw = $tmparray['wday'];
$cssweekend=''; $cssweekend='';
/*if (($idw + 1) < $numstartworkingday || ($idw + 1) > $numendworkingday) // This is a day is not inside the setup of working days, so we use a week-end css. if (($idw + 1) < $numstartworkingday || ($idw + 1) > $numendworkingday) // This is a day is not inside the setup of working days, so we use a week-end css.
{ {
$cssweekend='weekend'; $cssweekend='weekend';
}*/ }
print '<td class="center'.($cssweekend?' '.$cssweekend:'').'">'.$langs->trans("Duration").'</td>'; print '<td class="center'.($cssweekend?' '.$cssweekend:'').'">'.$langs->trans("Duration").'</td>';
print '<td class="center">'.$langs->trans("Note").'</td>'; print '<td class="center">'.$langs->trans("Note").'</td>';