fix : duration in hour and min (not in second)
use convertSecondToTime for totalise duration
This commit is contained in:
parent
7cc06a0ef9
commit
8d74b51009
@ -741,7 +741,7 @@ if ($resql) {
|
|||||||
if (!$i) {
|
if (!$i) {
|
||||||
$totalarray['pos'][$totalarray['nbfield']] = 'fd.duree';
|
$totalarray['pos'][$totalarray['nbfield']] = 'fd.duree';
|
||||||
}
|
}
|
||||||
$totalarray['val']['fd.duree'] += $obj->duree;
|
$totalarray['val']['fd.duree'] += convertSecondToTime($obj->duree, 'allhourmin');
|
||||||
}
|
}
|
||||||
// Action column
|
// Action column
|
||||||
print '<td class="nowrap center">';
|
print '<td class="nowrap center">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user