diff --git a/htdocs/fourn/paiement/fiche.php b/htdocs/fourn/paiement/fiche.php
index 3fe1b3662a8..c5fc368dccb 100644
--- a/htdocs/fourn/paiement/fiche.php
+++ b/htdocs/fourn/paiement/fiche.php
@@ -115,7 +115,7 @@ dolibarr_fiche_head($head, $hselected, $langs->trans('SupplierPayment'));
if ($_GET['action'] == 'delete')
{
$html->form_confirm('fiche.php?id='.$paiement->id, 'Supprimer le paiement', 'Etes-vous sūr de vouloir supprimer ce paiement ?', 'confirm_delete');
- print '
';
+ print '
';
}
/*
@@ -124,16 +124,16 @@ if ($_GET['action'] == 'delete')
if ($_GET['action'] == 'valide')
{
$html->form_confirm('fiche.php?id='.$paiement->id, 'Valider le paiement', 'Etes-vous sūr de vouloir valider ce paiment, auncune modification n\'est possible une fois le paiement validé ?', 'confirm_valide');
- print '
';
+ print '
';
}
if (!empty($_POST['action']) && $_POST['action'] == 'update_num' && !empty($_POST['new_num']))
{
$res = $paiement->update_num($_POST['new_num']);
if ($res === 0) {
- $mesg = $langs->trans('PaymentNumberUpdateSucceeded');
+ $mesg = '
'.$langs->trans('PaymentNumberUpdateSucceeded').'
';
} else {
- $mesg = $langs->trans('PaymentNumberUpdateFailed');
+ $mesg = ''.$langs->trans('PaymentNumberUpdateFailed').'
';
}
}
@@ -145,14 +145,12 @@ if (!empty($_POST['action']) && $_POST['action'] == 'update_date' && !empty($_PO
$_POST['reyear']);
$res = $paiement->update_date($datepaye);
if ($res === 0) {
- $mesg = $langs->trans('PaymentDateUpdateSucceeded');
+ $mesg = ''.$langs->trans('PaymentDateUpdateSucceeded').'
';
} else {
- $mesg = $langs->trans('PaymentDateUpdateFailed');
+ $mesg = ''.$langs->trans('PaymentDateUpdateFailed').'
';
}
}
-if ($mesg) print $mesg.'
';
-
print '';
+if ($mesg) print '
'.$mesg.'
';
/**
* Liste des factures
@@ -265,7 +263,7 @@ if ($resql)
$i = 0;
$total = 0;
- print '
'.$langs->trans("Invoices").'
';
+ print ''.$langs->trans("Invoices").'
';
print '';
print '';
print '| '.$langs->trans('Ref').' | ';