mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 17:13:03 +01:00
bugfix
This commit is contained in:
@@ -206,11 +206,11 @@ class pdf_einstein extends ModelePDFCommandes
|
||||
$libelleproduitservice.=$com->lignes[$i]->desc;
|
||||
}
|
||||
// Si ligne associ<63>e <20> un code produit
|
||||
if ($com->lignes[$i]->product_id)
|
||||
if ($com->lignes[$i]->fk_product)
|
||||
{
|
||||
$prodser = new Product($this->db);
|
||||
|
||||
$prodser->fetch($com->lignes[$i]->product_id);
|
||||
$prodser->fetch($com->lignes[$i]->fk_product);
|
||||
if ($prodser->ref)
|
||||
{
|
||||
$libelleproduitservice=$langs->trans("Product")." ".$prodser->ref." - ".$libelleproduitservice;
|
||||
|
||||
Reference in New Issue
Block a user