From d1a885c65ac10e19bed0333a380dafeb42c2cef1 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 8 Oct 2005 00:47:20 +0000 Subject: fix tax class selection in package add/edit too --- httemplate/view/cust_main/quick-charge.html | 41 ++++------------------------- 1 file changed, 5 insertions(+), 36 deletions(-) (limited to 'httemplate/view') diff --git a/httemplate/view/cust_main/quick-charge.html b/httemplate/view/cust_main/quick-charge.html index 9e4fb8c6e..2fe3d5f3d 100644 --- a/httemplate/view/cust_main/quick-charge.html +++ b/httemplate/view/cust_main/quick-charge.html @@ -1,49 +1,18 @@ <% my( $cust_main ) = @_; - my $conf = new FS::Conf; %>
- -Description: -Amount: -<% #false laziness w/ edit/part_pkg.cgi %> -<% if ( $conf->exists('enable_taxclasses') ) { %> - - - <% - my $sth = dbh->prepare('SELECT DISTINCT taxclass FROM cust_main_county') - or die dbh->errstr; - $sth->execute or die $sth->errstr; - my %taxclasses = map { $_->[0] => 1 } @{$sth->fetchall_arrayref}; - my @taxclasses = grep $_, keys %taxclasses; - %> - - <% foreach my $taxclass ( @taxclasses ) { %> - -
-- cgit v1.2.1