FIX Rounding on total margin on invoice list

This commit is contained in:
Laurent Destailleur 2023-04-06 22:17:55 +02:00
parent d9c55c1711
commit f0d5dfe719

View File

@ -2547,6 +2547,9 @@ if ($resql) {
$i++;
}
// Use correct digits number for totals
$totalarray['val']['total_margin'] = price2num($totalarray['val']['total_margin'], 'MT');
// Show total line
include DOL_DOCUMENT_ROOT.'/core/tpl/list_print_total.tpl.php';
}