projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
display sent mail on customer notes page, and improve sent mail log UI, #29250
[freeside.git]
/
FS
/
FS
/
rate_detail.pm
diff --git
a/FS/FS/rate_detail.pm
b/FS/FS/rate_detail.pm
index
918134a
..
389f439
100644
(file)
--- 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 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
=back
=head1 METHODS
@@
-128,11
+130,15
@@
sub check {
#|| $self->ut_money('min_charge')
#good enough for now...
#|| $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_float('min_charge')
+ || $self->ut_floatn('min_cost')
|| $self->ut_number('sec_granularity')
|| $self->ut_foreign_keyn('classnum', 'usage_class', 'classnum' )
|| $self->ut_number('sec_granularity')
|| $self->ut_foreign_keyn('classnum', 'usage_class', 'classnum' )
+ || $self->ut_enum('region_group', [ '', 'Y' ])
;
return $error if $error;
;
return $error if $error;