Skip to content

Commit

Permalink
Fix page code in pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 2, 2018
1 parent 7bf33b1 commit a2c89d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions htdocs/core/modules/facture/doc/pdf_crabe.modules.php
Expand Up @@ -812,10 +812,10 @@ function _tableau_versements(&$pdf, $object, $posy, $outputlangs)
$y+=3;
$obj = $this->db->fetch_object($resql);

if ($obj->type == 2) $text=$outputlangs->trans("CreditNote");
elseif ($obj->type == 3) $text=$outputlangs->trans("Deposit");
elseif ($obj->type == 0) $text=$outputlangs->trans("ExcessReceived");
else $text=$outputlangs->trans("UnknownType");
if ($obj->type == 2) $text=$outputlangs->transnoentities("CreditNote");
elseif ($obj->type == 3) $text=$outputlangs->transnoentities("Deposit");
elseif ($obj->type == 0) $text=$outputlangs->transnoentities("ExcessReceived");
else $text=$outputlangs->transnoentities("UnknownType");

$invoice->fetch($obj->fk_facture_source);

Expand Down

0 comments on commit a2c89d8

Please sign in to comment.