Fix type of invoice encoded twice
This commit is contained in:
parent
d2d28ab109
commit
b5c2383f65
@ -3703,7 +3703,7 @@ else if ($id > 0 || ! empty($ref))
|
|||||||
$discount = new DiscountAbsolute($db);
|
$discount = new DiscountAbsolute($db);
|
||||||
$result = $discount->fetch(0, $object->id);
|
$result = $discount->fetch(0, $object->id);
|
||||||
if ($result > 0){
|
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>';
|
print '</td></tr>';
|
||||||
|
|||||||
@ -2423,7 +2423,7 @@ else
|
|||||||
$discount = new DiscountAbsolute($db);
|
$discount = new DiscountAbsolute($db);
|
||||||
$result = $discount->fetch(0, 0, $object->id);
|
$result = $discount->fetch(0, 0, $object->id);
|
||||||
if ($result > 0){
|
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>';
|
print '</td></tr>';
|
||||||
|
|||||||
@ -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.
|
TicketMessageMailIntroHelpAdmin=This text will be inserted before the text of the response to a ticket.
|
||||||
TicketMessageMailSignature=Signature
|
TicketMessageMailSignature=Signature
|
||||||
TicketMessageMailSignatureHelp=This text is added only at the end of the email and will not be saved.
|
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
|
TicketMessageMailSignatureLabelAdmin=Signature of response email
|
||||||
TicketMessageMailSignatureHelpAdmin=This text will be inserted after the response message.
|
TicketMessageMailSignatureHelpAdmin=This text will be inserted after the response message.
|
||||||
TicketMessageHelp=Only this text will be saved in the message list on ticket card.
|
TicketMessageHelp=Only this text will be saved in the message list on ticket card.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user