[freeside-commits] freeside/httemplate/search cust_tax_exempt.cgi, 1.1.2.5, 1.1.2.6

Ivan,,, ivan at wavetail.420.am
Tue Jul 8 20:40:55 PDT 2008


Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv16144

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	cust_tax_exempt.cgi 
Log Message:
helpful to see when exemptions were inserted?

Index: cust_tax_exempt.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_tax_exempt.cgi,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -d -r1.1.2.5 -r1.1.2.6
--- cust_tax_exempt.cgi	9 Jul 2008 03:27:59 -0000	1.1.2.5
+++ cust_tax_exempt.cgi	9 Jul 2008 03:40:53 -0000	1.1.2.6
@@ -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(),
                             ],
            )



More information about the freeside-commits mailing list