CSS enhancement
This commit is contained in:
parent
01f09e6c09
commit
74116f495e
@ -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>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user