[freeside-commits] freeside/FS/FS/part_event/Condition dundate.pm, NONE, 1.1
Jeff Finucane,420,,
jeff at wavetail.420.am
Thu Sep 25 20:54:26 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/FS/part_event/Condition
In directory wavetail.420.am:/tmp/cvs-serv13053/FS/FS/part_event/Condition
Added Files:
dundate.pm
Log Message:
push out event triggered suspensions
--- NEW FILE: dundate.pm ---
package FS::part_event::Condition::dundate;
use strict;
use base qw( FS::part_event::Condition );
sub description {
"Skip until customer dun date is reached";
}
sub condition {
my($self, $object, %opt) = @_;
my $cust_main = $self->cust_main($object);
$cust_main->dundate <= $opt{time};
}
#sub condition_sql {
# my( $self, $table ) = @_;
#
# 'true';
#}
1;
More information about the freeside-commits
mailing list