Skip to content

Commit

Permalink
Fix type of invoice encoded twice
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 28, 2018
1 parent d2d28ab commit b5c2383
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion htdocs/compta/facture/card.php
Expand Up @@ -3703,7 +3703,7 @@
$discount = new DiscountAbsolute($db);
$result = $discount->fetch(0, $object->id);
if ($result > 0){
print '. '.$langs->trans("CreditNoteConvertedIntoDiscount", $object->getLibType(), $discount->getNomUrl(1, 'discount')).'<br>';
print '. '.$langs->trans("CreditNoteConvertedIntoDiscount", $object->getLibType(1), $discount->getNomUrl(1, 'discount')).'<br>';
}
}
print '</td></tr>';
Expand Down
2 changes: 1 addition & 1 deletion htdocs/fourn/facture/card.php
Expand Up @@ -2423,7 +2423,7 @@
$discount = new DiscountAbsolute($db);
$result = $discount->fetch(0, 0, $object->id);
if ($result > 0){
print '. '.$langs->trans("CreditNoteConvertedIntoDiscount", $object->getLibType(), $discount->getNomUrl(1, 'discount')).'<br>';
print '. '.$langs->trans("CreditNoteConvertedIntoDiscount", $object->getLibType(1), $discount->getNomUrl(1, 'discount')).'<br>';
}
}
print '</td></tr>';
Expand Down
2 changes: 1 addition & 1 deletion htdocs/langs/en_US/ticket.lang
Expand Up @@ -193,7 +193,7 @@ TicketMessageMailIntroText=Hello,<br>A new response was sent on a ticket that yo
TicketMessageMailIntroHelpAdmin=This text will be inserted before the text of the response to a ticket.
TicketMessageMailSignature=Signature
TicketMessageMailSignatureHelp=This text is added only at the end of the email and will not be saved.
TicketMessageMailSignatureText=<p>Cordialement,</p><p>--</p>
TicketMessageMailSignatureText=<p>Sincerely,</p><p>--</p>
TicketMessageMailSignatureLabelAdmin=Signature of response email
TicketMessageMailSignatureHelpAdmin=This text will be inserted after the response message.
TicketMessageHelp=Only this text will be saved in the message list on ticket card.
Expand Down

0 comments on commit b5c2383

Please sign in to comment.