[freeside-commits] freeside/httemplate/elements tr-select-taxclass.html, 1.2, 1.3
Ivan,,,
ivan at wavetail.420.am
Tue Feb 19 17:19:47 PST 2008
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv20437/httemplate/elements
Modified Files:
tr-select-taxclass.html
Log Message:
update the tax class editor to enable taxclass adding, RT#2929
Index: tr-select-taxclass.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-select-taxclass.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- tr-select-taxclass.html 1 Aug 2007 22:25:10 -0000 1.2
+++ tr-select-taxclass.html 20 Feb 2008 01:19:45 -0000 1.3
@@ -21,8 +21,9 @@
unless ( $opt{'taxclasses'} ) {
- my $sth = dbh->prepare('SELECT DISTINCT taxclass FROM cust_main_county')
- or die dbh->errstr;
+ #my $sth = dbh->prepare('SELECT DISTINCT taxclass FROM cust_main_county')
+ my $sth = dbh->prepare('SELECT taxclass FROM part_pkg_taxclass')
+ or die dbh->errstr;
$sth->execute or die $sth->errstr;
my %taxclasses = map { $_->[0] => 1 } @{$sth->fetchall_arrayref};
@{ $opt{'taxclasses'} } = grep $_, keys %taxclasses;
More information about the freeside-commits
mailing list