Merge pull request #23221 from Hystepik/develop_v16#1
Fix #23064 : diplays total at end of inter list
This commit is contained in:
commit
4eb0ef751a
@ -496,7 +496,7 @@ $selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfi
|
|||||||
$selectedfields .= (count($arrayofmassactions) ? $form->showCheckAddButtons('checkforselect', 1) : '');
|
$selectedfields .= (count($arrayofmassactions) ? $form->showCheckAddButtons('checkforselect', 1) : '');
|
||||||
|
|
||||||
print '<div class="div-table-responsive">';
|
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
|
// Fields title search
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
@ -844,6 +844,9 @@ while ($i < $imaxinloop) {
|
|||||||
if (!$i) {
|
if (!$i) {
|
||||||
$totalarray['type'][$totalarray['nbfield']] = 'duration';
|
$totalarray['type'][$totalarray['nbfield']] = 'duration';
|
||||||
}
|
}
|
||||||
|
if (!$i) {
|
||||||
|
$totalarray['pos'][$totalarray['nbfield']] = 'fd.duree';
|
||||||
|
}
|
||||||
$totalarray['val']['fd.duree'] += $obj->duree;
|
$totalarray['val']['fd.duree'] += $obj->duree;
|
||||||
}
|
}
|
||||||
// Action column
|
// Action column
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user