mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-21 16:23:20 +01:00
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
This commit is contained in:
@@ -3176,7 +3176,7 @@ class Commande extends CommonOrder
|
||||
$remise_percent = (float) price2num($remise_percent);
|
||||
$qty = (float) price2num($qty);
|
||||
$pu = price2num($pu);
|
||||
$pa_ht = (float) price2num($pa_ht);
|
||||
$pa_ht = price2num($pa_ht); // do not convert to float here, it breaks the functioning of $pa_ht_isemptystring
|
||||
$pu_ht_devise = price2num($pu_ht_devise);
|
||||
if (!preg_match('/\((.*)\)/', (string) $txtva)) {
|
||||
$txtva = price2num($txtva); // $txtva can have format '5.0(XXX)' or '5'
|
||||
|
||||
Reference in New Issue
Block a user