fix : duration in hour and min (not in second)

use convertSecondToTime for totalise duration
This commit is contained in:
BENKE Charlene 2022-02-04 15:52:37 +01:00 committed by GitHub
parent 7cc06a0ef9
commit 8d74b51009
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -741,7 +741,7 @@ if ($resql) {
if (!$i) {
$totalarray['pos'][$totalarray['nbfield']] = 'fd.duree';
}
$totalarray['val']['fd.duree'] += $obj->duree;
$totalarray['val']['fd.duree'] += convertSecondToTime($obj->duree, 'allhourmin');
}
// Action column
print '<td class="nowrap center">';