';
- print '';
+ print '| ';
print $langs->trans('PaymentConditionsShort');
print ' | ';
if ($action != 'editconditions' && $user->rights->facture->creer)
@@ -1452,7 +1452,7 @@ if ($action == 'create')
$title = $langs->trans("Recurrence");
//print load_fiche_titre($title, '', 'calendar');
- print '';
+ print '';
print '| '.$title.' | ';
@@ -1573,7 +1573,7 @@ if ($action == 'create')
}
print '';
- print '';
+ print '';
// Nb of generation already done
print '| '.$langs->trans("NbOfGenerationDone").' | ';
diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php
index a4def0c0b9b..1c2b195690a 100644
--- a/htdocs/compta/facture/card.php
+++ b/htdocs/compta/facture/card.php
@@ -4112,7 +4112,9 @@ if ($action == 'create')
$discount = new DiscountAbsolute($db);
$result = $discount->fetch(0, $object->id);
if ($result > 0) {
- print '. '.$langs->trans("CreditNoteConvertedIntoDiscount", $object->getLibType(1), $discount->getNomUrl(1, 'discount')).' ';
+ print '. ';
+ print $langs->transnoentities("CreditNoteConvertedIntoDiscount", $object->getLibType(1), $discount->getNomUrl(1, 'discount'));
+ print ' ';
}
}
@@ -4121,10 +4123,9 @@ if ($action == 'create')
$tmptemplate = new FactureRec($db);
$result = $tmptemplate->fetch($object->fk_fac_rec_source);
if ($result > 0) {
- print '. '.$langs->trans(
- "GeneratedFromTemplate",
- ''.$tmptemplate->ref.''
- ).'';
+ print '. ';
+ print $langs->transnoentities("GeneratedFromTemplate", ''.dol_escape_htmltag($tmptemplate->ref).'');
+ print '';
}
}
print ' ';
|
|