diff options
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/Conf.pm | 13 | ||||
-rw-r--r-- | FS/FS/part_export/ikano.pm | 16 |
2 files changed, 25 insertions, 4 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index cbfde5003..d8f37e5e7 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -4232,12 +4232,19 @@ and customer address. Include units.', }, { - 'key' => 'qual-alt-address-format', + 'key' => 'qual-alt_address_format', 'section' => 'UI', - 'description' => 'Enable the alternate address format (location type, number, and kind) on qualifications', + 'description' => 'Enable the alternate address format (location type, number, and kind) for qualifications.', 'type' => 'checkbox', }, - + + { + 'key' => 'prospect_main-alt_address_format', + 'section' => 'UI', + 'description' => 'Enable the alternate address format (location type, number, and kind) for prospects. Recommended if qual-alt_address_format is set and the main use of propects is for qualifications.', + 'type' => 'checkbox', + }, + { 'key' => 'note-classes', 'section' => 'UI', diff --git a/FS/FS/part_export/ikano.pm b/FS/FS/part_export/ikano.pm index 604f47e99..63b0ed3cd 100644 --- a/FS/FS/part_export/ikano.pm +++ b/FS/FS/part_export/ikano.pm @@ -42,6 +42,21 @@ sub rebless { shift; } sub external_pkg_map { 1; } +sub location_types { + ( + '' => '(None)', + 'APT' => 'Apartment', + 'BLDG' => 'Building', + 'FLR' => 'Floor', + 'LOT' => 'Lot', + 'RM' => 'Room', + 'SLIP' => 'Slip', + 'TRLR' => 'Trailer', + 'UNIT' => 'Unit', + 'WING' => 'Wing', + ); +} + sub dsl_pull { # we distinguish between invalid new data (return error) versus data that # has legitimately changed (may eventually execute hooks; now just update) @@ -263,7 +278,6 @@ sub qual { my($self,$qual) = (shift,shift); my %location_hash = $qual->location_hash; - warn Dumper $qual->location_hash; return 'No address provided' unless keys %location_hash; my $svctn = $qual->phonenum; |