X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fprovision_svc_phone.html;h=9a07e7da124be0850213ca4565d9b82e85451f50;hp=3ca7a1222b0a4bcb0cb67980abbc7802972b6879;hb=5d5e7f7248d786938c08c867c9ad8f855f92c532;hpb=fda372ea3d82601724eb4fd064ba95fbfdd68bdb diff --git a/fs_selfservice/FS-SelfService/cgi/provision_svc_phone.html b/fs_selfservice/FS-SelfService/cgi/provision_svc_phone.html index 3ca7a1222..9a07e7da1 100644 --- a/fs_selfservice/FS-SelfService/cgi/provision_svc_phone.html +++ b/fs_selfservice/FS-SelfService/cgi/provision_svc_phone.html @@ -1,6 +1,15 @@ -<%= $url = "$selfurl?session=$session_id;action="; ''; %> -<%= include('header', 'Setup phone number') %> +<%= $url = "$selfurl?session=$session_id;action="; + $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
!; } @@ -12,10 +21,32 @@ if($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, ); + } +} %>