X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Frate_detail.pm;h=389f4393b689a47337063b4d4c9511fcf58c0494;hb=9931f703daa44a56da2382fd823271eff138959a;hp=918134a3aae1ae18c66d1c176c88bc928ff2f625;hpb=6a10d16ff4e806357abab206254aa38c80a749d3;p=freeside.git diff --git a/FS/FS/rate_detail.pm b/FS/FS/rate_detail.pm index 918134a3a..389f4393b 100644 --- a/FS/FS/rate_detail.pm +++ b/FS/FS/rate_detail.pm @@ -59,6 +59,8 @@ inherits from FS::Record. The following fields are currently supported: =item cdrtypenum - CDR type (see L) if any for this rate +=item region_group - Group in region group for rate plan + =back =head1 METHODS @@ -128,11 +130,15 @@ sub check { #|| $self->ut_money('min_charge') #good enough for now... + || $self->ut_floatn('conn_charge') + || $self->ut_floatn('conn_cost') || $self->ut_float('min_charge') + || $self->ut_floatn('min_cost') || $self->ut_number('sec_granularity') || $self->ut_foreign_keyn('classnum', 'usage_class', 'classnum' ) + || $self->ut_enum('region_group', [ '', 'Y' ]) ; return $error if $error;