diff --git a/htdocs/compta/prelevement/create.php b/htdocs/compta/prelevement/create.php index 37a2d74c5e3..317136e1333 100644 --- a/htdocs/compta/prelevement/create.php +++ b/htdocs/compta/prelevement/create.php @@ -74,6 +74,8 @@ if ($type == 'bank-transfer') { $error = 0; $option = ""; +$mesg = ''; + /* * Actions @@ -225,13 +227,13 @@ if ($type == 'bank-transfer') { $title = $langs->trans("NbOfInvoiceToPayByBankTransfer"); } -print ''.$title.''; -print ''; -print $nb; +print ''.$title.''; +print ''; +print dol_escape_htmltag($nb); print ''; print ''.$langs->trans("AmountTotal").''; -print ''; +print ''; print price($pricetowithdraw); print ''; print ''; @@ -417,6 +419,7 @@ if ($resql) { $tradinvoice = "SupplierInvoice"; } + print '
'; print ''; print ''; print ''; @@ -510,6 +513,8 @@ if ($resql) { print ''; } print "
'.$langs->trans($tradinvoice).'
'.$langs->trans("None").'
"; + print "
"; + print ""; print "
\n"; } else {