Update card.php

This commit is contained in:
Laurent Destailleur
2024-01-19 16:08:03 +01:00
committed by GitHub
parent ffcc89d387
commit 8e6ac1ee8f

View File

@@ -307,7 +307,7 @@ if (empty($reshook)) {
$object->fk_incoterms = GETPOSTINT('incoterm_id');
$object->location_incoterms = GETPOST('location_incoterms', 'alpha');
$object->multicurrency_code = GETPOST('multicurrency_code', 'alpha');
$object->multicurrency_tx = GETPOSTINT('originmulticurrency_tx');
$object->multicurrency_tx = (float) price2num(GETPOST('originmulticurrency_tx'));
// Fill array 'array_options' with data from add form
if (!$error) {
$ret = $extrafields->setOptionalsFromPost(null, $object);