summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2008-07-09 03:40:53 +0000
committerivan <ivan>2008-07-09 03:40:53 +0000
commite4636f274b18d2c1b0082f1891898fa0d0c24a4f (patch)
tree8c3e4022cc61c5aaa6e7d2bc23493fd434231492 /httemplate
parent69f6690c1c45fff97be1f21535bea4f0adb91719 (diff)
helpful to see when exemptions were inserted?
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/search/cust_tax_exempt.cgi9
1 files changed, 8 insertions, 1 deletions
diff --git a/httemplate/search/cust_tax_exempt.cgi b/httemplate/search/cust_tax_exempt.cgi
index ba202df..b1abada 100644
--- a/httemplate/search/cust_tax_exempt.cgi
+++ b/httemplate/search/cust_tax_exempt.cgi
@@ -7,12 +7,16 @@
'header' => [
'#',
'Month',
+ 'Inserted',
'Amount',
FS::UI::Web::cust_header(),
],
'fields' => [
'exemptnum',
sub { $_[0]->month. '/'. $_[0]->year; },
+ sub { my $h = $_->h_search('insert');
+ $h ? time2str('%L/%d/%Y', $h->history_date ) : ''
+ },
sub { $money_char. $_[0]->amount; },
\&FS::UI::Web::cust_fields,
@@ -21,22 +25,25 @@
'',
'',
'',
+ '',
( map { $_ ne 'Cust. Status' ? $clink : '' }
FS::UI::Web::cust_header()
),
],
- 'align' => 'rrr'.FS::UI::Web::cust_aligns(),
+ 'align' => 'rrrr'.FS::UI::Web::cust_aligns(),
'color' => [
'',
'',
'',
+ '',
FS::UI::Web::cust_colors(),
],
'style' => [
'',
'',
'',
+ '',
FS::UI::Web::cust_styles(),
],
)