Fix regression
This commit is contained in:
parent
b6fc33c454
commit
4eaf2c0350
@ -213,7 +213,7 @@ if (empty($reshook))
|
|||||||
|
|
||||||
// Conciliation
|
// Conciliation
|
||||||
if ((GETPOST('confirm_savestatement', 'alpha') || GETPOST('confirm_reconcile', 'alpha')) && $user->rights->banque->consolidate
|
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;
|
$error = 0;
|
||||||
|
|
||||||
|
|||||||
@ -98,7 +98,7 @@ if ($action == 'add' && $_POST["cancel"] <> $langs->trans("Cancel"))
|
|||||||
}
|
}
|
||||||
$object->amount = $amount;
|
$object->amount = $amount;
|
||||||
$object->label = GETPOST("label", 'alpha');
|
$object->label = GETPOST("label", 'alpha');
|
||||||
$object->note = GETPOST("note", 'restricthtml');
|
$object->note_private = GETPOST("note", 'restricthtml');
|
||||||
|
|
||||||
if (empty($object->datep))
|
if (empty($object->datep))
|
||||||
{
|
{
|
||||||
@ -239,7 +239,7 @@ if ($action == 'create')
|
|||||||
print '<label for="radiorefund">';
|
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 '<input type="radio" id="radiorefund" data-label="'.$langs->trans('VATRefund').'" class="flat" name="refund" value="1"'.($refund ? ' checked="checked"' : '').'>';
|
||||||
print ' ';
|
print ' ';
|
||||||
print $langs->trans("Refund");
|
print $langs->trans("PaymentBack");
|
||||||
print '</label>';
|
print '</label>';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
print "<br>\n";
|
print "<br>\n";
|
||||||
|
|||||||
@ -58,7 +58,7 @@ SuppliersInvoices=Factures fournisseurs
|
|||||||
SupplierBill=Facture fournisseur
|
SupplierBill=Facture fournisseur
|
||||||
SupplierBills=Factures fournisseurs
|
SupplierBills=Factures fournisseurs
|
||||||
Payment=Règlement
|
Payment=Règlement
|
||||||
PaymentBack=Rembourser
|
PaymentBack=Remboursement
|
||||||
CustomerInvoicePaymentBack=Rembourser
|
CustomerInvoicePaymentBack=Rembourser
|
||||||
Payments=Règlements
|
Payments=Règlements
|
||||||
PaymentsBack=Remboursements
|
PaymentsBack=Remboursements
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user