Fix regression
This commit is contained in:
parent
b6fc33c454
commit
4eaf2c0350
@ -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;
|
||||
|
||||
|
||||
@ -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 ' ';
|
||||
print $langs->trans("Refund");
|
||||
print $langs->trans("PaymentBack");
|
||||
print '</label>';
|
||||
print '</div>';
|
||||
print "<br>\n";
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user