get remisepercent of product if select list
when we use the select list of product instead of free search we don't fill the remise
This commit is contained in:
parent
373f918543
commit
d84e50d15c
@ -1408,6 +1408,11 @@ class CommandeFournisseur extends CommonOrder
|
||||
{
|
||||
$pu = $prod->fourn_pu; // Unit price supplier price set by get_buyprice
|
||||
$ref_supplier = $prod->ref_supplier; // Ref supplier price set by get_buyprice
|
||||
// is remise percent not keyed but present for the product we add it
|
||||
if ($remise_percent == 0 && $prod->remise_percent !=0)
|
||||
$remise_percent =$prod->remise_percent;
|
||||
|
||||
|
||||
}
|
||||
if ($result == 0) // If result == 0, we failed to found the supplier reference price
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user