[freeside-commits] freeside/FS/FS rate_region.pm,1.3,1.4
Ivan,,,
ivan at wavetail.420.am
Tue Aug 19 03:06:47 PDT 2008
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv2370/FS/FS
Modified Files:
rate_region.pm
Log Message:
more consistent prefix display, and don't forget nxx'
Index: rate_region.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/rate_region.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- rate_region.pm 18 Jul 2008 22:28:27 -0000 1.3
+++ rate_region.pm 19 Aug 2008 10:06:44 -0000 1.4
@@ -287,12 +287,13 @@
}
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/, $//;
More information about the freeside-commits
mailing list