helpful to see when exemptions were inserted?
authorivan <ivan>
Wed, 9 Jul 2008 03:40:52 +0000 (03:40 +0000)
committerivan <ivan>
Wed, 9 Jul 2008 03:40:52 +0000 (03:40 +0000)
httemplate/search/cust_tax_exempt.cgi

index ba202df..b1abada 100644 (file)
@@ -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,
                    '',
                    '',
                    '',
+                   '',
 
                    ( 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(),
                             ],
            )