Fix: Now have one function to show and one to return.
This commit is contained in:
parent
43f5f95439
commit
83cb0b95cd
@ -468,7 +468,7 @@ function pdf_writelinedesc(&$pdf,$object,$i,$outputlangs,$w,$h,$posx,$posy,$hide
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$libellproduitservice=pdf_getlinedesc($object,$i,$outputlangs,$hideref,$hidedesc,$issupplierline);
|
$libellproduitservice=$this->pdf_getlinedesc($object,$i,$outputlangs,$hideref,$hidedesc,$issupplierline);
|
||||||
|
|
||||||
// Description
|
// Description
|
||||||
$pdf->writeHTMLCell($w, $h, $posx, $posy, $outputlangs->convToOutputCharset($libelleproduitservice), 0, 1);
|
$pdf->writeHTMLCell($w, $h, $posx, $posy, $outputlangs->convToOutputCharset($libelleproduitservice), 0, 1);
|
||||||
@ -680,7 +680,6 @@ function pdf_getlineqty($object,$i,$outputlangs)
|
|||||||
*/
|
*/
|
||||||
function pdf_getlineremisepercent($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 ($object->lines[$i]->special_code != 3)
|
||||||
{
|
{
|
||||||
if (!empty($object->hooks) && $object->lines[$i]->product_type == 9 && !empty($object->lines[$i]->special_code))
|
if (!empty($object->hooks) && $object->lines[$i]->product_type == 9 && !empty($object->lines[$i]->special_code))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user