MYL
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:
MYL
===\
/borrower/payment/ebpp_paynow.jsp for Borrower paynow flow

<%@page import="java.io.PrintWriter"%>
<%@page import="com.slma.utils.MoneyUSD"%>
<%@page import="java.math.BigDecimal"%>
<%@page import="java.math.RoundingMode"%>
<%@page import="java.math.MathContext"%>
<%@page import="com.slma.framework.Controller"%>
<%@page import="com.slma.framework.ControllerImpl"%>

<%@page import="java.util.List"%>
<%@page import="java.util.TreeMap"%>
<%@page import="com.slma.selfservice.core.Platform" %>
<%@page import="com.slma.selfservice.borrower.payment.ElectronicBill"%>
<%@page import="com.slma.selfservice.borrower.payment.PaymentDate"%>
<%@include file="/WEB-INF/jsp/includes/tagLib.jsp" %>

<%String dwtName="slm_base_template_lockdown.dwt"; %>
<%String headerName="header_lockdown"; %>
<%@ taglib uri="/borrower/taglib/omniture.tld"  prefix="omniture"%>

<% 
	String txt;
	int pageType=0;
	//1=homepage,2=accountInformation,3=makeAPayment,4=changePayment,5=postponePayment,6=personalprofile,7=customerservice
	com.slma.framework.SLMSession slmSession = new com.slma.framework.SLMSession (request, response, true);
	String referrer = slmSession.getString("referrer");
	boolean referred = (slmSession.getString("referrer") != null && !slmSession.getString("referrer").equals("")) ? true : false;
	String globalResourceID = new com.slma.selfservice.core.LanguageManager().initJSP(slmSession, "global", "global");
	boolean needsToggle = false;
%>
<%@ taglib uri="/borrower/taglib/contentManager.tld" prefix="contentManager" %> 
 <%@ taglib uri="/borrower/taglib/jqueryPlugin.tld" prefix="jqueryPlugin" %>
   
   
<%@include file="/borrower/includes/omnitureTrackingWorkaroundScripts.jsp" %>
<%
	TreeMap>  billsMap = (TreeMap) slmSession.get("classMonthlyBills");

	needsToggle=true;
	
	String prefix = "" ;
	String cosignPmtStr = "";
    String cosignPrincipleBalance = "";
    
    Money cosignTotalPrincipleBalance = new MoneyUSD(0);
	Money totalPmtAmount = new MoneyUSD(0);
	Money totalCosingPmtAmount = new MoneyUSD(0);
	
	String resourceID = new com.slma.selfservice.core.LanguageManager().initJSP(slmSession, "payment", "ebpp_paynow");
	String sharedResourceID = new com.slma.selfservice.core.LanguageManager().initJSP(slmSession, "payment", "paynow_shared");
%>




<%= slmSession.getString(resourceID + ".PageTitle") %>


<%@ include file="/borrower/includes/paymentScripts.jsp" %>

   <%if(slmSession.isDepartmentOfEd()){%>
   <%@ include file="/borrower/includes/edGovScripts.jsp" %>
   <%}else{%>
   <%@ include file="/borrower/includes/mylScripts.jsp" %>
   <%}
%>
  
   

    
       
" method="POST" name= "mainform"> " /> " /> <% // Make sure the Make a Payment tab is highlighted pageType = 3; %>
<%@ include file="/borrower/includes/errormessages.jsp" %> <%}else{%> <% } %> <%} %>
<%if(slmSession.isDepartmentOfEd()){%> <%@ include file="/borrower/includes/edGovHeader.jsp" %> <%}else{%> <%@ include file="/borrower/includes/mylHeader.jsp" %> <%}%>
<%=slmSession.getString(sharedResourceID + ".MakeAPmt")%>




" method="POST" name="editform" id="editform">
<%String platform = ""; %> <%platform = "Commercial"; %> <%platform = "ED"; %> <% boolean singleBill = (1 >= Integer.parseInt(slmSession.getString("response.payableBillsNum"))); boolean payimm = (Boolean.parseBoolean(slmSession.get("response.showPayIMM").toString()) && singleBill && !slmSession.isDepartmentOfEd() ); if (slmSession.get("hasBillsToPay") != null) { %>

<%= slmSession.getString(globalResourceID + ".platform.description." + platform) %> <%= slmSession.getString(globalResourceID + ".platform.description.loansText") %>


<%=slmSession.getString(sharedResourceID + ".InRepayInstructionText")%>

<%@ include file="/borrower/payment/ebpp_paynow_cosigner.jsp"%> <%} %>
<%if(slmSession.get("response.Bill0.BillingItemNumber") != null){ %> <% int billNumber = 0; int schedCount = 0; String pmtStr = ""; // Loop through each bill in the session //while (slmSession.get("response.Bill" + billNumber + ".BillingGroupItemNumber") != null) { while (slmSession.get("response.Bill" + billNumber + ".BillingItemNumber") != null) {%> <% billNumber++; } // End of bill loop %>
<% //System.out.println("From JSP, billNumber=" + billNumber); prefix = "response.Bill" + billNumber + "."; pmtStr= slmSession.getString(prefix + "PaymentAmount"); if(pmtStr != null && !pmtStr.equals("")){ totalPmtAmount = totalPmtAmount.add(Double.valueOf(pmtStr)); } else{ pmtStr = "0.00"; } %> <%@ include file="/borrower/payment/ebpp_paynow_loan_by_billgroup.jsp" %>
<%} %>
<% if (payimm){%> <% } %> <%// Only show the loan section if there are eligible loans // Your Loan(s) Not Yet in Repayment Section if (slmSession.get("response.Loan0.LoanNumber") != null) { %>



<% int loanNum = 0; double loanPmt = 0; // Loop through each loan in the session while (slmSession.get("response.Loan" + loanNum + ".LoanNumber") != null){ %> <% loanNum++; } // End of pending payment loop %>
<% prefix = "response.Loan" + loanNum + "."; // The background alternates between gray and white String backgroundClass = loanNum % 2 == 0 ? "class=\"bggray\"" : ""; String linkImage = loanNum % 2 == 0 ? "/borrower/images/glb_yellowarrow_gray.gif" : "/borrower/images/glb_yellowarrow.gif"; // Break up the amount into dollars and cents String loanPmtStr= slmSession.getString(prefix + "PaymentAmount"); try { if(loanPmtStr != null && !loanPmtStr.equals("")){ loanPmt = Double.parseDouble(loanPmtStr); } else{ loanPmtStr = "0.00"; } } catch (Exception ex) { // Use default values }%>
<%= slmSession.getString(prefix + "Program") %> $<%= slmSession.getString(prefix + "CurrPrinBal")%> $<%= slmSession.getHtml(slmSession.getString(prefix + "AccruedInterest")) %> $ <%=slmSession.getString(sharedResourceID + ".noData")%>
<%= slmSession.getErrorMessage("error.attach.loanCount" + loanNum) %>
<%slmSession.getString(sharedResourceID + ".PayThisAmountOnThisDate"); %> $0.00 <%=slmSession.getString(sharedResourceID + ".TWO_TO_FOUR_DAYS.selection")%>
<% } // End of if statement to check if there are billing groups %>

<%= slmSession.getString(resourceID + ".PaymentInformationTitle") %>


$ $
Cancel Next Next Next Next
<% if ("true".equals(slmSession.getString("response.EndOfMonth")) && 1 >= Integer.parseInt(slmSession.getString("response.payableBillsNum"))){ %> <% if(Boolean.parseBoolean(slmSession.getString(prefix + "IsSchedulable"))){ %>




<%if(slmSession.isDepartmentOfEd()){%> <%@ include file="/borrower/includes/edGovFooter.jsp" %> <%}else{%> <%@ include file="/borrower/includes/mylFooter.jsp" %> <%}%> <%@include file="/borrower/includes/site_catalyst.jsp" %>

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。