Fix missing class
This commit is contained in:
parent
5488bfe1fe
commit
ddd6ac296c
@ -1195,8 +1195,16 @@ function pdf_getlinedesc($object,$i,$outputlangs,$hideref=0,$hidedesc=0,$issuppl
|
|||||||
$note=(! empty($object->lines[$i]->note)?$object->lines[$i]->note:'');
|
$note=(! empty($object->lines[$i]->note)?$object->lines[$i]->note:'');
|
||||||
$dbatch=(! empty($object->lines[$i]->detail_batch)?$object->lines[$i]->detail_batch:false);
|
$dbatch=(! empty($object->lines[$i]->detail_batch)?$object->lines[$i]->detail_batch:false);
|
||||||
|
|
||||||
if ($issupplierline) $prodser = new ProductFournisseur($db);
|
if ($issupplierline)
|
||||||
else $prodser = new Product($db);
|
{
|
||||||
|
include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.product.class.php';
|
||||||
|
$prodser = new ProductFournisseur($db);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
include_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
|
||||||
|
$prodser = new Product($db);
|
||||||
|
}
|
||||||
|
|
||||||
if ($idprod)
|
if ($idprod)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user