[freeside-commits] freeside/httemplate/search cust_tax_exempt.cgi, 1.1, 1.2

Ivan,,, ivan at wavetail.420.am
Sun Jun 22 17:37:09 PDT 2008


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

Modified Files:
	cust_tax_exempt.cgi 
Log Message:
legacy tax exemption report fix, no _date

Index: cust_tax_exempt.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_tax_exempt.cgi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cust_tax_exempt.cgi	23 Jun 2008 00:34:23 -0000	1.1
+++ cust_tax_exempt.cgi	23 Jun 2008 00:37:07 -0000	1.2
@@ -8,7 +8,6 @@
                    '#',
                    'Month',
                    'Amount',
-                   'Date',
                    FS::UI::Web::cust_header(),
                  ],
                  'fields'      => [
@@ -16,8 +15,6 @@
                    sub { $_[0]->month. '/'. $_[0]->year; },
                    sub { $money_char. $_[0]->amount; },
 
-                   sub { time2str('%b %d %Y', shift->_date ) },
-
                    \&FS::UI::Web::cust_fields,
                  ],
                  'links'       => [
@@ -25,25 +22,21 @@
                    '',
                    '',
 
-                   '',
-
                    ( map { $_ ne 'Cust. Status' ? $clink : '' }
                          FS::UI::Web::cust_header()
                    ),
                  ],
-                 'align' => 'rrrlrc'.FS::UI::Web::cust_aligns(), # 'rlrrrc',
+                 'align' => 'rrr'.FS::UI::Web::cust_aligns(),
                  'color' => [ 
                               '',
                               '',
                               '',
-                              '',
                               FS::UI::Web::cust_colors(),
                             ],
                  'style' => [ 
                               '',
                               '',
                               '',
-                              '',
                               FS::UI::Web::cust_styles(),
                             ],
            )
@@ -59,12 +52,12 @@
 
 my @where = ();
 
-my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
-if ( $beginning || $ending ) {
-  push @where, "_date >= $beginning",
-               "_date <= $ending";
-               #"payby != 'COMP';
-}
+#my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
+#if ( $beginning || $ending ) {
+#  push @where, "_date >= $beginning",
+#               "_date <= $ending";
+#               #"payby != 'COMP';
+#}
 
 if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {
   push @where, "agentnum = $1";



More information about the freeside-commits mailing list