[freeside-commits] freeside/httemplate/elements tr-select-taxclass.html, 1.1, 1.1.2.1

Ivan,,, ivan at wavetail.420.am
Tue Feb 19 17:19:48 PST 2008


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv20447/httemplate/elements

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	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.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- tr-select-taxclass.html	31 Jan 2007 04:26:44 -0000	1.1
+++ tr-select-taxclass.html	20 Feb 2008 01:19:46 -0000	1.1.2.1
@@ -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