diff --git a/htdocs/admin/facture.php b/htdocs/admin/facture.php index 20d2ade591c..bae4b0abd88 100644 --- a/htdocs/admin/facture.php +++ b/htdocs/admin/facture.php @@ -280,24 +280,6 @@ if ($action == 'set_INVOICE_AUTO_FILLJS') } } -if ($action == 'set_FACTURE_PAYMENTS_ON_DIFFERENT_THIRDPARTIES_BILLS') -{ - $freetext = GETPOST('FACTURE_PAYMENTS_ON_DIFFERENT_THIRDPARTIES_BILLS'); // No alpha here, we want exact string - - $res = dolibarr_set_const($db, "FACTURE_PAYMENTS_ON_DIFFERENT_THIRDPARTIES_BILLS",$freetext,'chaine',0,'',$conf->entity); - - if (! $res > 0) $error++; - - if (! $error) - { - setEventMessages($langs->trans("SetupSaved"), null, 'mesgs'); - } - else - { - setEventMessages($langs->trans("Error"), null, 'errors'); - } -} - /* * View @@ -782,20 +764,6 @@ print '\n"; print ''; -// Add js auto fill amount on paiement form -$var=! $var; -print '
'; - $var=! $var; print '