diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2013-01-25 19:47:57 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2013-01-25 19:47:57 -0800 |
| commit | c2cd954736936c7b872229f5c0eea7e7689f170b (patch) | |
| tree | 8f391af61ce257924737a7049c64e329573a8c08 /FS | |
| parent | d54e4b6ad9ddd6a753e81765d27ee285f7defbb0 (diff) | |
allow manual override of phone number, RT#19883
Diffstat (limited to 'FS')
| -rw-r--r-- | FS/FS/part_export.pm | 4 | ||||
| -rw-r--r-- | FS/FS/part_export/fibernetics_did.pm | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm index 93be31c9f..586a33a37 100644 --- a/FS/FS/part_export.pm +++ b/FS/FS/part_export.pm @@ -432,6 +432,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 fb0378550..a51457a03 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 |
