FIX Rounding on total margin on invoice list
This commit is contained in:
parent
d9c55c1711
commit
f0d5dfe719
@ -2547,6 +2547,9 @@ if ($resql) {
|
|||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Use correct digits number for totals
|
||||||
|
$totalarray['val']['total_margin'] = price2num($totalarray['val']['total_margin'], 'MT');
|
||||||
|
|
||||||
// Show total line
|
// Show total line
|
||||||
include DOL_DOCUMENT_ROOT.'/core/tpl/list_print_total.tpl.php';
|
include DOL_DOCUMENT_ROOT.'/core/tpl/list_print_total.tpl.php';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user