Fix regression

This commit is contained in:
Laurent Destailleur 2020-10-09 11:49:45 +02:00
parent b6fc33c454
commit 4eaf2c0350
3 changed files with 4 additions and 4 deletions

View File

@ -213,7 +213,7 @@ if (empty($reshook))
// Conciliation
if ((GETPOST('confirm_savestatement', 'alpha') || GETPOST('confirm_reconcile', 'alpha')) && $user->rights->banque->consolidate
&& (GETPOST('pageplusone') == GETPOST('pageplusoneold')))
&& (!GETPOSTISSET('pageplusoneold') || (GETPOST('pageplusone') == GETPOST('pageplusoneold'))))
{
$error = 0;

View File

@ -98,7 +98,7 @@ if ($action == 'add' && $_POST["cancel"] <> $langs->trans("Cancel"))
}
$object->amount = $amount;
$object->label = GETPOST("label", 'alpha');
$object->note = GETPOST("note", 'restricthtml');
$object->note_private = GETPOST("note", 'restricthtml');
if (empty($object->datep))
{
@ -239,7 +239,7 @@ if ($action == 'create')
print '<label for="radiorefund">';
print '<input type="radio" id="radiorefund" data-label="'.$langs->trans('VATRefund').'" class="flat" name="refund" value="1"'.($refund ? ' checked="checked"' : '').'>';
print '&nbsp;';
print $langs->trans("Refund");
print $langs->trans("PaymentBack");
print '</label>';
print '</div>';
print "<br>\n";

View File

@ -58,7 +58,7 @@ SuppliersInvoices=Factures fournisseurs
SupplierBill=Facture fournisseur
SupplierBills=Factures fournisseurs
Payment=Règlement
PaymentBack=Rembourser
PaymentBack=Remboursement
CustomerInvoicePaymentBack=Rembourser
Payments=Règlements
PaymentsBack=Remboursements