Fix price format
This commit is contained in:
parent
8184e34de4
commit
7bd93aa3ad
@ -549,9 +549,9 @@ if ($id) {
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
if ($action == 'edit') {
|
if ($action == 'edit') {
|
||||||
print '<tr><td class="fieldrequired">' . $langs->trans("Amount") . '</td><td><input name="amount" size="10" value="' . price($object->amount, 0, $outputlangs, 1, -1, 2) . '"></td></tr>';
|
print '<tr><td class="fieldrequired">' . $langs->trans("Amount") . '</td><td><input name="amount" size="10" value="' . price($object->amount) . '"></td></tr>';
|
||||||
} else {
|
} else {
|
||||||
print '<tr><td>' . $langs->trans("Amount") . '</td><td>' . price($object->amount, 0, $outputlangs, 1, -1, 2, $conf->currency) . '</td></tr>';
|
print '<tr><td>' . $langs->trans("Amount") . '</td><td>' . price($object->amount) . '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mode of payment
|
// Mode of payment
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user