Fix: bad name
This commit is contained in:
parent
e1bebd3c3c
commit
287a2a36c5
@ -468,12 +468,12 @@ function pdf_writelinedesc(&$pdf,$object,$i,$outputlangs,$w,$h,$posx,$posy,$hide
|
||||
}
|
||||
else
|
||||
{
|
||||
$libellproduitservice=$this->pdf_getlinedesc($object,$i,$outputlangs,$hideref,$hidedesc,$issupplierline);
|
||||
$labelproductservice=pdf_getlinedesc($object,$i,$outputlangs,$hideref,$hidedesc,$issupplierline);
|
||||
|
||||
// Description
|
||||
$pdf->writeHTMLCell($w, $h, $posx, $posy, $outputlangs->convToOutputCharset($libelleproduitservice), 0, 1);
|
||||
$pdf->writeHTMLCell($w, $h, $posx, $posy, $outputlangs->convToOutputCharset($labelproductservice), 0, 1);
|
||||
|
||||
return $libellproduitservice;
|
||||
return $labelproductservice;
|
||||
}
|
||||
}
|
||||
|
||||
@ -680,6 +680,7 @@ function pdf_getlineqty($object,$i,$outputlangs)
|
||||
*/
|
||||
function pdf_getlineremisepercent($object,$i,$outputlangs)
|
||||
{
|
||||
include_once(DOL_DOCUMENT_ROOT."/lib/functions2.lib.php");
|
||||
if ($object->lines[$i]->special_code != 3)
|
||||
{
|
||||
if (!empty($object->hooks) && $object->lines[$i]->product_type == 9 && !empty($object->lines[$i]->special_code))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user