freeside/httemplate/search cust_bill.html,1.6,1.7
ivan
ivan at pouncequick.420.am
Sat May 1 14:40:44 PDT 2004
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory pouncequick:/tmp/cvs-serv32220
Modified Files:
cust_bill.html
Log Message:
I'm slow this morning
Index: cust_bill.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_bill.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cust_bill.html 1 May 2004 21:38:26 -0000 1.6
+++ cust_bill.html 1 May 2004 21:40:41 -0000 1.7
@@ -70,12 +70,13 @@
sub { sprintf('$%.2f', shift->get('owed') ) },
sub { sprintf('$%.2f', shift->charged ) },
sub { time2str('%b %d %Y', shift->_date ) },
- sub { my $cust_main = shift->cust_main;
+ sub { my $cust_bill = shift;
+ my $cust_main = $cust_bill->cust_main;
$cust_main
? $cust_main->get('last'). ', '. $cust_main->first
: "WARNING: can't find cust_main.custnum ".
- shift->custnum. ' (cust_bill.invnum '.
- shift->invnum. ')';
+ $cust_bill->custnum. ' (cust_bill.invnum '.
+ $cust_bill->invnum. ')';
},
sub { my $cust_main = shift->cust_main;
$cust_main ? $cust_main->company : '';
More information about the freeside-commits
mailing list