From 14cf9467a9c1f535272ddfec67f7fa5e263af9e5 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 23 Jun 2008 00:37:07 +0000 Subject: [PATCH] legacy tax exemption report fix, no _date --- httemplate/search/cust_tax_exempt.cgi | 21 +++++++-------------- 1 file 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"; -- 2.11.0