diff --git a/htdocs/accountancy/admin/index.php b/htdocs/accountancy/admin/index.php index 74479a9d39f..b92da48353f 100644 --- a/htdocs/accountancy/admin/index.php +++ b/htdocs/accountancy/admin/index.php @@ -141,19 +141,6 @@ if ($action == 'setmanagezero') { } } -if ($action == 'setdisabledirectinput') { - $setdisabledirectinput = GETPOST('value', 'int'); - $res = dolibarr_set_const($db, "BANK_DISABLE_DIRECT_INPUT", $setdisabledirectinput, 'yesno', 0, '', $conf->entity); - if (! $res > 0) - $error ++; - if (! $error) { - setEventMessages($langs->trans("SetupSaved"), null, 'mesgs'); - } else { - setEventMessages($langs->trans("Error"), null, 'mesgs'); - } -} - - /* * View */ @@ -243,20 +230,6 @@ if (! empty($user->admin)) } print ''; - $var = ! $var; - print "
| '.$langs->trans("Date").' | '; - print ''; - print ' | '.$langs->trans("Type").' | '; - print ''.$langs->trans("Numero").' | '; - print ''.$langs->trans("Description").' | '; - print ''.$langs->trans("Debit").' | '; - print ''.$langs->trans("Credit").' | '; - print ''; - print ' | ||
| '; - $form->select_date(empty($dateop)?-1:$dateop,'op',0,0,0,'transaction'); - print ' | '; - print ''; - $form->select_types_paiements((GETPOST('operation')?GETPOST('operation'):($object->courant == Account::TYPE_CASH ? 'LIQ' : '')),'operation','1,2',2,1); - print ' | '; - print ' | '; - print '';
- print '';
- if ($options) {
- print ' '.$langs->trans("Rubrique").': '; - print Form::selectarray('cat1', $options, GETPOST('cat1'), 1); - } - print ' | ';
- print ''; - print ' | '; - print ' | ';
- print ' '; - print ''; - print ' | |||