projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
480234f
)
RT# 79549 Requre a Rate Plan to use voip_cdr Price Plan
author
Mitch Jackson
<mitch@freeside.biz>
Tue, 20 Feb 2018 05:07:11 +0000
(23:07 -0600)
committer
Mitch Jackson
<mitch@freeside.biz>
Tue, 20 Feb 2018 05:07:11 +0000
(23:07 -0600)
FS/FS/part_pkg/voip_cdr.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_pkg/voip_cdr.pm
b/FS/FS/part_pkg/voip_cdr.pm
index
1fb3bec
..
587a8c5
100644
(file)
--- a/
FS/FS/part_pkg/voip_cdr.pm
+++ b/
FS/FS/part_pkg/voip_cdr.pm
@@
-363,8
+363,8
@@
tie my %accountcode_tollfree_field, 'Tie::IxHash',
'validate' => sub {
# Validation function for FS::part_pkg::check_options()
my $options = shift;
- return "Please
select a rate plan for price plan VoIP/telco CDR rating (standard)
"
-
unless
$options->{ratenum};
+ return "Please
choose a Rate Plan for use with selected Rating Method
"
+
if $options->{rating_method} eq 'prefix' && !
$options->{ratenum};
return;
},
);