css
This commit is contained in:
parent
c171ba3a45
commit
39ad96c230
@ -890,14 +890,15 @@ if ($resql) {
|
|||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Add a line for total if there is a total to show
|
||||||
if (!empty($arrayfields['duration']['checked'])) {
|
if (!empty($arrayfields['duration']['checked'])) {
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="total">';
|
||||||
foreach ($arrayfields as $key => $val) {
|
foreach ($arrayfields as $key => $val) {
|
||||||
if (!empty($val['checked'])) {
|
if (!empty($val['checked'])) {
|
||||||
if ($key == 'duration') {
|
if ($key == 'duration') {
|
||||||
print '<td class="right">'.$totalduration.' '.$langs->trans('DurationDays').'</td>';
|
print '<td class="right">'.$totalduration.' '.$langs->trans('DurationDays').'</td>';
|
||||||
} else {
|
} else {
|
||||||
print '<td/>';
|
print '<td></td>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user