fix : to get product ref within all pdf (propal , command, facture )

This commit is contained in:
Philippe Grand 2011-05-26 13:22:26 +00:00
parent 8feaaeb8f4
commit 621f42374c

View File

@ -824,7 +824,7 @@ function pdf_getlinenum($object,$i,$outputlangs)
/**
* Return line ref
* Return line product ref
* @param object Object
* @param $i Current line number
* @param outputlang Object lang for output
@ -839,7 +839,7 @@ function pdf_getlineref($object,$i,$outputlangs)
}
else
{
return dol_htmlentitiesbr($object->lines[$i]->ref);
return dol_htmlentitiesbr($object->lines[$i]->product_ref);
}
}