[freeside-commits] freeside/FS/FS cust_event.pm,1.5,1.6
Ivan,,,
ivan at wavetail.420.am
Thu Apr 30 19:08:34 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv2898
Modified Files:
cust_event.pm
Log Message:
fix re-print/email from event page, yow. RT#5293
Index: cust_event.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_event.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- cust_event.pm 15 Apr 2008 13:41:01 -0000 1.5
+++ cust_event.pm 1 May 2009 02:08:32 -0000 1.6
@@ -350,7 +350,7 @@
my $from = 'LEFT JOIN part_event USING ( eventpart )';
- # yuck! hardcoed *AND* sequential scans!
+ # yuck! hardcoded *AND* sequential scans!
my $where = " WHERE action LIKE 'cust_bill_send%'".
" AND cust_event._date >= $beginning".
" AND cust_event._date <= $ending";
@@ -367,10 +367,9 @@
my( $num, $last, $min_sec ) = (0, time, 5); #progresbar foo
foreach my $cust_event ( @cust_event ) {
- # XXX
- $cust_event->cust_bill->$method(
+ $cust_event->cust_X->$method(
$cust_event->part_event->templatename
- || $cust_event->cust_main->agent_template
+ || $cust_event->cust_X->agent_template
);
if ( $job ) { #progressbar foo
More information about the freeside-commits
mailing list