Skip to content

Commit

Permalink
FIX : decimal values were not possible on shipment quantities (introd…
Browse files Browse the repository at this point in the history
…uced by Dolibarr#24882)
  • Loading branch information
atm-maxime committed Jun 23, 2023
1 parent 137399a commit 5b64641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/expedition/card.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@
$entrepot_id = 0;
}

$ret = $object->addline($entrepot_id, GETPOST($idl, 'int'), GETPOSTINT($qty), $array_options[$i]);
$ret = $object->addline($entrepot_id, GETPOST($idl, 'int'), price2num(GETPOST($qty, 'alpha'), 'MS'), $array_options[$i]);
if ($ret < 0) {
setEventMessages($object->error, $object->errors, 'errors');
$error++;
Expand Down

0 comments on commit 5b64641

Please sign in to comment.