From 85a6a296c8c156f6ebcda5a228c024bbabf661a7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 28 Nov 2020 19:13:17 +0100 Subject: [PATCH] Fix links --- htdocs/compta/facture/card-rec.php | 8 ++++---- htdocs/compta/facture/card.php | 11 ++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/htdocs/compta/facture/card-rec.php b/htdocs/compta/facture/card-rec.php index c191c87f219..4f754fbd173 100644 --- a/htdocs/compta/facture/card-rec.php +++ b/htdocs/compta/facture/card-rec.php @@ -1233,7 +1233,7 @@ if ($action == 'create') print '
'; print '
'; - print ''; + print '
'; print '"; @@ -1262,7 +1262,7 @@ if ($action == 'create') // Payment term print '
'.$langs->trans("Author").''.$author->getFullName($langs)."
'; - print '
'; + 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 $langs->trans('PaymentConditionsShort'); print '
'; + print '
'; print ''; @@ -1573,7 +1573,7 @@ if ($action == 'create') } print '
'; - print '
'.$title.'
'; + print '
'; // Nb of generation already done print ''; 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 '';
'.$langs->trans("NbOfGenerationDone").'