Correction de la lecture du prix d'achat
This commit is contained in:
parent
8ee9afcbef
commit
a691bbf359
@ -420,8 +420,11 @@ $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."c_methode_commande_fournisseur as cm ON cm
|
|||||||
if ($prod->fetch($fk_product) > 0)
|
if ($prod->fetch($fk_product) > 0)
|
||||||
{
|
{
|
||||||
$desc = $prod->libelle;
|
$desc = $prod->libelle;
|
||||||
$pu = $prod->price;
|
|
||||||
$txtva = $prod->tva_tx;
|
$txtva = $prod->tva_tx;
|
||||||
|
|
||||||
|
$prod->get_buyprice($this->fourn_id,$qty);
|
||||||
|
|
||||||
|
$pu = $prod->buyprice;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user