Fix page code in pdf
This commit is contained in:
parent
7bf33b1bac
commit
a2c89d8110
@ -812,10 +812,10 @@ class pdf_crabe extends ModelePDFFactures
|
|||||||
$y+=3;
|
$y+=3;
|
||||||
$obj = $this->db->fetch_object($resql);
|
$obj = $this->db->fetch_object($resql);
|
||||||
|
|
||||||
if ($obj->type == 2) $text=$outputlangs->trans("CreditNote");
|
if ($obj->type == 2) $text=$outputlangs->transnoentities("CreditNote");
|
||||||
elseif ($obj->type == 3) $text=$outputlangs->trans("Deposit");
|
elseif ($obj->type == 3) $text=$outputlangs->transnoentities("Deposit");
|
||||||
elseif ($obj->type == 0) $text=$outputlangs->trans("ExcessReceived");
|
elseif ($obj->type == 0) $text=$outputlangs->transnoentities("ExcessReceived");
|
||||||
else $text=$outputlangs->trans("UnknownType");
|
else $text=$outputlangs->transnoentities("UnknownType");
|
||||||
|
|
||||||
$invoice->fetch($obj->fk_facture_source);
|
$invoice->fetch($obj->fk_facture_source);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user