Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ include file="/include.jsp"%>
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <%@ taglib prefix="myapp" tagdir="/WEB-INF/tags"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><spring:message code="myapp.transaction.title.detail" htmlEscape="false"/></title>
- <script type="text/javascript" src="${myapp_script}/Controls.js"></script>
- <script type="text/javascript" src="${myapp_script}/Transactions.js"></script>
- <script type="text/javascript" src="${myapp_script}/lib/jquery.autocomplete.js"></script>
- <script type="text/javascript" src="${myapp_script}/transactionDefaults.js"></script>
- <script type="text/javascript" src="${myapp_script}/loading.js"></script>
- <script type="text/javascript" src="${myapp_script}/Controls.js"></script>
- <script language="JavaScript" src="${myapp_script}/InstructionalText.js"></script>
- <script type="text/javascript" src="${myapp_script}/dirtyform.js"></script>
- <script type="text/javascript">
- $(document).ready(function(){
- initializePage($("#transactionLineItemTable"));
- initializeTransactionNotesText('txtNotes','3000', 'noteMessageDiv');
- // Defect R4 - 10848 Start
- $('#txtNotes').keyup(function() {
- limitCharsForNotes('txtNotes','3000','noteMessageDiv');
- });
- $('#txtNotes').change(function() {
- limitCharsForNotes('txtNotes','3000','noteMessageDiv');
- });
- // Defect R4 - 10848 End
- $("#btnSave").click( function(){
- saveTxn();
- });
- });
- //R4
- $(function(){
- $("#transactionSetUpForm").dirty_form();
- });
- </script>
- </head>
- <body>
- <c:if test="${txnFormBean.sourcePage eq 'S' && navigationBean.centralBill ne true}">
- <myapp:titleBarWithListLink
- returnHref="/app/statement/detail?accountId=${accountId}&accountType=${accountType}&billingDate=${billingDate}&sourcePage=${navigationBean.stmtSourcePage}"
- pageTitleCode="myapp.transaction.title.detail"
- linkText="myapp.statement.print.link.detailPage"
- dirtyFormCheck="true"/>
- </c:if>
- <c:if test="${txnFormBean.sourcePage eq 'S' && navigationBean.centralBill eq true}">\
- <myapp:titleBarWithListLink
- returnHref="/app/statement/detail?accountId=${accountId}&accountType=${accountType}&billingDate=${billingDate}&sourcePage=C"
- pageTitleCode="myapp.transaction.title.detail"
- linkText="myapp.statement.print.link.detailPage"
- dirtyFormCheck="true"/>
- </c:if>
- <c:if test="${txnFormBean.sourcePage eq 'MU' }">
- <myapp:titleBarWithListLink
- returnHref= "${massUpdateURL}"
- pageTitleCode="myapp.transaction.title.detail"
- linkText="myapp.massUpdate.print.link.requestDetailPage"
- dirtyFormCheck="true"/>
- </c:if>
- <c:if test="${txnFormBean.sourcePage ne 'S' }">
- <c:if test="${txnFormBean.sourcePage ne 'MU' }" >
- <c:choose>
- <c:when test="${listLinkEnabled eq 'Y'}">
- <myapp:titleBarWithListLink
- returnHref="list"
- pageTitleCode="myapp.transaction.title.detail"
- dirtyFormCheck="true"/>
- </c:when>
- <c:otherwise>
- <myapp:titleBar pageTitleCode="myapp.transaction.title.detail"/>
- </c:otherwise>
- </c:choose>
- </c:if>
- </c:if>
- <form:form modelAttribute="txnFormBean" name="transactionSetUpForm" id="transactionSetUpForm" method="POST">
- <myapp:displayMessages name="txnFormBean" />
- <spring:message code="myapp.query.advancedQuery.link.CustomFieldDetail.text" var="customField_tooltip"/>
- <div class="contentContainer center">
- <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/SAVEBUTTON" var="saveProtected" />
- <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/ADDLINESBUTTON" var="addLineProtected" />
- <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/Cancel/UndoDisputebutton" var="cancelUndoProtected" />
- <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/Disputebutton" var="disputeProtected" />
- <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/ACCOUNTNUMBERLINK" var="accountLinkProtected" />
- <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/MCCHYPERLINK" var="mccLinkProtected" />
- <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/MERCHANTHYPERLINK" var="merchantLinkProvided" />
- <authz:isAuthz resourceName="TRANSACTION/REVIEWER" var="protectedReviewer" />
- <authz:isAuthz resourceName="TRANSACTION/APPROVER" var="protectedApprover" />
- <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/VIEWORDERHYPERLINK" var="vieworderLinkProvided" />
- <authz:isAuthz resourceName="TRANSACTION/RECEIPTLIST" var="viewreceiptListProtected" />
- <div class="formDiv">
- <div class="formHeaderBar">
- <div class="formTabSelected"><a class="tabSelected"><spring:message code="myapp.transaction.tab.generalinfo" htmlEscape="false"/></a></div>
- <c:if test="${!viewreceiptListProtected}">
- <div class="formTab">
- <span>
- <a href="receiptlist?sourcePage=${txnFormBean.sourcePage}&addendum=${txnFormBean.addendum}&massUpdateReturnURL=${txnFormBean.massUpdateReturnURL}&id=${txnFormBean.transactionID}" class="tab">
- <spring:message code="myapp.transaction.tab.receipt" htmlEscape="false"/></a>
- </span>
- </div>
- </c:if>
- <c:if test="${txnFormBean.addendum}">
- <div class="formTab">
- <span>
- <a href="detailAddendum?id=${txnFormBean.transactionID}&sourcePage=${txnFormBean.sourcePage}&massUpdateReturnURL=${txnFormBean.massUpdateReturnURL}" class="tab">
- <spring:message code="myapp.transaction.tab.addendum" htmlEscape="false"/></a>
- </span>
- </div>
- </c:if>
- <c:if test="${!txnFormBean.addendum}">
- <div class="formTabDisabled">
- <span class="disabled">
- <spring:message code="myapp.transaction.tab.addendum" htmlEscape="false"/>
- </span>
- </div>
- </c:if>
- <div class="formTab"> <authz:isAuthz resourceName="TRANSACTION/DETAIL/HISTORYHYPERLINK">
- <a href="${myapp_app}/transaction/history?sourcePage=${txnFormBean.sourcePage}&massUpdateReturnURL=${txnFormBean.massUpdateReturnURL}&id=${txnFormBean.transactionID}" class="tab"><spring:message code="myapp.transaction.link.history" htmlEscape="false"/>
- </a>
- </authz:isAuthz> </div>
- <div class="formTabRemainderUpperNav">
- <c:if test="${sessionScope.preNextNavigation != null && sessionScope.preNextNavigation.showPrevNextInd eq 'true'}">
- <myapp:previousNextNavigation nexId="${sessionScope.preNextNavigation.nextId}" lastId="${sessionScope.preNextNavigation.lastId}" detailUrl='${myapp_app}/transaction/detail?${pageContext.request.queryString}' previousId="${sessionScope.preNextNavigation.previousId}" currentIdIndex="${sessionScope.preNextNavigation.currentIdIndex}" firstId="${sessionScope.preNextNavigation.firstId}" totalPrevNextIdCount="${sessionScope.preNextNavigation.totalPrevNextIdCount}"/>
- </c:if>
- </div>
- </div>
- <div class="formContainer">
- <table>
- <tr>
- <td><!-- Data -->
- <table>
- <tr>
- <td><img
- src="${myapp_image}/Spacer.gif" alt="" /></td>
- <td > </td>
- <td><img
- src="${myapp_image}/Spacer.gif" alt="" /></td>
- </tr>
- <tr>
- <td><!-- Button Row Start --></td>
- <td aaa:relevant="all" aaa:live="polite">
- <div class="floatleft">
- <input id="btnSave" type="submit" name="btnSave"
- value="<spring:message code='myapp.save.button' htmlEscape="false"/>"
- class="formButton" <c:if test="${saveProtected}">disabled</c:if>/>
- <img src="${myapp_image}/Spacer.gif"
- width="1" height="1" alt="" />
- </div>
- <div class="floatleft">
- <input type="submit" name="btnAddLines"
- value="Add Lines"
- onclick="Javascript: return displayControls();" id="btnAddLines"
- class="formButton" <c:if test="${addLineProtected || txnFormBean.disableAddLines}">disabled</c:if>/>
- <img src="${myapp_image}/Spacer.gif"
- width="1" height="1" alt="" />
- </div>
- <div class="alignButtons">
- <input type="button"
- name="btnRemoveLines" value="Remove Lines"
- onclick="Javascript: clickRemove();" id="btnRemoveLines"
- class="formButton hideDiv" <c:if test="${addLineProtected || txnFormBean.disableAddLines}">disabled</c:if> />
- <img src="${myapp_image}/Spacer.gif"
- width="1" height="1" alt="" />
- </div>
- <div class="floatleft">
- <input
- type="button" name="btnDispute" value="Dispute"
- onclick="window.location = 'dispute?id=${txnFormBean.transactionID}&sourcePage=${txnFormBean.sourcePage}'"
- id="btnDispute" class="formButton" <c:if test="${disputeProtected || disableDisputeButton}">disabled</c:if>/>
- <img src="${myapp_image}/Spacer.gif"
- width="1" height="1" alt="" />
- </div>
- <div class="floatleft" style="margin-left:3px;margin-right:3px;">
- <input name="txtAddLines" type="text" value="Enter # of Lines"
- id="txtAddLines" disabled="disabled" class="hideDiv"
- onChange="" />
- <img src="${myapp_image}/Spacer.gif"
- width="1" height="1" alt="" />
- </div>
- <div class="alignButtons">
- <input type="button"
- name="btnAddLines2" value="Add" id="btnAddLines2"
- disabled="disabled" class="formButton hideDiv"
- onclick="Javascript: ShowRemoveBtn(); clickAdd();"/>
- <img src="${myapp_image}/Spacer.gif"
- width="1" height="1" alt="" />
- </div>
- <div class="alignButtons">
- <input type="submit" name="btnCancel"
- value="Cancel" id="btnCancel" disabled="disabled"
- class="formButton hideDiv"
- onclick="Javascript: return btnCancel_OnClick('Enter # of Lines');"/>
- <img src="${myapp_image}/Spacer.gif"
- width="1" height="1" alt="" />
- </div>
- <div class="floatleft">
- <input id="btnCancelDispute" type="submit" name="btnCancelDispute"
- value="<spring:message code='myapp.transaction.dispute.cancel.button' htmlEscape="false"/>"
- class="formButton" <c:if test="${cancelUndoProtected || disableDisputeButton} ">disabled</c:if>/>
- <img src="${myapp_image}/Spacer.gif"
- width="1" height="1" alt="" />
- </div>
- <div class="floatleft">
- <input id="btnResolve" type="submit" name="btnResolve"
- value="<spring:message code='myapp.transaction.dispute.resolve.button' htmlEscape="false"/>"
- class="formButton" <c:if test="${cancelUndoProtected || disableDisputeButton}">disabled</c:if>/>
- <img src="${myapp_image}/Spacer.gif"
- width="1" height="1" alt="" />
- </div>
- <c:choose>
- <c:when test="${txnFormBean.orderId!=0 && (txnFormBean.orderPageTab == 'query') && (!vieworderLinkProvided)}">
- <div class="floatright">
- <span>
- <a href="${myapp_app}/order/recon/query/list?orderId=${txnFormBean.orderId}"><spring:message code="myapp.transaction.link.vieworder" htmlEscape="false"/></a>
- </span>
- </div>
- </c:when>
- <c:otherwise>
- <c:if test="${txnFormBean.orderId!=0 && (txnFormBean.accountType == 'A' || txnFormBean.orderPageTab == 'match') && (!vieworderLinkProvided)}">
- <div class="floatright">
- <span>
- <a href="${myapp_app}/order/recon/match/list?orderId=${txnFormBean.orderId}"><spring:message code="myapp.transaction.link.vieworder" htmlEscape="false"/></a>
- </span>
- </div>
- </c:if>
- </c:otherwise>
- </c:choose>
- </td>
- <td></td>
- <td><!-- Button Row End --></td>
- </tr>
- <tr>
- <td colspan="3">
- <hr class="hr"/>
- </td>
- </tr>
- <tr>
- <td><!-- data margin --></td>
- <td><!-- Bottom -->
- <table>
- <tr>
- <td class="fiftypercent"></td>
- <td class="fiftypercent"></td>
- </tr>
- <tr>
- <td valign="top"><!-- bottom left -->
- <table>
- <tr>
- <td class="thirtypercent"><img src="${myapp_image}/Spacer.gif"
- width="1" height="1" alt="" /></td>
- <td><img src="${myapp_image}/Spacer.gif"
- width="1" height="1" alt="" /></td>
- </tr>
- <c:if test="${txnFormBean.disputeStatus != 'N' && txnFormBean.disputeStatus != null && txnFormBean.disputeStatus != ''}">
- <tr>
- <td class="label">
- <label for="lblDisputeStatus" id="lblDisputeStatus">
- <span class="margin">
- <spring:message code="myapp.transaction.label.disputestatus" htmlEscape="false"/>
- </span>
- </label>
- </td>
- <td class="formField">
- <span id="lblDisputeStatusValue" >
- <spring:message code="${txnFormBean.disputeStatusKeyCode}" htmlEscape="false"/>
- </span>
- </td>
- </tr>
- </c:if>
- <tr>
- <td class="label">
- <label for="lblSettlementMethodValue" id="lblSettlementMethod">
- <spring:message code="myapp.transaction.label.settlementmethod" htmlEscape="false"/>
- </label>
- </td>
- <td class="formField">
- <span id="lblSettlementMethodValue">
- <c:out
- value="${txnFormBean.settlementMethod}" />
- </span>
- </td>
- </tr>
- <tr>
- <td class="label">
- <label for="lblTransactionTypeValue" id="lblTransactionType">
- <spring:message code="myapp.transaction.label.transactiontype" htmlEscape="false"/>
- </label>
- </td>
- <td class="formField">
- <span id="lblTransactionTypeValue">
- <c:out value="${txnFormBean.transactionType}" />
- </span>
- </td>
- </tr>
- <!-- module access needs to be checked -->
- <tr>
- <td class="label">
- <label for="lblAccountNumberValue" id="lblAccountNumber" >
- <spring:message code="myapp.transaction.label.accountnumber" htmlEscape="false"/>
- </label>
- </td>
- <td class="formField">
- <span id="lblAccountNumberValue">
- <c:if test="${!accountLinkProtected && txnFormBean.accountType ne 'A'}">
- <a href="${myapp_app}/account/generalInformation?accountId=${txnFormBean.accountId}&cardType=${txnFormBean.accountType}&sourcePage=${myapp_app}/transaction/detail?id=${txnFormBean.transactionID}&sourceLinkText=0" title="<spring:message code='myapp.payment.accountDetails.link' htmlEscape="false"/>">
- <c:out value="${txnFormBean.accountNumber}" /></a>
- </c:if>
- <c:if test="${!accountLinkProtected && txnFormBean.accountType eq 'A'}">
- <a href="${myapp_app}/account/controls?accountId=${txnFormBean.accountId}&cardType=${txnFormBean.accountType}&sourcePage=${myapp_app}/transaction/detail?id=${txnFormBean.transactionID}&sourceLinkText=0" title="<spring:message code='myapp.payment.accountDetails.link' htmlEscape="false"/>">
- <c:out value="${txnFormBean.accountNumber}" /></a>
- </c:if>
- <c:if test="${accountLinkProtected}">
- <c:out value="${txnFormBean.accountNumber}" />
- </c:if>
- </span>
- </td>
- </tr>
- <tr>
- <td class="label">
- <label for="lblTransactionDateValue" id="lblTransactionDate">
- <spring:message code="myapp.transaction.label.transactiondate" htmlEscape="false"/>
- </label>
- </td>
- <td class="formField">
- <span id="lblTransactionDateValue">
- <fmt:formatDate value="${txnFormBean.transactionDate}" pattern="MM/dd/yy"/>
- </span>
- </td>
- </tr>
- <tr>
- <td class="label">
- <label for="lblPostDateValue" id="lblPostDate">
- <spring:message code="myapp.transaction.label.postdate" htmlEscape="false"/>
- </label>
- </td>
- <td class="formField">
- <span id="lblPostDateValue">
- <fmt:formatDate value="${txnFormBean.postDate}" pattern="MM/dd/yy"/>
- </span>
- </td>
- </tr>
- <!-- module access needs to be checked -->
- <tr>
- <td class="label">
- <label for="lblMCCValue" id="lblMCC" >
- <spring:message code="myapp.transaction.label.mcc" htmlEscape="false"/>
- </label>
- </td>
- <td class="formField">
- <span id="lblMCCValue">
- <c:if test="${!mccLinkProtected && txnFormBean.sourcePage ne 'S'}">
- <a href="${myapp_app}/mcc/detail?sourcePageMCCMerchant=txn&txnId=${txnFormBean.transactionID}&id=<c:out value='${txnFormBean.mccId}' />" title="<spring:message code='myapp.payment.mccDetails.link' htmlEscape="false"/>"><c:out value="${txnFormBean.mccCode}" /></a>
- </c:if>
- <c:if test="${!mccLinkProtected && txnFormBean.sourcePage eq 'S'}">
- <a href="${myapp_app}/mcc/detail?sourcePageMCCMerchant=txn&txnId=${txnFormBean.transactionID}&id=<c:out value='${txnFormBean.mccId}'/>" title="<spring:message code='myapp.payment.mccDetails.link' htmlEscape="false"/>">
- <c:out value="${txnFormBean.mccCode}" /></a>
- </c:if>
- <c:if test="${mccLinkProtected}">
- <c:out value="${txnFormBean.mccCode}" />
- </c:if>
- </span>
- </td>
- </tr>
- <!-- module access needs to be checked -->
- <tr>
- <td class="label">
- <label for="lblMerchantValue" id="lblMerchant" >
- <spring:message code="myapp.transaction.label.merchant" htmlEscape="false"/>
- </label>
- </td>
- <td class="sixtypercent" align="left" valign="top">
- <span id="lblMerchantValue">
- <c:if test="${!merchantLinkProvided && txnFormBean.sourcePage ne 'S'}">
- <a href="${myapp_app}/merchant/detail/generalInformation?sourcePageMCCMerchant=txnmer&Id=${txnFormBean.transactionID}&id=<c:out value='${txnFormBean.merchantId}'/>" title="<spring:message code='myapp.payment.merchant.details.link' htmlEscape="false"/>">
- <c:out value="${txnFormBean.merchant}" /></a>
- </c:if>
- <c:if test="${!mccLinkProtected && txnFormBean.sourcePage eq 'S'}">
- <a href="${myapp_app}/merchant/detail/generalInformation?sourcePageMCCMerchant=txnmer&Id=${txnFormBean.transactionID}&id=<c:out value='${txnFormBean.merchantId}'/>" title="<spring:message code='myapp.payment.merchant.details.link' htmlEscape="false"/>">
- <c:out value="${txnFormBean.merchant}" /></a>
- </c:if>
- <c:if test="${merchantLinkProvided}">
- <c:out value="${txnFormBean.merchant}" />
- </c:if>
- </span>
- </td>
- </tr>
- <tr>
- <td class="label"> </td>
- <td class="formField">
- <span id="lblMerchantCity">
- <c:out value="${txnFormBean.merchantLocation}" />
- </span>
- </td>
- </tr>
- <tr>
- <td class="label" colspan="2"> </td>
- </tr>
- <tr>
- <td class="label bold">
- <span id="lblParentMerchant">
- <spring:message code="myapp.transaction.label.parentmerchant" htmlEscape="false"/>
- </span>
- </td>
- <td class="formField">
- <span id="lblParentMerchantValue">
- <c:out value="${txnFormBean.parentMerchant}" />
- </span>
- </td>
- </tr>
- <tr>
- <td class="label">
- <label for="chkExported" id="lblExported" >
- <spring:message code="myapp.transaction.label.exported" htmlEscape="false"/>
- </label>
- </td>
- <td class="formField">
- <span disabled="disabled" title="Exported">
- <input id="chkExported" type="checkbox" name="chkExported"
- disabled="disabled"
- <c:if test="${txnFormBean.exported}">checked</c:if> />
- </span>
- </td>
- </tr>
- <tr>
- <td class="label"></td>
- <td class="formField"></td>
- </tr>
- <tr>
- <td class="label">
- <label for="lblCustomerCodeValue" id="lblCustomerCode" >
- <spring:message code="myapp.transaction.label.customercode" htmlEscape="false"/>
- </label>
- </td>
- <td class="formField">
- <span id="lblCustomerCodeValue">
- <c:out value="${txnFormBean.customerCode}" />
- </span>
- </td>
- </tr>
- <tr>
- <td class="label">
- <label for="lblMicroreferenceValue" id="lblMicroreference">
- <spring:message code="myapp.transaction.label.microref" htmlEscape="false"/>
- </label>
- </td>
- <td class="formField">
- <span id="lblMicroreferenceValue">
- <c:out value="${txnFormBean.microRefNumber}" />
- </span>
- </td>
- </tr>
- <tr>
- <td class="label">
- <label for="lblAuthorizationNumberValue" id="lblAuthorizationNumber">
- <spring:message code="myapp.transaction.label.authorizationnumber" htmlEscape="false"/>
- </label>
- </td>
- <td class="formField">
- <span id="lblAuthorizationNumberValue" >
- <c:out value="${txnFormBean.authorizationNumber}" />
- </span>
- </td>
- </tr>
- <tr>
- <td class="label">
- <label for="lblTransactionIdValue" id="lblTransactionId" >
- <spring:message code="myapp.transaction.label.transactionid" htmlEscape="false"/>
- </label>
- </td>
- <td class="formField">
- <span id="lblTransactionIdValue">
- <c:out value="${txnFormBean.txnSystemSequenceNumber}" />
- </span>
- </td>
- </tr>
- <tr>
- <td class="label" colspan="2"> </td>
- </tr>
- <tr>
- <td class="label bold">
- <span id="lblOriginalCurrency">
- <spring:message code="myapp.transaction.label.origcurrency" htmlEscape="false"/>
- </span>
- </td>
- <td class="formField">
- <span id="lblOriginalCurrencyValue">
- <c:out value="${txnFormBean.originalCurrency}" />
- </span>
- </td>
- <td class="formField">
- <span id="lblOriginalCurrencyValue">
- <c:out value="${txnFormBean.originalCurrency}" />
- </span>
- </td>
- </tr>
- <tr>
- <td class="label">
- <label for="lblOriginalAmountValue" id="lblOriginalAmount">
- <spring:message code="myapp.transaction.label.origamount" htmlEscape="false"/>
- </label>
- <!-- <! CURRENCY FIXES FOR FORIEGN or other CURRENCIES BY W272081> -->
- </td>
- <td class="formField">
- <span id="lblOriginalAmountValue">
- <fmt:formatNumber type="currency" value="${txnFormBean.originalAmount}" currencySymbol="${txnFormBean.originalCurrencySymbol}" />
- </span>
- <input name="hidOriginalAmountValue" type="hidden"
- id="hidOriginalAmountValue" value="80.88000" />
- </td>
- </tr>
- <tr>
- <td class="label">
- <label for="lblTaxValue" id="lblTax" >
- <spring:message code="myapp.transaction.label.tax" htmlEscape="false"/>
- </label>
- </td>
- <td class="formField">
- <span id="lblTaxValue">
- <fmt:formatNumber type="currency" value="${txnFormBean.tax}" currencySymbol= "${txnFormBean.originalCurrencySymbol}" />
- </span>
- </td>
- </tr>
- <tr>
- <td class="label">
- <label for="lblSettlementCurrencyValue" id="lblSettlementCurrency">
- <spring:message code="myapp.transaction.label.settlementcurrency" htmlEscape="false"/>
- </label>
- </td>
- <td class="formField">
- <span id="lblSettlementCurrencyValue" >
- <c:out value="${txnFormBean.settlementCurrency}" />
- </span>
- </td>
- </tr>
- <tr>
- <td class="label">
- <label for="lblTotalValue" id="lblTotal">
- <spring:message code="myapp.transaction.label.total" htmlEscape="false"/>
- </label>
- </td>
- <td class="formField">
- <span id="lblTotalValue" class="bold">
- <fmt:formatNumber type="currency" value="${txnFormBean.total}" currencySymbol="${txnFormBean.settlementCurrencySymbol}"/>
- </span>
- </td>
- </tr>
- </table>
- <!-- bottom left -->
- </td>
- <td valign="top">
- <!-- Approvals Processing Box Start -->
- <c:set var="approvalsBean" value="${txnFormBean.approvalsBean}"/>
- <form:hidden path="approvalsBean.isEnabled"/>
- <form:hidden path="approvalsBean.isReviewed"/>
- <form:hidden path="approvalsBean.isOptionRouting"/>
- <c:if test="${txnFormBean.approvalsBean.isEnabled}">
- <div id="tapTransaction_radPanel">
- <table class="sideFormLayout" >
- <tr height="10">
- <th class="fortypercent" align="left"
- scope="col" id="colApproval">
- <span id="Transaction_lblApproval" class="bold"><spring:message code="myapp.transaction.label.approval" htmlEscape="false"/></span>
- </th>
- <th width="28%" class="thirtypercent" scope="col"
- id="colName"> </th>
- <th width="32%" class="thirtypercent" align="right"
- scope="col" id="colStatus"><span
- id="Transaction_lblStatusHeader" class="bold"><spring:message code="myapp.transaction.label.status" htmlEscape="false"/></span>
- <span id="Transaction_lblStatus" class="bold">
- <spring:message code="${txnFormBean.approvalStatusKeyCode}" htmlEscape="false"/>
- </span>
- </th>
- </tr>
- <tr >
- <td headers="colApproval" class="sideFormField">
- <span id="Transaction_Reviewed_lbl">
- <label>
- <spring:message code="myapp.transaction.label.reviewed" htmlEscape="false"/>
- </label>
- </span>
- </td>
- <td headers="colName" class="sideFormField">
- <span id="Transaction_Approval_lblApproverName" title="Reviewed">
- </span>
- </td>
- <td headers="colStatus" class="center sideFormField">
- <label for="reviewedCheckBox" class="hideDiv">
- <spring:message code="myapp.transaction.label.reviewed" htmlEscape="false"/>
- </label>
- <c:if test="${txnFormBean.approvalsBean.isReviewed}">
- <form:checkbox id ="reviewedCheckBox" path="approvalsBean.isReviewed" disabled="true"/>
- </c:if>
- <c:if test="${!txnFormBean.approvalsBean.isReviewed}">
- <c:if test="${!saveProtected && txnFormBean.approvalsBean.currentUserIsReviewer}">
- <form:checkbox id ="reviewedCheckBox" path="approvalsBean.updateChecked" />
- </c:if>
- <c:if test="${!saveProtected && !txnFormBean.approvalsBean.currentUserIsReviewer}">
- <form:checkbox id= "reviewedCheckBox" path="approvalsBean.updateChecked" disabled="true" />
- </c:if>
- <c:if test="${saveProtected}">
- <input id="reviewedCheckBox" type="checkbox" name="checkboxplaceholder" disabled="true" />
- </c:if>
- </c:if>
- </td>
- </tr>
- <form:hidden path="approvalsBean.nextApproverHierarchyId"/>
- <form:hidden path="approvalsBean.isHierarchyProcessing"/>
- <form:hidden path="approvalsBean.nextApproverCount"/>
- <c:forEach var="approversList" items="${txnFormBean.approvalsBean.approversList}" varStatus="loopStatus">
- <tr>
- <td headers="colApproval" class="sideFormField">
- <span id="tapTransaction_rptApproval_ctl02_lblNumber"><label>
- <spring:message code="myapp.transaction.label.approval" htmlEscape="false"/> ${loopStatus.index + 1}
- </label>
- </span>
- <input name="tapTransaction$rptApproval$ctl02$hidApprovalId"
- type="hidden" id="tapTransaction_rptApproval_ctl02_hidApprovalId" value="2" />
- </td>
- <td headers="colName" class="sideFormField">
- <span id="approverName${loopStatus.index + 1}" title="Approval ${loopStatus.index + 1}">
- <c:out value="${txnFormBean.approvalsBean.approversList[loopStatus.index].approverName}" />
- <c:if test="${txnFormBean.approvalsBean.approversList[loopStatus.index].isNextApproverItem}">
- <c:if test="${txnFormBean.approvalsBean.nextApproverCount gt 1 || txnFormBean.approvalsBean.nextApproverCount eq 0}">
- <form:select id="approverList" path="approvalsBean.selectedApprover">
- <c:if test="${txnFormBean.approvalsBean.isHierarchyProcessing && txnFormBean.approvalsBean.nextApproverCount > 1 && !txnFormBean.approvalsBean.isOptionRouting}">
- <form:option value="0"><spring:message code="myapp.transaction.label.any" htmlEscape="false"/></form:option>
- </c:if>
- <c:forEach items="${txnFormBean.approvalsBean.nextApproverList}" var="nextApproverList">
- <form:option label="${nextApproverList.familyName},${nextApproverList.givenName}" value="${nextApproverList.id}" />
- </c:forEach>
- </form:select>
- </c:if>
- <c:if test="${txnFormBean.approvalsBean.nextApproverCount eq 1}">
- <c:forEach items="${txnFormBean.approvalsBean.nextApproverList}" var="nextApproverList">
- <c:out value="${nextApproverList.familyName},${nextApproverList.givenName}"/>
- <c:set var="approverListId" value="${nextApproverList.id}"/>
- </c:forEach>
- <form:hidden id="approverList" path="approvalsBean.selectedApprover"/>
- <script>
- document.getElementById("approverList").value="${approverListId}";
- </script>
- </c:if>
- </c:if>
- </span>
- </td>
- <td class="center sideFormField" headers="colStatus">
- <label for="tapTransaction_rptApproval_ctl02_chkApproved${loopStatus.index + 1}"
- class="hideDiv">
- <spring:message code="myapp.transaction.label.approval" htmlEscape="false"/> ${loopStatus.index + 1}
- </label>
- <span>
- <c:if test="${txnFormBean.approvalsBean.approversList[loopStatus.index].isDisabled}">
- <input id="tapTransaction_rptApproval_ctl02_chkApproved${loopStatus.index + 1}" type="checkbox"
- name="tapTransaction$rptApproval$ctl02$chkApproved"
- <c:if test="${txnFormBean.approvalsBean.approversList[loopStatus.index].isChecked}">
- checked="yes"
- </c:if>
- disabled="disabled"
- />
- </c:if>
- <c:if test="${!txnFormBean.approvalsBean.approversList[loopStatus.index].isDisabled}">
- <form:checkbox id="tapTransaction_rptApproval_ctl02_chkApproved${loopStatus.index + 1}" path="approvalsBean.updateChecked" />
- </c:if>
- </span>
- </td>
- </tr>
- </c:forEach>
- <c:if test="${txnFormBean.approvalsBean.isOptionRouting && txnFormBean.approvalsBean.currentUserIsApprover && !empty txnFormBean.approvalsBean.nextApproverList}">
- <tr>
- <td headers="colApproval" class="sideFormField">
- <span id="tapTransaction_rptApproval_ctl02_lblNumber">
- <spring:message code="myapp.transaction.label.optionrouting" htmlEscape="false"/> </span>
- <input name="tapTransaction$rptApproval$ctl02$hidApprovalId"
- type="hidden" id="tapTransaction_rptApproval_ctl02_hidApprovalId" value="2" />
- </td>
- <td headers="colName" class="sideFormField">
- <form:select id="approverList" path="approvalsBean.selectedApprover">
- <form:option value="0"><spring:message code="myapp.transaction.transactionDetail.select" htmlEscape="false"/></form:option>
- <c:forEach items="${txnFormBean.approvalsBean.nextApproverList}" var="nextApproverList">
- <form:option label="${nextApproverList.familyName},${nextApproverList.givenName}" value="${nextApproverList.id}" />
- </c:forEach>
- </form:select>
- </td>
- </tr>
- </c:if>
- </table>
- </div>
- </c:if>
- <!-- Approvals Processing Box End -->
- <br />
- <div id="pnlAccountingCodes" class="showDivCOA">
- <myapp:transactionAccountingCodes transactionDefaultsBean="${txnFormBean.transDefaultFormBean}" beanPath="transDefaultFormBean" foreignKeyId="${txnFormBean.transactionItemID}"
- userId="${txnFormBean.accountUserId}" hierarchyId="${txnFormBean.accountHierarchyId}" accountId="${txnFormBean.accountId}" className="transactions"
- disabled="${!txnFormBean.areAccountingCodesEditable}"/>
- </div>
- <br />
- <div id="pnlCustomFields" class="showDiv">
- <div id="divCustomField" class="showDiv">
- <table class="fullwidth sideFormLayout greyBackground" id="tblCustomField" cellspacing="2">
- <tr>
- <td colspan="3" vAlign="top" class="sideFormHeader">
- <c:set var="defaultCustomFieldText" ><spring:message code="myapp.customField.tag.default.text" htmlEscape="false"/></c:set>
- <label for="divCustomField" id="lnkCustomFields" class="bold"><spring:message code="myapp.transaction.label.customFields" text="${defaultCustomFieldText}" htmlEscape="false"/></label>
- </td>
- </tr>
- <tr>
- <td colspan="3" height="1" class="sideFormField"><img src="${myapp_image}/Spacer.gif" height="1" width="1" alt="" /></td>
- </tr>
- <c:forEach items="${customFields}" var="customField" varStatus="loopStatus" >
- <tr class="inFrameTableRow" <c:if test="${customField.lineItemIncluded}">name="itemLevelOnly" </c:if> <c:if test="${!customField.lineItemIncluded}">name="SummaryLevelOnly" </c:if> >
- <td class="left sideFormField fourpercent" >
- </td>
- <td class="thirtypercent">
- <c:choose>
- <c:when test="${customField.isRequired == 'true'}">
- <c:choose>
- <c:when test="${customField.userInstructionText != null}">
- <a title='${customField_tooltip}' href="javascript:showInstructionalText('${customField.name}', '${customField.userInstructionText}')">* ${customField.name}</a>
- </c:when>
- <c:otherwise>
- <label class="bold">* ${customField.name}</label>
- </c:otherwise>
- </c:choose>
- </c:when>
- <c:otherwise>
- <c:choose>
- <c:when test="${customField.userInstructionText != null}">
- <a title='${customField_tooltip}' href="javascript:showInstructionalText('${customField.name}', '${customField.userInstructionText}')">${customField.name}</a>
- </c:when>
- <c:otherwise>
- <label class="bold">${customField.name}</label>
- </c:otherwise>
- </c:choose>
- </c:otherwise>
- </c:choose>
- </td>
- <td class="left sideFormField">
- <c:choose>
- <c:when test="${customField.controlType.code == 'TB'}">
- <c:choose>
- <c:when test="${customField.characterLengthNumber >= '0' and customField.characterLengthNumber != null}">
- <c:choose>
- <c:when test="${isDisabled eq 'true'}">
- <form:input title="${customField.name}" path="customField.customField${customField.customFieldNumber}" maxLength="${customField.characterLengthNumber}" cssClass="border ac_input" disabled="true"/>
- </c:when>
- <c:otherwise>
- <c:choose>
- <c:when test="${isTextOnly eq 'true'}">
- <form:input title="${customField.name}" path="customField.customField${customField.customFieldNumber}" maxLength="${customField.characterLengthNumber}" cssClass="border ac_input" readonly="true"/>
- </c:when>
- <c:otherwise>
- <form:input title="${customField.name}" path="customField.customField${customField.customFieldNumber}" maxLength="${customField.characterLengthNumber}" cssClass="border ac_input"/>
- </c:otherwise>
- </c:choose>
- </c:otherwise>
- </c:choose>
- </c:when>
- <c:otherwise>
- <c:when test="${isDisabled eq 'true'}">
- <form:input title="${customField.name}" path="customField.customField${customField.customFieldNumber}" cssClass="border ac_input" disabled="true"/>
- </c:when>
- <c:otherwise>
- <c:choose>
- <c:when test="${isTextOnly eq 'true'}">
- <c:out value="customField.customField${customField.customFieldNumber}"/>
- </c:when>
- <c:otherwise>
- <form:input title="${customField.name}" path="customField.customField${customField.customFieldNumber}" cssClass="formTextBox" />
- </c:otherwise>
- </c:choose>
- </c:otherwise>
- </c:otherwise>
- </c:choose>
- </c:when>
- <c:when test="${customField.controlType.code == 'DD'}">
- <c:choose>
- <c:when test="${isDisabled eq 'true'}">
- <form:select title="${customField.name}" path="customField.customField${customField.customFieldNumber}" disabled="true">
- <form:option title="${customField.name}" value="">
- <spring:message code="myapp.common.select" htmlEscape="false"/>
- </form:option>
- <form:options title="${customField.name}" items="${customField.listValues}" itemLabel="valueText" itemValue="valueText"/>
- </form:select>
- </c:when>
- <c:otherwise>
- <c:choose>
- <c:when test="${isTextOnly eq 'true'}">
- <c:out value="customField.customField${customField.customFieldNumber}"/>
- </c:when>
- <c:otherwise>
- <form:select title="${customField.name}" path="customField.customField${customField.customFieldNumber}">
- <form:option title="${customField.name}" value="">
- <spring:message code="myapp.common.select" htmlEscape="false"/>
- </form:option>
- <form:options title="${customField.name}" items="${customField.listValues}" itemValue="valueText" itemLabel="valueText"/>
- </form:select>
- </c:otherwise>
- </c:choose>
- </c:otherwise>
- </c:choose>
- </c:when>
- <c:when test="${customField.controlType.code == 'CB'}">
- <c:choose>
- <c:when test="${isDisabled eq 'true'}">
- <form:checkbox title="${customField.name}" path="customField.customField${customField.customFieldNumber}" value="true" disabled="true"/>
- </c:when>
- <c:otherwise>
- <c:choose>
- <c:when test="${isTextOnly eq 'true'}">
- <c:out value="customField.customField${customField.customFieldNumber}"/>
- </c:when>
- <c:otherwise>
- <form:checkbox title="${customField.name}" path="customField.customField${customField.customFieldNumber}" value="true"/>
- </c:otherwise>
- </c:choose>
- </c:otherwise>
- </c:choose>
- </c:when>
- <c:otherwise>
- <c:choose>
- <c:when test="${isDisabled eq 'true'}">
- <form:input title="${customField.name}" path="customField.customField${customField.customFieldNumber}" cssClass="border ac_input" disabled="true"/>
- </c:when>
- <c:otherwise>
- <c:choose>
- <c:when test="${isTextOnly eq 'true'}">
- <c:out value="customField.customField${customField.customFieldNumber}"/>
- </c:when>
- <c:otherwise>
- <form:input title="${customField.name}" path="customField.customField${customField.customFieldNumber}" cssClass="border ac_input"/>
- </c:otherwise>
- </c:choose>
- </c:otherwise>
- </c:choose>
- </c:otherwise>
- </c:choose>
- </td>
- </tr>
- </c:forEach>
- </table>
- </div> <!-- End divCustomField -->
- </div>
- <br />
- <!-- Fixing Defect R4 - 10848 Start -->
- <label for="txtTransactionNotes" id="txtNoteslbl"
- class="bold"><spring:message code="myapp.transaction.label.notes" htmlEscape="false"/></label>
- <br />
- <form:textarea path="transactionNotes" rows="5" cols="30"
- id="txtNotes" />
- <div id="noteMessageDiv"></div>
- <br/>
- <!-- Fixing Defect R4 - 10848 End -->
- </td>
- </tr>
- </table>
- <!-- Bottom --></td>
- <td><!-- data margin --></td>
- </tr>
- <tr>
- <td colspan="3"> </td>
- </tr>
- <c:if test="${txnFormBean.maxLineNumber != 0 || txnFormBean.maxLineNumber!= null}">
- <tr>
- <td><!-- data margin --></td>
- <td><!-- Pre Line Items -->
- <table id="lineItemHeadingArea" class="hideDiv">
- <tr>
- <td colspan="2"></td>
- <td class="twentypercent">
- <div id="divShowAccounting" class="showDiv">
- <u><span id="lblLineTotals" class="bold">
- <spring:message code="myapp.transaction.label.linetotals" htmlEscape="false"/></span></u>
- </div>
- </td>
- </tr>
- <tr>
- <td class="fiftypercent" valign="bottom">
- <div id="divShowAccounting1" class="showDiv">
- <span title="Line Item Level Accounting">
- <form:checkbox id="lineItemAccounting" path="lineItemlevelAccounting" onClick="toggleLineItemAccounting(false);" disabled="${txnFormBean.disableAddLines}"/>
- <label for="lineItemlevelAccounting">
- <spring:message code="myapp.transaction.label.lineitemlevelaccounting" htmlEscape="false"/>
- </label>
- </span>
- </div>
- </td>
- <td class="thirtypercent"> </td>
- <td class="twentypercent">
- <div id="divShowAccounting2" class="showDiv">
- <span id="lblPercentage">100%</span>
- <span id="lblTransactionTotalCurrencySign">
- <c:out value="${txnFormBean.settlementCurrencySymbol}" /></span>
- <span id="lblTransactionTotal">
- <span id="lblTotalValue" class="bold">
- <c:out value="${txnFormBean.total}" /></span></span>
- <input
- name="hidTransactionTotal" type="hidden"
- id="hidTransactionTotal" value="${txnFormBean.total}" /></div>
- </td>
- </tr>
- </table>
- <!-- Pre Line Items --></td>
- <td><!-- data margin --></td>
- </tr>
- <tr>
- <td><!-- data margin --></td>
- <td>
- <div id="pnlLineItems" ><!-- Line Items -->
- <div id="transactionLineItemTable" class="fullwidth">
- <hr />
- <table>
- <tbody id="ItemRowNumber${loopStatus.index}">
- <c:forEach var="transactionDetailsItems"
- items="${txnFormBean.transactionDetailsItems}"
- varStatus="loopStatus">
- <!-- Line Item Start -->
- <tr>
- <td colspan="2"><u><label
- for="ItemCount${loopStatus.index}"
- id="ItemLabel${loopStatus.index}"><spring:message code="myapp.transaction.label.item" htmlEscape="false"/></label></u></td>
- <td ><u><label
- for="rptItem_ctl01_txtItemDescription${loopStatus.index}"
- id="ItemDescriptionLabel${loopStatus.index}"><spring:message code="myapp.transaction.label.description" htmlEscape="false"/></label></u></td>
- <td class="center" nowrap="nowrap"><u><label
- for="rptItem_ctl01_txtItemUnits${loopStatus.index}"
- id="ItemUnitsLabel${loopStatus.index}"><spring:message code="myapp.transaction.label.unitnum" htmlEscape="false"/></label></u></td>
- <td class="center"><u><label
- for="rptItem_ctl01_txtItemPrice${loopStatus.index}"
- id="ItemPrice${loopStatus.index}"><spring:message code="myapp.transaction.label.unitprice" htmlEscape="false"/></label></u></td>
- <td><u><label
- for="rptItem_ctl01_chkItemTaxable${loopStatus.index}"
- id="ItemTaxable${loopStatus.index}"><spring:message code="myapp.transaction.label.taxable" htmlEscape="false"/></label></u></td>
- <td class="center"><u><label
- for="rptItem_ctl01_txtItemPercentage${loopStatus.index}"
- id="ItemPercentage${loopStatus.index}">%</label></u></td>
- <td class="right"><u><label
- for="rptItem_ctl01_lblItemTotal${loopStatus.index}"
- id="ItemTotalHeader${loopStatus.index}"><spring:message code="myapp.transaction.label.total" htmlEscape="false"/></label> </u></td>
- <td> </td>
- <td> </td>
- </tr>
- <tr class="grey">
- <td colspan="2" aaa:relevant="all" aaa:live="polite"><a href="#"
- id="ItemOpenCloseLink${loopStatus.index}"
- onclick="javascript:ShowHideControls('ItemOpenCloseImg${loopStatus.index}','ItemCOA${loopStatus.index}','ItemCustomFields${loopStatus.index}','${myapp_image}','Collapse to Hide','Expand to Edit');return false;"><img
- id="ItemOpenCloseImg${loopStatus.index}"
- src="${myapp_image}/RightArrow_light.gif"
- alt="Expand to Edit" /></a>
- <span id="rowNumber">
- ${loopStatus.index + 1}</span>
- </td>
- <td><form:hidden
- path="transactionDetailsItems[${loopStatus.index}].id" /> <form:input
- id="ItemDescriptionValue${loopStatus.index}"
- path="transactionDetailsItems[${loopStatus.index}].description"
- maxlength="50"
- cssClass="formTextBoxLong"/></td>
- <td class="center"><form:input
- path="transactionDetailsItems[${loopStatus.index}].unitQuanitity"
- id="UnitQuantity${loopStatus.index}" cssClass="formTextBoxDefault"
- maxlength="11"
- onchange="javascript:ItemUnitChange(this,'UnitPriceAmount${loopStatus.index}','LineItemPercentage${loopStatus.index}','rowNumber','ItemTotal${loopStatus.index}','ItemTotalHidden${loopStatus.index}', '# of Units accepts numbers only.', 'Unit Price accepts numbers only.', '# of Units must be greater than zero');" /></td>
- <td class="center"><form:input
- path="transactionDetailsItems[${loopStatus.index}].unitPriceAmount"
- id="UnitPriceAmount${loopStatus.index}"
- cssClass="formTextBoxDefault" maxlength="9"
- onchange="javascript:ItemPriceChange(this,'UnitQuantity${loopStatus.index}','LineItemPercentage${loopStatus.index}','rowNumber','ItemTotal${loopStatus.index}','ItemTotalHidden${loopStatus.index}');" /></td>
- <td class="center"><span
- title="Line Item 1 Taxable"> <form:checkbox
- path="transactionDetailsItems[${loopStatus.index}].taxableIndicator" />
- </span></td>
- <!-- modified by v292232 to store the percentages in the unitPercentage attribute of the FormBean -->
- <td class="center"><form:input
- path="transactionDetailsItems[${loopStatus.index}].unitPercentage"
- maxlength="5" size="5" cssClass="formTextBoxDefault"
- id="LineItemPercentage${loopStatus.index}"
- title="Line Item 1 Percent of Total"
- onchange="javascript:ItemPercentChange(this,'UnitPriceAmount${loopStatus.index}','UnitQuantity${loopStatus.index}','lblTotalValue','ItemTotal${loopStatus.index}','ItemTotalHidden${loopStatus.index}');" />
- </td>
- <td class="right"><span
- id="ItemTotal${loopStatus.index}">0</span>
- <form:hidden
- id="ItemTotalHidden${loopStatus.index}" path="transactionDetailsItems[${loopStatus.index}].lineItemTotal"/>
- </td>
- <td id="btnDelete"><input type="image" id="btnRemove"
- src="${myapp_image}/Trash.gif" alt="<spring:message code='myapp.payment.lineItem.Icon.delete.title' htmlEscape="false"/>"
- onClick="removeRow(${loopStatus.index}); return false;" />
- </td>
- <td id="btnAdd${loopStatus.index}"><input type="image"
- src="${myapp_image}/Plus.gif" alt="<spring:message code='myapp.payment.lineItem.Icon.add.title' htmlEscape="false"/>"
- id="btnAdd" onclick="addNewRow(); return false;" />
- </td>
- <td class="right"></td>
- </tr>
- <!-- Line Item Attributes Start -->
- <tr aaa:relevant="all" aaa:live="polite">
- <td colspan="3">
- <div id="ItemCOA${loopStatus.index}" class="center hideDiv">
- <!-- wait until last item to do dirty bind -->
- <myapp:transactionAccountingCodes
- transactionDefaultsBean="${txnFormBean.transactionDetailsItems[loopStatus.index].transDefaultFormBean}"
- beanPath="transactionDetailsItems[${loopStatus.index}].transDefaultFormBean"
- foreignKeyId="${txnFormBean.transactionDetailsItems[loopStatus.index].id}"
- userId="${txnFormBean.accountUserId}" hierarchyId="${txnFormBean.accountHierarchyId}" accountId="${txnFormBean.accountId}"
- version="${loopStatus.index}" className="transactions"
- disabled="${!txnFormBean.areAccountingCodesEditable}"
- onClickElement="ItemOpenCloseLink${loopStatus.index}"
- doDirtyBind="${loopStatus.last}"
- />
- <br>
- <br>
- </div>
- </td>
- <td colspan="6"><!-- Custom Fields -->
- <div id="ItemCustomFields${loopStatus.index}" class="hideDiv">
- <table width="100%" border="0"
- cellpadding="0" cellspacing="0" class="sideFormLayout"
- id="tblCustomField">
- <tr>
- <td colspan="3" vAlign="top" class="sideFormHeader"> <label
- for="divCustomField" id="lnkCustomFields"
- class="bold"><spring:message
- code="myapp.transaction.label.customFields"
- text="Custom Fields" htmlEscape="false"/></label></td>
- </tr>
- <tr>
- <td colspan="3" height="1" class="sideFormField"><img
- src="${myapp_image}/Spacer.gif" height="1" width="1" alt="" /></td>
- </tr>
- <c:forEach items="${customFields}" var="customField"
- varStatus="CustomFieldloopStatus">
- <c:if test="${customField.lineItemIncluded}">
- <tr class="inFrameTableRow">
- <td class="sideFormLabel"><c:choose>
- <c:when test="${customField.isRequired == 'true'}">
- <c:choose>
- <c:when
- test="${customField.userInstructionText != null}">
- <a
- title='${customField_tooltip}' href="javascript:showInstructionalText('${customField.name}', '${customField.userInstructionText}')">*
- ${customField.name}</a>
- </c:when>
- <c:otherwise>
- <label class="bold">*
- ${customField.name}</label>
- </c:otherwise>
- </c:choose>
- </c:when>
- <c:otherwise>
- <c:choose>
- <c:when
- test="${customField.userInstructionText != null}">
- <a
- title='${customField_tooltip}' href="javascript:showInstructionalText('${customField.name}', '${customField.userInstructionText}')">${customField.name}</a>
- </c:when>
- <c:otherwise>
- <label class="bold">${customField.name}</label>
- </c:otherwise>
- </c:choose>
- </c:otherwise>
- </c:choose></td>
- <td class="left sideFormLabel"><c:choose>
- <c:when test="${customField.controlType.code == 'TB'}">
- <c:choose>
- <c:when
- test="${customField.characterLengthNumber >= '0' and customField.characterLengthNumber != null}">
- <c:choose>
- <c:when test="${isDisabled eq 'true'}">
- <form:input
- path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
- title="${customField.name}" maxLength="${customField.characterLengthNumber}"
- cssClass="formTextBox" disabled="true" />
- </c:when>
- <c:otherwise>
- <c:choose>
- <c:when test="${isTextOnly eq 'true'}">
- <form:input
- path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
- title="${customField.name}" maxLength="${customField.characterLengthNumber}"
- cssClass="formTextBox" readonly="true" />
- </c:when>
- <c:otherwise>
- <form:input
- path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
- title="${customField.name}" maxLength="${customField.characterLengthNumber}"
- cssClass="formTextBox" />
- </c:otherwise>
- </c:choose>
- </c:otherwise>
- </c:choose>
- </c:when>
- <c:otherwise>
- <c:when test="${isDisabled eq 'true'}">
- <form:input
- path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
- title="${customField.name}" cssClass="formTextBox" disabled="true" />
- </c:when>
- <c:otherwise>
- <c:choose>
- <c:when test="${isTextOnly eq 'true'}">
- <c:out
- value="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}" />
- </c:when>
- <c:otherwise>
- <form:input
- path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
- title="${customField.name}" cssClass="formTextBox" />
- </c:otherwise>
- </c:choose>
- </c:otherwise>
- </c:otherwise>
- </c:choose>
- </c:when>
- <c:when test="${customField.controlType.code == 'DD'}">
- <c:choose>
- <c:when test="${isDisabled eq 'true'}">
- <form:select
- title="${customField.name}" path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}" disabled="true">
- <form:option title="${customField.name}" value="">
- <spring:message code="myapp.common.select" htmlEscape="false"/>
- </form:option>
- <form:options title="${customField.name}" items="${customField.listValues}" itemLabel="valueText" itemValue="valueText"/>
- </form:select>
- </c:when>
- <c:otherwise>
- <c:choose>
- <c:when test="${isTextOnly eq 'true'}">
- <c:out
- value="customField.customField${customField.customFieldNumber}" />
- </c:when>
- <c:otherwise>
- <form:select title="${customField.name}" path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}">
- <form:option title="${customField.name}" value="">
- <spring:message code="myapp.common.select" htmlEscape="false"/>
- </form:option>
- <form:options title="${customField.name}" items="${customField.listValues}" itemValue="valueText" itemLabel="valueText"/>
- </form:select>
- </c:otherwise>
- </c:choose>
- </c:otherwise>
- </c:choose>
- </c:when>
- <c:when test="${customField.controlType.code == 'CB'}">
- <c:choose>
- <c:when test="${isDisabled eq 'true'}">
- <form:checkbox
- path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
- title="${customField.name}" value="true" disabled="true" />
- </c:when>
- <c:otherwise>
- <c:choose>
- <c:when test="${isTextOnly eq 'true'}">
- <c:out
- value="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}" />
- </c:when>
- <c:otherwise>
- <form:checkbox
- path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
- title="${customField.name}" value="true" />
- </c:otherwise>
- </c:choose>
- </c:otherwise>
- </c:choose>
- </c:when>
- <c:otherwise>
- <c:choose>
- <c:when test="${isDisabled eq 'true'}">
- <form:input
- path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
- title="${customField.name}" cssClass="formTextBox" disabled="true" />
- </c:when>
- <c:otherwise>
- <c:choose>
- <c:when test="${isTextOnly eq 'true'}">
- <c:out
- value="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}" />
- </c:when>
- <c:otherwise>
- <form:input
- path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
- title="${customField.name}" cssClass="formTextBox" />
- </c:otherwise>
- </c:choose>
- </c:otherwise>
- </c:choose>
- </c:otherwise>
- </c:choose></td>
- </tr>
- </c:if>
- </c:forEach>
- </table>
- </div>
- <!-- End divCustomField --></td>
- </tr>
- <!-- Line Item Attributes End -->
- <!-- Line Item End -->
- </c:forEach>
- </tbody>
- </table>
- <!-- Data --></div></div>
- <!-- Line Items End --></td>
- </tr>
- </c:if>
- </table>
- <br>
- </td>
- </tr>
- <tr>
- <td align = "right" colspan="8">
- <div class="formTabRemainderLowerNav">
- <c:if test="${sessionScope.preNextNavigation != null && sessionScope.preNextNavigation.showPrevNextInd eq 'true'}">
- <myapp:previousNextNavigation nexId="${sessionScope.preNextNavigation.nextId}" lastId="${sessionScope.preNextNavigation.lastId}" detailUrl='${myapp_app}/transaction/detail?${pageContext.request.queryString}' previousId="${sessionScope.preNextNavigation.previousId}" currentIdIndex="${sessionScope.preNextNavigation.currentIdIndex}" firstId="${sessionScope.preNextNavigation.firstId}" totalPrevNextIdCount="${sessionScope.preNextNavigation.totalPrevNextIdCount}"/>
- </c:if>
- </div>
- </td>
- </tr>
- </table>
- <form:hidden path="transactionID" />
- <form:hidden path="txnSystemSequenceNumber"/>
- <form:hidden path="settlementMethod" />
- <form:hidden path="transactionType" />
- <form:hidden path="purchaseMethod" />
- <form:hidden path="accountNumber" />
- <form:hidden path="accountId" />
- <form:hidden path="accountType" />
- <form:hidden path="approvalStatus" />
- <form:hidden path="approvalStatusKeyCode" />
- <form:hidden path="convenienceCheckNum" />
- <form:hidden path="transactionDate" />
- <form:hidden path="postDate" />
- <form:hidden path="mccId" />
- <form:hidden path="mccCode" />
- <form:hidden path="merchant" />
- <form:hidden path="merchantLocation" />
- <form:hidden path="disableAddLines"/>
- <form:hidden path="parentMerchant" />
- <form:hidden path="exported" />
- <form:hidden path="customerCode" />
- <form:hidden path="microRefNumber" />
- <form:hidden path="authorizationNumber" />
- <form:hidden path="originalCurrency" />
- <form:hidden path="originalAmount" />
- <!-- Defect 11565: Currency Symbol Disappearing after adding line items -->
- <form:hidden path="originalCurrencySymbol"/>
- <form:hidden path="tax" />
- <form:hidden path="settlementCurrency" />
- <!-- Defect 11565 -->
- <form:hidden path="settlementCurrencySymbol"/>
- <form:hidden path="total" />
- <form:hidden path="disputeStatus" />
- <form:hidden path="disputeStatusKeyCode" />
- <form:hidden path="itemToRemove" />
- <form:hidden path="numberLinesToAdd" />
- <form:hidden path="totalLineItems" />
- <form:hidden path="maxLineNumber" />
- <form:hidden path="orderPageTab" />
- <form:hidden path="orderId" />
- <form:hidden path="areAccountingCodesEditable" />
- <form:hidden path="disableAllFields" />
- <form:hidden path="disableDisputeButton" />
- <input type="hidden" name="action" id="action" />
- <input type="hidden" name="LineItemPercentageHidden" id="LineItemPercentageHidden" value="0"/>
- </div>
- </div>
- </div>
- </form:form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement