X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fprovision_svc_phone.html;h=9ac039d7495fdb8bc1111bb00f29c4ca7d061a36;hb=877a4eb85cb847bd314d6a9192fedb1dc35c5d02;hp=6baa1e6fe012d25080c489fa92d25165f2ab20f3;hpb=46e04077cc22ff9d31e8e9896cbf97e31f1b0e7d;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 6baa1e6fe..9ac039d74 100644 --- a/fs_selfservice/FS-SelfService/cgi/provision_svc_phone.html +++ b/fs_selfservice/FS-SelfService/cgi/provision_svc_phone.html @@ -1,15 +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, ); + } +} %>