diff --git a/htdocs/admin/facture.php b/htdocs/admin/facture.php index e136d8663fe..c870f7ed321 100644 --- a/htdocs/admin/facture.php +++ b/htdocs/admin/facture.php @@ -280,24 +280,6 @@ if ($action == 'set_FAC_AUTO_FILLJS') } } -if ($action == 'set_INVOICE_CREDIT_NOTE_STANDALONE') -{ - $freetext = GETPOST('INVOICE_CREDIT_NOTE_STANDALONE'); // No alpha here, we want exact string - - $res = dolibarr_set_const($db, "INVOICE_CREDIT_NOTE_STANDALONE",$freetext,'chaine',0,'',$conf->entity); - - if (! $res > 0) $error++; - - if (! $error) - { - setEventMessage($langs->trans("SetupSaved")); - } - else - { - setEventMessage($langs->trans("Error"),'errors'); - } -} - /* * View @@ -782,20 +764,6 @@ print '\n"; print ''; -// Allow to create credit note not related to an invoice -$var=! $var; -print '
'; - $var=! $var; print '