X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fprovision_svc_phone.html;h=9ac039d7495fdb8bc1111bb00f29c4ca7d061a36;hb=80f265ee8f2603f0e3f7f5ad6c6c0cf704f98cb8;hp=3ca7a1222b0a4bcb0cb67980abbc7802972b6879;hpb=fda372ea3d82601724eb4fd064ba95fbfdd68bdb;p=freeside.git diff --git a/fs_selfservice/FS-SelfService/cgi/provision_svc_phone.html b/fs_selfservice/FS-SelfService/cgi/provision_svc_phone.html index 3ca7a1222..9ac039d74 100644 --- a/fs_selfservice/FS-SelfService/cgi/provision_svc_phone.html +++ b/fs_selfservice/FS-SelfService/cgi/provision_svc_phone.html @@ -1,21 +1,50 @@ -<%= $url = "$selfurl?session=$session_id;action="; ''; %> -<%= include('header', 'Setup phone number') %> +<%= $heading2 = $lnp ? "Port-In Number" : "Setup phone number"; + ''; +%> +<%= include('header', $heading2) %> <%= + +sub lnp_textfield { + my ($name,$label) = (shift,shift); + qq!$label!; +} + if($error) { $OUT .= qq!
$error
!; } %> -
- + -<%= didselector('field' => 'phonenum', +<%= +if($lnp) { + $OUT .= "" + . qq!! + . lnp_textfield("phonenum","Phone Number") + . lnp_textfield("lnp_desired_due_date","Requested Port-In Date") + . lnp_textfield("lnp_other_provider","Current Provider") + . lnp_textfield("lnp_other_provider_account","Current Provider's Account #") + . "
"; +} else { + if ( $svcnum ) { + $OUT .= qq!!; + $OUT .= qq!!; + $OUT .= qq! +
Email
Forward to + +
!; + } + else { + didselector('field' => 'phonenum', 'svcpart' => $svcpart, 'bulknum' => $numavail, ); + } +} %>