From e84fbb05b0303b91b85dd57112d4c0dcec2cc4d5 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 9 Jul 2008 03:40:52 +0000 Subject: [PATCH] helpful to see when exemptions were inserted? --- httemplate/search/cust_tax_exempt.cgi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/httemplate/search/cust_tax_exempt.cgi b/httemplate/search/cust_tax_exempt.cgi index ba202dfa2..b1abadae2 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(), ], ) -- 2.11.0