projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 79549 Requre a Rate Plan to use voip_cdr Price Plan
[freeside.git]
/
FS
/
FS
/
part_pkg
/
voip_cdr.pm
diff --git
a/FS/FS/part_pkg/voip_cdr.pm
b/FS/FS/part_pkg/voip_cdr.pm
index
8085c19
..
1fb3bec
100644
(file)
--- a/
FS/FS/part_pkg/voip_cdr.pm
+++ b/
FS/FS/part_pkg/voip_cdr.pm
@@
-360,6
+360,13
@@
tie my %accountcode_tollfree_field, 'Tie::IxHash',
)
],
'weight' => 41,
)
],
'weight' => 41,
+ '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;
+ },
);
sub price_info {
);
sub price_info {
@@
-724,4
+731,3
@@
sub hide_svc_detail {
1;
1;
-