projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6070fba
)
legacy tax exemption report fix, no _date
author
ivan
<ivan>
Mon, 23 Jun 2008 00:37:07 +0000
(
00:37
+0000)
committer
ivan
<ivan>
Mon, 23 Jun 2008 00:37:07 +0000
(
00:37
+0000)
httemplate/search/cust_tax_exempt.cgi
patch
|
blob
|
history
diff --git
a/httemplate/search/cust_tax_exempt.cgi
b/httemplate/search/cust_tax_exempt.cgi
index
b77cd0e
..
551b75d
100644
(file)
--- a/
httemplate/search/cust_tax_exempt.cgi
+++ b/
httemplate/search/cust_tax_exempt.cgi
@@
-8,7
+8,6
@@
'#',
'Month',
'Amount',
'#',
'Month',
'Amount',
- 'Date',
FS::UI::Web::cust_header(),
],
'fields' => [
FS::UI::Web::cust_header(),
],
'fields' => [
@@
-16,8
+15,6
@@
sub { $_[0]->month. '/'. $_[0]->year; },
sub { $money_char. $_[0]->amount; },
sub { $_[0]->month. '/'. $_[0]->year; },
sub { $money_char. $_[0]->amount; },
- sub { time2str('%b %d %Y', shift->_date ) },
-
\&FS::UI::Web::cust_fields,
],
'links' => [
\&FS::UI::Web::cust_fields,
],
'links' => [
@@
-25,25
+22,21
@@
'',
'',
'',
'',
- '',
-
( map { $_ ne 'Cust. Status' ? $clink : '' }
FS::UI::Web::cust_header()
),
],
( map { $_ ne 'Cust. Status' ? $clink : '' }
FS::UI::Web::cust_header()
),
],
- 'align' => 'rrr
lrc'.FS::UI::Web::cust_aligns(), # 'rlrrrc'
,
+ 'align' => 'rrr
'.FS::UI::Web::cust_aligns()
,
'color' => [
'',
'',
'',
'color' => [
'',
'',
'',
- '',
FS::UI::Web::cust_colors(),
],
'style' => [
'',
'',
'',
FS::UI::Web::cust_colors(),
],
'style' => [
'',
'',
'',
- '',
FS::UI::Web::cust_styles(),
],
)
FS::UI::Web::cust_styles(),
],
)
@@
-59,12
+52,12
@@
die "access denied"
my @where = ();
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";
if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {
push @where, "agentnum = $1";