Fix #23064 : diplays total at end of inter list
This commit is contained in:
parent
66d4edb222
commit
4c43d81872
@ -496,7 +496,7 @@ $selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfi
|
||||
$selectedfields .= (count($arrayofmassactions) ? $form->showCheckAddButtons('checkforselect', 1) : '');
|
||||
|
||||
print '<div class="div-table-responsive">';
|
||||
print '<table class="tagtable nobottomiftotal liste'.($moreforfilter ? " listwithfilterbefore" : "").'">'."\n";
|
||||
print '<table class="tagtable liste'.($moreforfilter ? " listwithfilterbefore" : "").'">'."\n";
|
||||
|
||||
// Fields title search
|
||||
// --------------------------------------------------------------------
|
||||
@ -844,6 +844,9 @@ while ($i < $imaxinloop) {
|
||||
if (!$i) {
|
||||
$totalarray['type'][$totalarray['nbfield']] = 'duration';
|
||||
}
|
||||
if (!$i) {
|
||||
$totalarray['pos'][$totalarray['nbfield']] = 'fd.duree';
|
||||
}
|
||||
$totalarray['val']['fd.duree'] += $obj->duree;
|
||||
}
|
||||
// Action column
|
||||
|
||||
Loading…
Reference in New Issue
Block a user