X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Ffibernetics_did.pm;h=9fd996805cad27c3a1227ce536f2316af24ffddf;hb=ffa18709ee8a4d05e18d2d406cf73afe79e52524;hp=76391e88bf42ef3f068dd1e19de5dc7143ce01a8;hpb=7c3806cdbb65e125227fc78a3acbf188097a7e33;p=freeside.git diff --git a/FS/FS/part_export/fibernetics_did.pm b/FS/FS/part_export/fibernetics_did.pm index 76391e88b..9fd996805 100644 --- 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 can_get_dids { 1; } 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 @@ -138,7 +141,8 @@ sub get_dids { 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 }