diff options
author | Christopher Burger <burgerc@freeside.biz> | 2018-02-20 09:15:17 -0500 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2018-02-20 09:15:17 -0500 |
commit | ed2d4de2ea785d30a54fb069b29f9618a40113c9 (patch) | |
tree | b3d5d8191b8f11de30f2b208b94140aed5632ab8 | |
parent | af38499ce0e858169efba590e29ddddbb035bc4b (diff) | |
parent | df996b7205c7d1de9e45c60b71f6ca3b7d373b81 (diff) |
Merge branch 'master' of ssh://git.freeside.biz/home/git/freeside
-rw-r--r-- | FS/FS/Schema.pm | 2 | ||||
-rw-r--r-- | FS/FS/part_pkg/voip_cdr.pm | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index edecb7f38..245fb68f8 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -5677,7 +5677,7 @@ sub tables_hashref { ['accountcode'], ['uniqueid'], ['carrierid'], ['cdrid'], [ 'sessionnum' ], [ 'subscriber' ], [ 'freesidestatus' ], [ 'freesiderewritestatus' ], - [ 'cdrbatch' ], [ 'cdrbatchnum' ], + [ 'cdrbatchnum' ], [ 'src_ip_addr' ], [ 'dst_ip_addr' ], [ 'dst_term' ], [ 'detailnum' ], ], diff --git a/FS/FS/part_pkg/voip_cdr.pm b/FS/FS/part_pkg/voip_cdr.pm index 1fb3bec84..587a8c530 100644 --- 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; }, ); |