From: levinse Date: Tue, 7 Dec 2010 19:04:43 +0000 (+0000) Subject: -small svc_dsl UI and flow changes, RT7111 X-Git-Tag: TORRUS_1_0_9~34 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=c58774a70c3326ad2ba5a7a38b174dfbd76a9f78;p=freeside.git -small svc_dsl UI and flow changes, RT7111 -finish basic qualifications, except prospect support, RT7111 --- diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm index 8dbc22bd5..adb4a0667 100644 --- a/FS/FS/AccessRight.pm +++ b/FS/FS/AccessRight.pm @@ -143,6 +143,7 @@ tie my %rights, 'Tie::IxHash', 'Add on-the-fly suspend reason', #NEW 'Edit customer package invoice details', #NEW 'Edit customer package comments', #NEW + 'Qualify service', #NEW ], ### diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 08bdedd6f..f5b2451b0 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -4067,6 +4067,13 @@ and customer address. Include units.', 'description' => 'Default the "Continue recurring billing while suspended" flag to on for new package definitions.', 'type' => 'checkbox', }, + + { + 'key' => 'qual-alt-address-format', + 'section' => 'UI', + 'description' => 'Enable the alternate address format (location type, number, and kind) on qualifications', + 'type' => 'checkbox', + }, { key => "apacheroot", section => "deprecated", description => "DEPRECATED", type => "text" }, { key => "apachemachine", section => "deprecated", description => "DEPRECATED", type => "text" }, diff --git a/FS/FS/geocode_Mixin.pm b/FS/FS/geocode_Mixin.pm index d784b5709..08e7b8619 100644 --- a/FS/FS/geocode_Mixin.pm +++ b/FS/FS/geocode_Mixin.pm @@ -88,7 +88,7 @@ sub location_label { my $prefix = $self->has_ship_address ? 'ship_' : ''; my $notfirst = 0; - foreach (qw ( address1 address2 ) ) { + foreach (qw ( address1 address2 location_type location_number ) ) { my $method = "$prefix$_"; $line .= ($notfirst ? $separator : ''). &$escape($self->$method) if $self->$method; diff --git a/FS/FS/part_export/ikano.pm b/FS/FS/part_export/ikano.pm index d3715829b..d7203af9d 100644 --- a/FS/FS/part_export/ikano.pm +++ b/FS/FS/part_export/ikano.pm @@ -324,6 +324,8 @@ sub qual_html { && $optionvalue ne '' ); } + # XXX: eventually perhaps this should return both the packages a link to + # order each package and go to the svc prov with the prequal id filled in my $list = "Qualifying Packages: