| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- <%@ include file="../common/header.jsp"%>
- <script type="text/javascript" language="javascript">
- <!--
- function doViewStatement(account){
- var form = document.forms.inquiry;
- form.account.value=account;
- form.action.value="view_statement";
- form.submit();
- }
-
- function doViewBalanceSearch(){
- var message = "";
- var focus = false;
- var form = document.forms.inquiry;
- if (trim(form.currency.value).length == 0) {
- message = message + ("<bean:message key="error.inquiry.currency"/>\n");
- if (!focus) form.currency.focus(); focus = true;
- }
- if(message == "") {
- document.forms.inquiry.action.value="view_balance_search";
- document.forms.inquiry.submit();
- doDisable(document.forms.inquiry, "button");
- } else {
- alert(message);
- }
- }
- -->
- </script>
- <form name="inquiry" action="inquiry.do" method="POST" >
- <input type="hidden" name="action"/>
- <input type="hidden" name="sequence"/>
- <input type="hidden" name="account">
- <input type="hidden" name="redirect" value="create"/>
-
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <td class="titleHeader" align="left"><bean:message key="project.inquiryBalance.key"/></td>
- </table>
-
- <table border="0" width="98%" align="center" cellpadding="2" cellspacing="1">
- <tr><td><html:errors/></td></tr>
- </table>
-
- <table border="0" width="98%" align="center" class="td" cellpadding="2" cellspacing="1">
- <tr align = "left">
- <td width="15%"><b><bean:message key="inquiryBalance.biller.key" /></b></td>
- <td width="1%">:</td>
- <td width="84%">
- <bean:write name="billerName"/>
- </td>
- </tr>
- <tr>
- <td width="15%" valign="top"><b><bean:message key="inquiryBalance.currency.key" /><font color="#FF0000">*</font></b></td>
- <td width="1%" valign="top">:</td>
- <td width="84%" valign="top">
- <select name="currency" style="width:300">
- <option value="">-- Select Currency --</option>
- <logic:notEmpty name="currencyList">
- <logic:iterate id="element_currency" name="currencyList" >
- <option value="<bean:write name="element_currency" property="currency"/>"
- <logic:equal name="currencyStr" value="${element_currency.currency}">
- selected
- </logic:equal>
- ><bean:write name="element_currency" property="currency" /></option>
- </logic:iterate>
- </logic:notEmpty>
- </select>
- </td>
- </tr>
- <tr>
- <td width="15%"></td>
- <td width="1%"></td>
- <td><input type="button" value=<bean:message key="button.view"/> onclick="doViewBalanceSearch();" ></td>
- <td colspan="4"> </td>
- </tr>
- </table>
-
- <logic:notEmpty name="balanceList">
- <table border="0" width="98%" align="center" class="td" cellpadding="2" cellspacing="1">
- <tr align = "left">
- <td width="15%"><b><bean:message key="inquiryBalance.total.key" /></b></td>
- <td width="1%">:</td>
- <td width="84%">
- <logic:notEmpty name="totalBalance">
- <bean:write name="totalBalance" format="#,##0.00" />
- </logic:notEmpty>
- </td>
- </tr>
- </table>
- <br/>
- <table border="0" width="98%" align="center" class="td" cellpadding="2" cellspacing="1">
- <tr>
- <td class="titleField" width="30%"><bean:message key="inquiryBalance.account.key"/></td>
- <td class="titleField" width="40%"><bean:message key="inquiryBalance.accountName.key"/></td>
- <td class="titleField" width="30%"><bean:message key="inquiryBalance.balance.key"/></td>
- </tr>
- <logic:notEmpty name="balanceList">
- <logic:iterate id="element" name="balanceList" scope="request" indexId="index">
- <tr>
- <td align="left" class="celBorder">
- <a href="#" onclick="doViewStatement('<bean:write name="element" property="accountNumb"/>');"><bean:write name="element" property="account"/> </a>
- </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="sname"/>
- </td>
- <td align="right" class="celBorder">
- <bean:write name="element" property="balance" format="#,##0.00" />
- </td>
- </tr>
- </logic:iterate>
- </logic:notEmpty>
- </table>
- <table border="1" width="98%" align="center" class="td" cellpadding="2" cellspacing="1">
- <tr>
- <td align="right" width="70%">
- <b><bean:message key="inquiryBalance.total.key"/></b>
- </td>
- <td align="right" width="30%">
- <logic:notEmpty name="totalBalance">
- <b><bean:write name="totalBalance" format="#,##0.00" /></b>
- </logic:notEmpty>
- </td>
- </tr>
- </table>
- </logic:notEmpty>
- </FORM>
- <%@ include file="../common/footer.jsp" %>
|