projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor bugfixes, #24047
[freeside.git]
/
bin
/
convert-477-options
diff --git
a/bin/convert-477-options
b/bin/convert-477-options
index
2b8970a
..
8225a22
100755
(executable)
--- a/
bin/convert-477-options
+++ b/
bin/convert-477-options
@@
-121,7
+121,7
@@
for my $part_pkg (qsearch('part_pkg', { freq => {op => '!=', value => '0'}})) {
if ($part_pkg->fcc_voip_class) {
# there's no such thing as a VoIP DS0 equivalent, but this is
# what we used the field for
if ($part_pkg->fcc_voip_class) {
# there's no such thing as a VoIP DS0 equivalent, but this is
# what we used the field for
- push @fcc_opts, 'voip_
line
s' => $part_pkg->fcc_ds0s;
+ push @fcc_opts, 'voip_
session
s' => $part_pkg->fcc_ds0s;
} else {
push @fcc_opts, 'phone_lines' => $part_pkg->fcc_ds0s, 'is_phone' => 1;
}
} else {
push @fcc_opts, 'phone_lines' => $part_pkg->fcc_ds0s, 'is_phone' => 1;
}
@@
-129,7
+129,7
@@
for my $part_pkg (qsearch('part_pkg', { freq => {op => '!=', value => '0'}})) {
my %fcc_opts = @fcc_opts;
#print map {"\t$_\t".$fcc_opts{$_}."\n"} keys %fcc_opts;
my %fcc_opts = @fcc_opts;
#print map {"\t$_\t".$fcc_opts{$_}."\n"} keys %fcc_opts;
- my $error = $part_pkg->
process
_fcc_options(\%fcc_opts);
+ my $error = $part_pkg->
set
_fcc_options(\%fcc_opts);
if ( $error ) {
die "$error\n";
}
if ( $error ) {
die "$error\n";
}