From 09655ec6f1761d464a928f6aab88bb936999df25 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 21 Nov 2001 03:42:13 +0000 Subject: [PATCH] a more reasonalbe name (!) --- FS/FS/Conf.pm | 2 +- httemplate/edit/cust_main.cgi | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index bf27bf348..0d04cc129 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -301,7 +301,7 @@ httemplate/docs/config.html }, { - 'key' => 'postalinvoicedefault', + 'key' => 'disablepostalinvoicedefault', 'section' => 'billing', 'description' => 'Disables postal mail invoices as the default option in the UI. Be careful not to setup customers which are not sent invoices. See emailinvoiceauto.', 'type' => 'checkbox', diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index 68765ca67..260d77e6c 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -1,5 +1,5 @@ <% -# +# use vars qw( $cgi $custnum $action $cust_main $p1 @agents $agentnum $last $first $ss $company $address1 $address2 $city $zip @@ -345,7 +345,7 @@ print qq!>Tax Exempt!; print qq!invoicing_list; print qq! CHECKED! - if ( ! @invoicing_list && ! $conf->exists('postalinvoicedefault') ) + if ( ! @invoicing_list && ! $conf->exists('disablepostalinvoicedefault') ) || grep { $_ eq 'POST' } @invoicing_list; print qq!>Postal mail invoice!; $invoicing_list = join(', ', grep { $_ ne 'POST' } @invoicing_list ); -- 2.20.1