From 3a88582ed5708b0b0dd6c50c7227de8970b1344b Mon Sep 17 00:00:00 2001 From: jeff Date: Tue, 30 Sep 2008 21:05:14 +0000 Subject: simple reporting for new tax system --- httemplate/search/cust_bill_pkg.cgi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'httemplate/search/cust_bill_pkg.cgi') 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'); -- cgit v1.2.1