[freeside-commits] freeside/FS/FS/part_event/Condition pkg_dundate.pm, NONE, 1.1
Ivan,,,
ivan at wavetail.420.am
Thu Jun 16 16:06:22 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/part_event/Condition
In directory wavetail.420.am:/tmp/cvs-serv29148/FS/FS/part_event/Condition
Added Files:
pkg_dundate.pm
Log Message:
rework suspension delays, RT#6956
--- NEW FILE: pkg_dundate.pm ---
package FS::part_event::Condition::pkg_dundate;
use base qw( FS::part_event::Condition );
use strict;
sub description {
"Skip until package suspension delay date";
}
sub eventtable_hashref {
{ 'cust_main' => 0,
'cust_bill' => 0,
'cust_pkg' => 1,
};
}
sub condition {
my($self, $cust_pkg, %opt) = @_;
#my $cust_main = $self->cust_main($cust_pkg);
$cust_pkg->dundate <= $opt{time};
}
#sub condition_sql {
# my( $self, $table ) = @_;
#
# 'true';
#}
1;
More information about the freeside-commits
mailing list