summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2008-06-23 00:37:07 +0000
committerivan <ivan>2008-06-23 00:37:07 +0000
commit14cf9467a9c1f535272ddfec67f7fa5e263af9e5 (patch)
tree6600ab51a9f10bf717760518aba7473414b97afb /httemplate
parent6070fba0aeb4e5beb103f7f5545bd21096bccbe3 (diff)
legacy tax exemption report fix, no _date
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/search/cust_tax_exempt.cgi21
1 files changed, 7 insertions, 14 deletions
diff --git a/httemplate/search/cust_tax_exempt.cgi b/httemplate/search/cust_tax_exempt.cgi
index b77cd0e8b..551b75d6f 100644
--- a/httemplate/search/cust_tax_exempt.cgi
+++ b/httemplate/search/cust_tax_exempt.cgi
@@ -8,7 +8,6 @@
'#',
'Month',
'Amount',
- 'Date',
FS::UI::Web::cust_header(),
],
'fields' => [
@@ -16,8 +15,6 @@
sub { $_[0]->month. '/'. $_[0]->year; },
sub { $money_char. $_[0]->amount; },
- sub { time2str('%b %d %Y', shift->_date ) },
-
\&FS::UI::Web::cust_fields,
],
'links' => [
@@ -25,25 +22,21 @@
'',
'',
- '',
-
( map { $_ ne 'Cust. Status' ? $clink : '' }
FS::UI::Web::cust_header()
),
],
- 'align' => 'rrrlrc'.FS::UI::Web::cust_aligns(), # 'rlrrrc',
+ 'align' => 'rrr'.FS::UI::Web::cust_aligns(),
'color' => [
'',
'',
'',
- '',
FS::UI::Web::cust_colors(),
],
'style' => [
'',
'',
'',
- '',
FS::UI::Web::cust_styles(),
],
)
@@ -59,12 +52,12 @@ die "access denied"
my @where = ();
-my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
-if ( $beginning || $ending ) {
- push @where, "_date >= $beginning",
- "_date <= $ending";
- #"payby != 'COMP';
-}
+#my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
+#if ( $beginning || $ending ) {
+# push @where, "_date >= $beginning",
+# "_date <= $ending";
+# #"payby != 'COMP';
+#}
if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {
push @where, "agentnum = $1";