projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'patch-9' of https://github.com/gjones2/Freeside (#13854 as this bug...
[freeside.git]
/
FS
/
FS
/
rate_region.pm
diff --git
a/FS/FS/rate_region.pm
b/FS/FS/rate_region.pm
index
0e65223
..
f4a0ab1
100644
(file)
--- a/
FS/FS/rate_region.pm
+++ b/
FS/FS/rate_region.pm
@@
-248,6
+248,7
@@
Returns all prefixes (see L<FS::rate_prefix>) for this region.
sub rate_prefix {
my $self = shift;
sub rate_prefix {
my $self = shift;
+ map { $_ } #return $self->num_rate_prefix unless wantarray;
sort { $a->countrycode cmp $b->countrycode
or $a->npa cmp $b->npa
or $a->nxx cmp $b->nxx
sort { $a->countrycode cmp $b->countrycode
or $a->npa cmp $b->npa
or $a->nxx cmp $b->nxx
@@
-264,7
+265,7
@@
destionation.
sub dest_detail {
my $self = shift;
sub dest_detail {
my $self = shift;
- qsearch( 'rate_detail', { 'dest_regionnum' => $self->regionnum
,
} );
+ qsearch( 'rate_detail', { 'dest_regionnum' => $self->regionnum } );
}
=item prefixes_short
}
=item prefixes_short