freeside/httemplate/search cust_pay.cgi,1.11,1.12

ivan ivan at pouncequick.420.am
Wed Aug 18 17:22:33 PDT 2004


Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory pouncequick:/tmp/cvs-serv15943

Modified Files:
	cust_pay.cgi 
Log Message:
add customer # to payment reports, add table cell alignment option to general search component

Index: cust_pay.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_pay.cgi,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cust_pay.cgi	23 Apr 2004 12:19:40 -0000	1.11
+++ cust_pay.cgi	19 Aug 2004 00:22:29 -0000	1.12
@@ -99,7 +99,8 @@
                'count_query' => $count_query,
                'count_addl'  => [ '$%.2f total paid', ],
                'header'      =>
-                 [ qw(Payment Amount Date), 'Contact name', 'Company', ],
+                 [ qw(Payment Amount Date), 'Cust #', 'Contact name',
+                   'Company', ],
                'fields'      => [
                  sub {
                    my $cust_pay = shift;
@@ -115,6 +116,7 @@
                  },
                  sub { sprintf('$%.2f', shift->paid ) },
                  sub { time2str('%b %d %Y', shift->_date ) },
+                 'custnum',
                  sub { my $cust_main = shift->cust_main;
                        $cust_main->get('last'). ', '. $cust_main->first;
                      },
@@ -122,10 +124,12 @@
                        $cust_main->company;
                      },
                ],
+               'align' => 'lrrrll',
                'links' => [
                  '',
                  '',
                  '',
+                 $link,
                  $link,
                  $link,
                ],




More information about the freeside-commits mailing list