From: ivan Date: Wed, 9 Jul 2008 03:40:52 +0000 (+0000) Subject: helpful to see when exemptions were inserted? X-Git-Tag: root_of_webpay_support~495 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=e84fbb05b0303b91b85dd57112d4c0dcec2cc4d5;p=freeside.git helpful to see when exemptions were inserted? --- 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(), ], )