freeside/httemplate/search cust_credit.html,1.1,1.2

ivan ivan at pouncequick.420.am
Thu Aug 19 09:35:21 PDT 2004


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

Modified Files:
	cust_credit.html 
Log Message:
add customer # to credit reports too

Index: cust_credit.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_credit.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cust_credit.html	23 Apr 2004 12:19:40 -0000	1.1
+++ cust_credit.html	19 Aug 2004 16:35:17 -0000	1.2
@@ -50,11 +50,13 @@
                'count_addl'  => [ '$%.2f total credited', ],
                #'redirect'    => $link,
                'header'      =>
-                 [ qw(Amount Date), 'Contact name', qw(Company By Reason) ],
+                 [ qw(Amount Date), 'Cust #', 'Contact name',
+                   qw(Company By Reason) ],
                'fields'      => [
                  #'crednum',
                  sub { sprintf('$%.2f', shift->amount ) },
                  sub { time2str('%b %d %Y', shift->_date ) },
+                 'custnum',
                  sub { my $cust_main = shift->cust_main;
                        $cust_main->get('last'). ', '. $cust_main->first;
                      },
@@ -64,9 +66,11 @@
                  'otaker',
                  'reason',
                ],
+               'align' => 'rrrllll',
                'links' => [
                  '',
                  '',
+                 $clink,
                  $clink,
                  $clink,
                  '',




More information about the freeside-commits mailing list