summaryrefslogtreecommitdiff
path: root/FS/FS/rate_detail.pm
diff options
context:
space:
mode:
authorlevinse <levinse>2011-04-13 00:35:43 +0000
committerlevinse <levinse>2011-04-13 00:35:43 +0000
commit7b3528faa2b4f056a142747445a9de682f878d72 (patch)
tree1536a0afa7e4fa55739152488814568fa1da75ff /FS/FS/rate_detail.pm
parent3714fa41c5306981c9f500df13eea52c72d82545 (diff)
fix region group billing, RT8951
Diffstat (limited to 'FS/FS/rate_detail.pm')
-rw-r--r--FS/FS/rate_detail.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/FS/FS/rate_detail.pm b/FS/FS/rate_detail.pm
index 918134a..f3ee84c 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<FS::cdr_type>) if any for this rate
+=item region_group - Group in region group for rate plan
+
=back
=head1 METHODS
@@ -133,6 +135,7 @@ sub check {
|| $self->ut_number('sec_granularity')
|| $self->ut_foreign_keyn('classnum', 'usage_class', 'classnum' )
+ || $self->ut_enum('region_group', [ '', 'Y' ])
;
return $error if $error;