From c3054513f27015595ce512dcb28748fb9ee11e27 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 19 Aug 2008 10:06:45 +0000 Subject: more consistent prefix display, and don't forget nxx' --- FS/FS/rate_region.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'FS') diff --git a/FS/FS/rate_region.pm b/FS/FS/rate_region.pm index df3951f8b..0e6522302 100644 --- a/FS/FS/rate_region.pm +++ b/FS/FS/rate_region.pm @@ -287,12 +287,13 @@ sub prefixes_short { } my $npa = $rate_prefix->npa; if ( $countrycode eq '1' ) { - $out .= '('. substr( $npa, 0, 3 ). ')'; + #$out .= '('. substr( $npa, 0, 3 ). ')'; + $out .= substr( $npa, 0, 3 ); $out .= ' '. substr( $npa, 3 ) if length($npa) > 3; } else { $out .= $rate_prefix->npa; } - $out .= ' '. $rate_prefix->nxx if $rate_prefix->nxx; + $out .= '-'. $rate_prefix->nxx if $rate_prefix->nxx; $out .= ', '; } $out =~ s/, $//; -- cgit v1.2.1