summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_bill_pkg.cgi
diff options
context:
space:
mode:
authorjeff <jeff>2008-09-30 21:05:14 +0000
committerjeff <jeff>2008-09-30 21:05:14 +0000
commit3a88582ed5708b0b0dd6c50c7227de8970b1344b (patch)
treef1b82445c4118550ec352c60cc625444cc68263f /httemplate/search/cust_bill_pkg.cgi
parentfdab21bcd110c98808614f704d29638ecc2fd2aa (diff)
simple reporting for new tax system
Diffstat (limited to 'httemplate/search/cust_bill_pkg.cgi')
-rw-r--r--httemplate/search/cust_bill_pkg.cgi7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/search/cust_bill_pkg.cgi b/httemplate/search/cust_bill_pkg.cgi
index 74efe4f7e..61d9a7505 100644
--- a/httemplate/search/cust_bill_pkg.cgi
+++ b/httemplate/search/cust_bill_pkg.cgi
@@ -138,6 +138,13 @@ if ( $cgi->param('out') ) {
}
+if ($cgi->param('itemdesc')) {
+ if ($cgi->param('itemdesc') eq 'Tax') {
+ push @where, "(itemdesc='Tax' OR itemdesc is null)";
+ }else{
+ push @where, 'itemdesc='. dbh->quote($cgi->param('itemdesc'));
+ }
+}
push @where, 'pkgnum != 0' if $cgi->param('nottax');
push @where, 'pkgnum = 0' if $cgi->param('istax');