summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_credit.html
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2017-11-28 02:21:57 +0000
committerMitch Jackson <mitch@freeside.biz>2017-11-28 02:21:57 +0000
commit0e4e128273e2e9ade0073c7c8a71fe95b9e19bc7 (patch)
treea245aaf4c164dfbc2ef4df6ef25437a4091d3671 /httemplate/search/cust_credit.html
parenta94906852f983d71d7b022f402ba74c7e9c90bad (diff)
Change selectbox to checkbox on Credit Report form RT#73200
Diffstat (limited to 'httemplate/search/cust_credit.html')
-rwxr-xr-xhttemplate/search/cust_credit.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/httemplate/search/cust_credit.html b/httemplate/search/cust_credit.html
index f81063cc8..4de50a035 100755
--- a/httemplate/search/cust_credit.html
+++ b/httemplate/search/cust_credit.html
@@ -33,14 +33,12 @@ my $clink = sub {
: '';
};
-# form selectbox for show_voided_credits:
-# - value='': use default from $conf
-# - value="0" : override default, do not show voided credits
-# - value="1" : override default, show voided credits
+# form checkbox for show_voided_credits:
+# - value=unset : do not show voided credits
+# - value="1" : show voided credits
my $show_voided_credits;
-$show_voided_credits = $conf->config('show_voided_credits');
$show_voided_credits = $cgi->param('show_voided_credits')
- if $cgi->param('show_voided_credits') =~ /^(\d)$/;
+ if $cgi->param('show_voided_credits');
my (@header, @fields, @sort_fields, $align, @links, @color, @style);
$align = '';