projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 83259 - adding/editing tower sector will no check for required fields prior to...
[freeside.git]
/
FS
/
FS
/
part_export
/
fibernetics_did.pm
diff --git
a/FS/FS/part_export/fibernetics_did.pm
b/FS/FS/part_export/fibernetics_did.pm
index
76391e8
..
9fd9968
100644
(file)
--- a/
FS/FS/part_export/fibernetics_did.pm
+++ b/
FS/FS/part_export/fibernetics_did.pm
@@
-27,7
+27,10
@@
tie my %options, 'Tie::IxHash',
sub rebless { shift; }
sub rebless { shift; }
+sub can_get_dids { 1; }
sub get_dids_can_tollfree { 0; };
sub get_dids_can_tollfree { 0; };
+sub get_dids_can_manual { 1; };
+sub get_dids_can_edit { 1; };
sub get_dids_npa_select { 0; };
# i guess we could get em from the API, but since its returning states without
sub get_dids_npa_select { 0; };
# i guess we could get em from the API, but since its returning states without
@@
-138,7
+141,8
@@
sub get_dids {
if ( $opt{'region'} ) { #return numbers
[ map { $_ =~ /^(\d?)(\d{3})(\d{3})(\d{4})$/
if ( $opt{'region'} ) { #return numbers
[ map { $_ =~ /^(\d?)(\d{3})(\d{3})(\d{4})$/
- ? ($1 ? "$1 " : ''). "$2 $3 $4"
+ #? ($1 ? "$1 " : ''). "$2 $3 $4"
+ ? "$2 $3 $4"
: $_;
}
sort { $a <=> $b }
: $_;
}
sort { $a <=> $b }