[freeside-commits] freeside/FS/FS part_event_condition.pm, 1.3, 1.3.4.1
Ivan,,,
ivan at wavetail.420.am
Sun Apr 4 23:55:45 PDT 2010
- Previous message: [freeside-commits] freeside/FS/FS/part_export thirdlane.pm, 1.1.2.9, 1.1.2.10
- Next message: [freeside-commits] freeside/FS/FS/part_event/Condition balance_age.pm, 1.3, 1.3.4.1 balance.pm, 1.2, 1.2.4.1 balance_under.pm, 1.2, 1.2.4.1 cust_bill_has_service.pm, 1.5, 1.5.4.1 cust_bill_owed.pm, 1.3, 1.3.4.1 cust_bill_owed_under.pm, 1.2, 1.2.4.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv16312
Modified Files:
Tag: FREESIDE_1_9_BRANCH
part_event_condition.pm
Log Message:
mysql billing fixes, 1.9
Index: part_event_condition.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_event_condition.pm,v
retrieving revision 1.3
retrieving revision 1.3.4.1
diff -u -w -d -r1.3 -r1.3.4.1
--- part_event_condition.pm 5 Oct 2007 00:39:58 -0000 1.3
+++ part_event_condition.pm 5 Apr 2010 06:55:43 -0000 1.3.4.1
@@ -2,7 +2,7 @@
use strict;
use vars qw( @ISA $DEBUG @SKIP_CONDITION_SQL );
-use FS::UID qw(dbh);
+use FS::UID qw( dbh driver_name );
use FS::Record qw( qsearch qsearchs );
use FS::option_Common;
use FS::part_event; #for order_conditions_sql...
@@ -285,7 +285,9 @@
map {
my $conditionname = $_;
my $coderef = $conditions{$conditionname}->{condition_sql};
- my $sql = &$coderef( $eventtable, 'time'=>$time );
+ my $sql = &$coderef( $eventtable, 'time' => $time,
+ 'driver_name' => driver_name(),
+ );
die "$coderef is not a CODEREF" unless ref($coderef) eq 'CODE';
"( cond_$conditionname.conditionname IS NULL OR $sql )";
}
- Previous message: [freeside-commits] freeside/FS/FS/part_export thirdlane.pm, 1.1.2.9, 1.1.2.10
- Next message: [freeside-commits] freeside/FS/FS/part_event/Condition balance_age.pm, 1.3, 1.3.4.1 balance.pm, 1.2, 1.2.4.1 balance_under.pm, 1.2, 1.2.4.1 cust_bill_has_service.pm, 1.5, 1.5.4.1 cust_bill_owed.pm, 1.3, 1.3.4.1 cust_bill_owed_under.pm, 1.2, 1.2.4.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list