FIX : rounding amount on card updating

This commit is contained in:
Adrien Raze 2021-03-08 11:51:18 +01:00
parent e5d8267786
commit cbb7751a15

View File

@ -546,7 +546,7 @@ if ($id > 0)
if ($action == 'edit')
{
print '<tr><td>'.$langs->trans("AmountTTC")."</td><td>";
print '<input type="text" name="amount" size="12" class="flat" value="'.$object->amount.'">';
print '<input type="text" name="amount" size="12" class="flat" value="'.price($object->amount, 0, $outputlangs, 1, -1, 2).'">';
print "</td></tr>";
}
else {