This commit is contained in:
Laurent Destailleur 2022-09-26 10:19:24 +02:00
parent 277b81ce1b
commit e936231ccb

View File

@ -4453,7 +4453,7 @@ if ($action == 'create') {
if ($result > 0) {
print ' <span class="opacitymediumbycolor paddingleft">';
$s = $langs->trans("CreditNoteConvertedIntoDiscount", '{s1}', '{s2}');
$s = str_replace('{s1}', $object->getLibType(1), $s);
$s = str_replace('{s1}', $object->getLibType(0), $s);
$s = str_replace('{s2}', $discount->getNomUrl(1, 'discount'), $s);
print $s;
print '</span><br>';