m2u-upass-admin / WebContent / jsp / ss105_content / ibssCheckDigitPrerequisiteDetails.jsp @ 108:3963fd7e8d81
History | View | Annotate | Download (11.7 KB)
1 | 0:ea666cc7880e | hadi | <%@ taglib uri="/WEB-INF/tld/struts-html-el" prefix="htmlEL" %> |
---|---|---|---|
2 | <%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean" %> |
||
3 | <%@ taglib uri="/WEB-INF/tld/c" prefix="c" %> |
||
4 | <%@ taglib uri="/WEB-INF/tld/struts-logic" prefix="logic" %> |
||
5 | <%@page import="java.util.HashMap"%> |
||
6 | |||
7 | <h3 class="title"><STRONG><bean:message key="content_checkDigitPrerequisite_title_checkDigitPrerequisite"/></STRONG></h3><br/> |
||
8 | <table id="errorTable"> |
||
9 | <tr> |
||
10 | <td> |
||
11 | <span id="serverSideError" class="error"><jsp:include flush="true" page="/jsp/errorHandler.jsp"></jsp:include></span> |
||
12 | </td> |
||
13 | </tr> |
||
14 | </table> |
||
15 | <br> |
||
16 | |||
17 | <bean:define id="payeeBean" name="contentForm" property="payeeBean" /> |
||
18 | |||
19 | <htmlEL:form action="/ss105/checkDigit.do"> |
||
20 | <c:choose> |
||
21 | <c:when test="${payeeBean.map.checkDigitForBillAcctNoReq eq 0}"> |
||
22 | <h5 class="title"><STRONG><bean:message key="content_checkDigitPrerequisite_subtitle_billAccountNumber"/></STRONG></h5> |
||
23 | |||
24 | <table class="tabularForm"> |
||
25 | <tr><td colspan="3"> </td></tr> |
||
26 | <tr> |
||
27 | <td width="10%"> </td> |
||
28 | <td width="45%"><bean:message key="content_checkDigit_label_customRule"/>:</td> |
||
29 | |||
30 | <td><strong> |
||
31 | <c:choose> |
||
32 | <c:when test="${payeeBean.map.customRuleForBillAcctNoReq eq 0 && not empty payeeBean.map.customRuleForBillAcctNoReq}"> |
||
33 | <bean:message key="general.yes"/> |
||
34 | </c:when> |
||
35 | <c:otherwise><bean:message key="general.no"/></c:otherwise> |
||
36 | </c:choose> |
||
37 | </strong> |
||
38 | |||
39 | <% |
||
40 | HashMap paramsName = new HashMap(); |
||
41 | paramsName.put("whichOID", "1"); |
||
42 | paramsName.put("SECONDARY_TOKEN", request.getSession().getAttribute("PRIMARY_TOKEN")); |
||
43 | pageContext.setAttribute("paramsName", paramsName); |
||
44 | %> |
||
45 | <c:choose> |
||
46 | <c:when test="${payeeBean.map.customRuleForBillAcctNoReq eq 1 || empty payeeBean.map.customRuleForBillAcctNoReq }"> |
||
47 | <htmlEL:link styleId="checkDigitHyperlink" action="/ss105/checkDigit.do" name="paramsName" onclick="overlay();"> |
||
48 | <i><u><bean:message key="content.payee.customize"/></u></i> |
||
49 | </htmlEL:link> |
||
50 | </c:when> |
||
51 | </c:choose> |
||
52 | <% |
||
53 | HashMap paramsName2 = new HashMap(); |
||
54 | paramsName2.put("whichOID", "4"); |
||
55 | paramsName2.put("SECONDARY_TOKEN", request.getSession().getAttribute("PRIMARY_TOKEN")); |
||
56 | pageContext.setAttribute("paramsName2", paramsName2); |
||
57 | %> |
||
58 | |||
59 | <c:choose> |
||
60 | <c:when test="${payeeBean.map.splitRuleForBillAcctNoReq eq 0 && not empty payeeBean.map.splitRuleForBillAcctNoReq}"> |
||
61 | <htmlEL:link styleId="checkDigitHyperlink" action="/ss105/checkDigit.do" name="paramsName2" onclick="overlay();"> |
||
62 | <i><u><bean:message key="content.payee.customize2"/></u></i> |
||
63 | </htmlEL:link> |
||
64 | </c:when> |
||
65 | </c:choose> |
||
66 | </td> |
||
67 | |||
68 | </tr> |
||
69 | <tr> |
||
70 | <c:if test="${payeeBean.map.customRuleForBillAcctNoReq eq 0 && not empty payeeBean.map.customRuleForBillAcctNoReq}"> |
||
71 | <td width="10%"> </td> |
||
72 | <td width="45%"><bean:message key="content_checkDigit_label_customProgramName"/>:</td> |
||
73 | <td><strong> |
||
74 | <c:choose> |
||
75 | <c:when test="${not empty payeeBean.map.programNameForBillAcctNo}"> |
||
76 | <c:out value="${payeeBean.map.programNameForBillAcctNo}"/> |
||
77 | </c:when> |
||
78 | <c:otherwise>-</c:otherwise> |
||
79 | </c:choose> |
||
80 | </strong></td> |
||
81 | </c:if> |
||
82 | </tr> |
||
83 | |||
84 | <tr> |
||
85 | <c:if test="${payeeBean.map.customRuleForBillAcctNoReq eq 1 || empty payeeBean.map.customRuleForBillAcctNoReq}"> |
||
86 | <td width="10%"> </td> |
||
87 | <td width="45%"><bean:message key="content_payee_split_checkDigitForBillAccountNumber"/>:</td> |
||
88 | <td><strong> |
||
89 | <c:choose> |
||
90 | <c:when test="${payeeBean.map.splitRuleForBillAcctNoReq eq 0 && not empty payeeBean.map.splitRuleForBillAcctNoReq}"> |
||
91 | <bean:message key="general.yes"/> |
||
92 | </c:when> |
||
93 | <c:otherwise><bean:message key="general.no"/></c:otherwise> |
||
94 | </c:choose> |
||
95 | </strong> |
||
96 | </td> |
||
97 | </c:if> |
||
98 | </tr> |
||
99 | |||
100 | <tr> |
||
101 | <c:if test="${payeeBean.map.splitRuleForBillAcctNoReq eq 0 && not empty payeeBean.map.splitRuleForBillAcctNoReq }"> |
||
102 | <td width="10%"> </td> |
||
103 | <td width="45%"><bean:message key="content_payee_conditional_function_checkDigitForBillAccountNumber"/>:</td> |
||
104 | <td><strong> |
||
105 | <c:choose> |
||
106 | <c:when test="${payeeBean.map.checkDigitConditionalFunctionForBillAcctNo eq 0}"> |
||
107 | <bean:message key="general.and"/> |
||
108 | </c:when> |
||
109 | <c:otherwise><bean:message key="general.or"/></c:otherwise> |
||
110 | </c:choose> |
||
111 | </strong> |
||
112 | </td> |
||
113 | </c:if> |
||
114 | </tr> |
||
115 | |||
116 | |||
117 | <tr><td colspan="3"> </td></tr> |
||
118 | </table> |
||
119 | </c:when> |
||
120 | </c:choose> |
||
121 | |||
122 | |||
123 | |||
124 | |||
125 | |||
126 | |||
127 | |||
128 | |||
129 | |||
130 | |||
131 | |||
132 | <c:choose> |
||
133 | <c:when test="${payeeBean.map.checkDigitForBillRef1Req eq 0}"> |
||
134 | <h5 class="title"><STRONG><bean:message key="content_checkDigitPrerequisite_subtitle_billReferenceNo1"/></STRONG></h5> |
||
135 | <table class="tabularForm"> |
||
136 | <tr><td colspan="3"> </td></tr> |
||
137 | <tr> |
||
138 | <td width="10%"> </td> |
||
139 | <td width="45%"><bean:message key="content_checkDigit_label_customRule"/>:</td> |
||
140 | <td><strong> |
||
141 | <c:choose> |
||
142 | <c:when test="${payeeBean.map.customRuleForBillRef1Req eq 0 && not empty payeeBean.map.customRuleForBillRef1Req}"> |
||
143 | <bean:message key="general.yes"/> |
||
144 | </c:when> |
||
145 | <c:otherwise><bean:message key="general.no"/></c:otherwise> |
||
146 | </c:choose> |
||
147 | </strong> |
||
148 | <% |
||
149 | HashMap paramsName = new HashMap(); |
||
150 | paramsName.put("whichOID", "2"); |
||
151 | paramsName.put("SECONDARY_TOKEN", request.getSession().getAttribute("PRIMARY_TOKEN")); |
||
152 | pageContext.setAttribute("paramsName", paramsName); |
||
153 | %> |
||
154 | <c:choose> |
||
155 | <c:when test="${payeeBean.map.customRuleForBillRef1Req eq 1 || empty payeeBean.map.customRuleForBillRef1Req}"> |
||
156 | <htmlEL:link styleId="checkDigitHyperlink" action="/ss105/checkDigit.do" name="paramsName" onclick="overlay();"> |
||
157 | <i><u><bean:message key="content.payee.customize"/></u></i> |
||
158 | </htmlEL:link> |
||
159 | </c:when> |
||
160 | </c:choose> |
||
161 | |||
162 | <% |
||
163 | HashMap paramsName2 = new HashMap(); |
||
164 | paramsName2.put("whichOID", "5"); |
||
165 | paramsName2.put("SECONDARY_TOKEN", request.getSession().getAttribute("PRIMARY_TOKEN")); |
||
166 | pageContext.setAttribute("paramsName2", paramsName2); |
||
167 | %> |
||
168 | <c:choose> |
||
169 | <c:when test="${payeeBean.map.splitRuleForBillRef1Req eq 0 && not empty payeeBean.map.splitRuleForBillRef1Req}"> |
||
170 | <htmlEL:link styleId="checkDigitHyperlink" action="/ss105/checkDigit.do" name="paramsName2" onclick="overlay();"> |
||
171 | <i><u><bean:message key="content.payee.customize2"/></u></i> |
||
172 | </htmlEL:link> |
||
173 | </c:when> |
||
174 | </c:choose> |
||
175 | </td> |
||
176 | |||
177 | </tr> |
||
178 | <tr> |
||
179 | <c:if test="${payeeBean.map.customRuleForBillRef1Req eq 0 && not empty payeeBean.map.customRuleForBillRef1Req}"> |
||
180 | <td width="10%"> |
||
181 | </td> |
||
182 | <td width="45%"><bean:message key="content_checkDigit_label_customProgramName"/>: |
||
183 | </td> |
||
184 | <td> |
||
185 | <strong> |
||
186 | <c:choose> |
||
187 | <c:when test="${not empty payeeBean.map.programNameForBillRef1}"> |
||
188 | <c:out value="${payeeBean.map.programNameForBillRef1}"/> |
||
189 | </c:when> |
||
190 | <c:otherwise>-</c:otherwise> |
||
191 | </c:choose> |
||
192 | </strong> |
||
193 | </td> |
||
194 | </c:if> |
||
195 | </tr> |
||
196 | <tr> |
||
197 | <c:if test="${payeeBean.map.customRuleForBillRef1Req eq 1 || empty payeeBean.map.customRuleForBillRef1Req}"> |
||
198 | <td width="10%"> </td> |
||
199 | <td width="45%"><bean:message key="content_payee_split_checkDigitForBillReferenceNo1"/>:</td> |
||
200 | <td><strong> |
||
201 | <c:choose> |
||
202 | <c:when test="${payeeBean.map.splitRuleForBillRef1Req eq 0 && not empty payeeBean.map.splitRuleForBillRef1Req }"> |
||
203 | <bean:message key="general.yes"/> |
||
204 | </c:when> |
||
205 | <c:otherwise><bean:message key="general.no"/></c:otherwise> |
||
206 | </c:choose> |
||
207 | </strong> |
||
208 | </td> |
||
209 | </c:if> |
||
210 | </tr> |
||
211 | <tr> |
||
212 | <c:if test="${payeeBean.map.splitRuleForBillRef1Req eq 0 && not empty payeeBean.map.splitRuleForBillRef1Req}"> |
||
213 | <td width="10%"> </td> |
||
214 | <td width="45%"><bean:message key="content_payee_conditional_function_checkDigitForBillRef1"/>:</td> |
||
215 | <td><strong> |
||
216 | <c:choose> |
||
217 | <c:when test="${payeeBean.map.checkDigitConditionalFunctionForBillRef1 eq 0}"> |
||
218 | <bean:message key="general.and"/> |
||
219 | </c:when> |
||
220 | <c:otherwise><bean:message key="general.or"/></c:otherwise> |
||
221 | </c:choose> |
||
222 | </strong> |
||
223 | </td> |
||
224 | </c:if> |
||
225 | </tr> |
||
226 | <tr> |
||
227 | <td colspan="3"> |
||
228 | </td> |
||
229 | </tr> |
||
230 | </table> |
||
231 | </c:when> |
||
232 | </c:choose> |
||
233 | |||
234 | |||
235 | |||
236 | |||
237 | |||
238 | |||
239 | |||
240 | |||
241 | <c:choose> |
||
242 | <c:when test="${payeeBean.map.checkDigitForBillRef2Req eq 0}"> |
||
243 | <h5 class="title"><STRONG><bean:message key="content_checkDigitPrerequisite_subtitle_billReferenceNo2"/></STRONG></h5> |
||
244 | <table class="tabularForm"> |
||
245 | <tr><td colspan="3"> </td></tr> |
||
246 | <tr> |
||
247 | <td width="10%"> </td> |
||
248 | <td width="45%"><bean:message key="content_checkDigit_label_customRule"/>:</td> |
||
249 | <td><strong> |
||
250 | <c:choose> |
||
251 | <c:when test="${payeeBean.map.customRuleForBillRef2Req eq 0 && not empty payeeBean.map.customRuleForBillRef2Req}"> |
||
252 | <bean:message key="general.yes"/> |
||
253 | </c:when> |
||
254 | <c:otherwise><bean:message key="general.no"/></c:otherwise> |
||
255 | </c:choose> |
||
256 | </strong> |
||
257 | <% |
||
258 | HashMap paramsName = new HashMap(); |
||
259 | paramsName.put("whichOID", "3"); |
||
260 | paramsName.put("SECONDARY_TOKEN", request.getSession().getAttribute("PRIMARY_TOKEN")); |
||
261 | pageContext.setAttribute("paramsName", paramsName); |
||
262 | %> |
||
263 | <c:choose> |
||
264 | <c:when test="${payeeBean.map.customRuleForBillRef2Req eq 1 || empty payeeBean.map.customRuleForBillRef2Req}"> |
||
265 | <htmlEL:link styleId="checkDigitHyperlink" action="/ss105/checkDigit.do" name="paramsName" onclick="overlay();"> |
||
266 | <i><u><bean:message key="content.payee.customize"/></u></i> |
||
267 | </htmlEL:link> |
||
268 | </c:when> |
||
269 | </c:choose> |
||
270 | |||
271 | <% |
||
272 | HashMap paramsName2 = new HashMap(); |
||
273 | paramsName2.put("whichOID", "6"); |
||
274 | paramsName2.put("SECONDARY_TOKEN", request.getSession().getAttribute("PRIMARY_TOKEN")); |
||
275 | pageContext.setAttribute("paramsName2", paramsName2); |
||
276 | %> |
||
277 | <c:choose> |
||
278 | <c:when test="${payeeBean.map.splitRuleForBillRef2Req eq 0 && not empty payeeBean.map.splitRuleForBillRef2Req}"> |
||
279 | <htmlEL:link styleId="checkDigitHyperlink" action="/ss105/checkDigit.do" name="paramsName2" onclick="overlay();"> |
||
280 | <i><u><bean:message key="content.payee.customize2"/></u></i> |
||
281 | </htmlEL:link> |
||
282 | </c:when> |
||
283 | </c:choose> |
||
284 | </td> |
||
285 | </tr> |
||
286 | |||
287 | <tr> |
||
288 | <c:if test="${payeeBean.map.customRuleForBillRef2Req eq 0 && not empty payeeBean.map.customRuleForBillRef2Req}"> |
||
289 | <td width="10%"> </td> |
||
290 | <td width="45%"><bean:message key="content_checkDigit_label_customProgramName"/>:</td> |
||
291 | <td><strong> |
||
292 | <c:choose> |
||
293 | <c:when test="${not empty payeeBean.map.programNameForBillRef2}"> |
||
294 | <c:out value="${payeeBean.map.programNameForBillRef2}"/> |
||
295 | </c:when> |
||
296 | <c:otherwise>-</c:otherwise> |
||
297 | </c:choose> |
||
298 | </strong></td> |
||
299 | </c:if> |
||
300 | </tr> |
||
301 | <tr> |
||
302 | <c:if test="${payeeBean.map.customRuleForBillRef2Req eq 1 || empty payeeBean.map.customRuleForBillRef2Req}"> |
||
303 | <td width="10%"> </td> |
||
304 | <td width="45%"><bean:message key="content_payee_split_checkDigitForBillReferenceNo2"/>:</td> |
||
305 | <td><strong> |
||
306 | <c:choose> |
||
307 | <c:when test="${payeeBean.map.splitRuleForBillRef2Req eq 0 && not empty payeeBean.map.splitRuleForBillRef2Req}"> |
||
308 | <bean:message key="general.yes"/> |
||
309 | </c:when> |
||
310 | <c:otherwise><bean:message key="general.no"/></c:otherwise> |
||
311 | </c:choose> |
||
312 | </strong> |
||
313 | </td> |
||
314 | </c:if> |
||
315 | </tr> |
||
316 | <tr> |
||
317 | <c:if test="${payeeBean.map.splitRuleForBillRef2Req eq 0 && not empty payeeBean.map.splitRuleForBillRef2Req}"> |
||
318 | <td width="10%"> </td> |
||
319 | <td width="45%"><bean:message key="content_payee_conditional_function_checkDigitForBillRef2"/>:</td> |
||
320 | <td><strong> |
||
321 | <c:choose> |
||
322 | <c:when test="${payeeBean.map.checkDigitConditionalFunctionForBillRef2 eq 0}"> |
||
323 | <bean:message key="general.and"/> |
||
324 | </c:when> |
||
325 | <c:otherwise><bean:message key="general.or"/></c:otherwise> |
||
326 | </c:choose> |
||
327 | </strong> |
||
328 | </td> |
||
329 | </c:if> |
||
330 | </tr> |
||
331 | <tr><td colspan="3"> </td></tr> |
||
332 | </table> |
||
333 | </c:when> |
||
334 | </c:choose> |
||
335 | |||
336 | </htmlEL:form> |
||
337 | <div class="floatRight"> |
||
338 | <htmlEL:form action="/ss105/checkDigitPrerequisiteEdit.do"> |
||
339 | <c:if test="${contentForm.map.hasCheckDigitEditAccess eq true}"> |
||
340 | <htmlEL:submit property="action" styleClass="button floatRight" onclick="overlay();"> |
||
341 | <bean:message key="general.button.edit"/> |
||
342 | </htmlEL:submit> |
||
343 | </c:if> |
||
344 | </div> |
||
345 | </htmlEL:form> |
||
346 | <div class="floatRight"> |
||
347 | |||
348 | <htmlEL:form action="/ss105/PayeeDetails.do"> |
||
349 | <htmlEL:cancel property="action" styleClass="button floatRight" onclick="overlay();"> |
||
350 | <bean:message key="general.button.back"/> |
||
351 | </htmlEL:cancel> |
||
352 | </htmlEL:form> |
||
353 | </div> |
||
354 | |||
355 |