summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-01-25 19:47:54 -0800
committerIvan Kohler <ivan@freeside.biz>2013-01-25 19:47:54 -0800
commitdb3e520bad7240b3f6f0d53a2b55a64ef116890b (patch)
tree69d34d8fb72f895482efd5bda7863c10d7057d3f /FS/FS
parente94760d804c5638ecbd1487e8c3a2797f0034846 (diff)
allow manual override of phone number, RT#19883
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/part_export.pm4
-rw-r--r--FS/FS/part_export/fibernetics_did.pm2
2 files changed, 6 insertions, 0 deletions
diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm
index 5d65062..3eee37f 100644
--- a/FS/FS/part_export.pm
+++ b/FS/FS/part_export.pm
@@ -630,6 +630,10 @@ sub info {
#default fallbacks... FS::part_export::DID_Common ?
sub get_dids_can_tollfree { 0; }
+sub get_dids_can_manual { 0; }
+sub get_dids_can_edit { 0; } #don't use without can_manual, otherwise the
+ # DID selector provisions a new number from
+ # inventory each edit
sub get_dids_npa_select { 1; }
=back
diff --git a/FS/FS/part_export/fibernetics_did.pm b/FS/FS/part_export/fibernetics_did.pm
index fb03785..a51457a 100644
--- a/FS/FS/part_export/fibernetics_did.pm
+++ b/FS/FS/part_export/fibernetics_did.pm
@@ -28,6 +28,8 @@ tie my %options, 'Tie::IxHash',
sub rebless { shift; }
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