Advertisement
Guest User

idea jsp

a guest
Jul 25th, 2011
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 65.28 KB | None | 0 0
  1. <%@ include file="/include.jsp"%>
  2. <%@ page language="java" contentType="text/html; charset=UTF-8"
  3.     pageEncoding="UTF-8"%>
  4. <%@ taglib prefix="myapp" tagdir="/WEB-INF/tags"%>
  5.  
  6. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  7. <html>
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  10. <title><spring:message code="myapp.transaction.title.detail" htmlEscape="false"/></title>
  11.  
  12. <script type="text/javascript" src="${myapp_script}/Controls.js"></script>
  13. <script type="text/javascript" src="${myapp_script}/Transactions.js"></script>
  14. <script type="text/javascript" src="${myapp_script}/lib/jquery.autocomplete.js"></script>
  15. <script type="text/javascript" src="${myapp_script}/transactionDefaults.js"></script>
  16. <script type="text/javascript" src="${myapp_script}/loading.js"></script>
  17. <script type="text/javascript" src="${myapp_script}/Controls.js"></script>
  18. <script language="JavaScript" src="${myapp_script}/InstructionalText.js"></script>
  19. <script type="text/javascript" src="${myapp_script}/dirtyform.js"></script>
  20.  
  21. <script type="text/javascript">
  22.  
  23. $(document).ready(function(){
  24.     initializePage($("#transactionLineItemTable"));
  25.  
  26.     initializeTransactionNotesText('txtNotes','3000', 'noteMessageDiv');
  27. //  Defect R4 - 10848 Start
  28.    
  29.    
  30.    
  31.     $('#txtNotes').keyup(function() {
  32.         limitCharsForNotes('txtNotes','3000','noteMessageDiv');
  33.     });
  34.    
  35.     $('#txtNotes').change(function() {
  36.         limitCharsForNotes('txtNotes','3000','noteMessageDiv');
  37.     });
  38.    
  39. //  Defect R4 - 10848 End
  40.     $("#btnSave").click( function(){
  41.         saveTxn();
  42.     });
  43. });
  44.  
  45. //R4
  46. $(function(){
  47.     $("#transactionSetUpForm").dirty_form();
  48. });
  49.  
  50. </script>
  51. </head>
  52.  
  53. <body>
  54.  
  55.     <c:if test="${txnFormBean.sourcePage eq 'S' && navigationBean.centralBill ne true}">
  56.         <myapp:titleBarWithListLink
  57.             returnHref="/app/statement/detail?accountId=${accountId}&accountType=${accountType}&billingDate=${billingDate}&sourcePage=${navigationBean.stmtSourcePage}"
  58.             pageTitleCode="myapp.transaction.title.detail"
  59.             linkText="myapp.statement.print.link.detailPage"
  60.             dirtyFormCheck="true"/>
  61.     </c:if>
  62.     <c:if test="${txnFormBean.sourcePage eq 'S' && navigationBean.centralBill eq true}">\
  63.         <myapp:titleBarWithListLink
  64.             returnHref="/app/statement/detail?accountId=${accountId}&accountType=${accountType}&billingDate=${billingDate}&sourcePage=C"
  65.             pageTitleCode="myapp.transaction.title.detail"
  66.             linkText="myapp.statement.print.link.detailPage"
  67.             dirtyFormCheck="true"/>
  68.     </c:if>
  69.     <c:if test="${txnFormBean.sourcePage eq 'MU' }">
  70.         <myapp:titleBarWithListLink
  71.             returnHref= "${massUpdateURL}"
  72.             pageTitleCode="myapp.transaction.title.detail"
  73.             linkText="myapp.massUpdate.print.link.requestDetailPage"
  74.             dirtyFormCheck="true"/>
  75.     </c:if>
  76.     <c:if test="${txnFormBean.sourcePage ne 'S'  }">
  77.       <c:if test="${txnFormBean.sourcePage ne 'MU' }" >
  78.         <c:choose> 
  79.         <c:when test="${listLinkEnabled eq 'Y'}">      
  80.             <myapp:titleBarWithListLink
  81.                 returnHref="list"
  82.                 pageTitleCode="myapp.transaction.title.detail"
  83.                 dirtyFormCheck="true"/>
  84.         </c:when>
  85.         <c:otherwise>  
  86.             <myapp:titleBar pageTitleCode="myapp.transaction.title.detail"/>
  87.         </c:otherwise>
  88.         </c:choose>
  89.       </c:if>
  90.     </c:if>
  91.  
  92. <form:form modelAttribute="txnFormBean" name="transactionSetUpForm" id="transactionSetUpForm" method="POST">
  93.  
  94. <myapp:displayMessages name="txnFormBean" />
  95. <spring:message code="myapp.query.advancedQuery.link.CustomFieldDetail.text" var="customField_tooltip"/>
  96.  
  97. <div class="contentContainer center">  
  98.  
  99.     <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/SAVEBUTTON" var="saveProtected" />
  100.     <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/ADDLINESBUTTON" var="addLineProtected" />
  101.     <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/Cancel/UndoDisputebutton" var="cancelUndoProtected" />
  102.     <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/Disputebutton" var="disputeProtected" />
  103.     <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/ACCOUNTNUMBERLINK" var="accountLinkProtected" />
  104.     <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/MCCHYPERLINK" var="mccLinkProtected" />
  105.     <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/MERCHANTHYPERLINK" var="merchantLinkProvided" />
  106.     <authz:isAuthz resourceName="TRANSACTION/REVIEWER" var="protectedReviewer" />
  107.     <authz:isAuthz resourceName="TRANSACTION/APPROVER" var="protectedApprover" />
  108.     <authz:isAuthz resourceName="TRANSACTION/DETAIL/GENERALINFORMATION/VIEWORDERHYPERLINK" var="vieworderLinkProvided" />
  109.     <authz:isAuthz resourceName="TRANSACTION/RECEIPTLIST" var="viewreceiptListProtected" />
  110.    
  111.     <div class="formDiv">  
  112.         <div class="formHeaderBar">
  113.             <div class="formTabSelected"><a class="tabSelected"><spring:message code="myapp.transaction.tab.generalinfo" htmlEscape="false"/></a></div>
  114.            
  115.                <c:if test="${!viewreceiptListProtected}">
  116.                 <div class="formTab">
  117.                     <span>
  118.                         <a href="receiptlist?sourcePage=${txnFormBean.sourcePage}&addendum=${txnFormBean.addendum}&massUpdateReturnURL=${txnFormBean.massUpdateReturnURL}&id=${txnFormBean.transactionID}" class="tab">  
  119.                             <spring:message code="myapp.transaction.tab.receipt" htmlEscape="false"/></a>
  120.                     </span>
  121.                  </div>
  122.                </c:if>
  123.            
  124.             <c:if test="${txnFormBean.addendum}">
  125.                 <div class="formTab">
  126.                     <span>
  127.                         <a href="detailAddendum?id=${txnFormBean.transactionID}&sourcePage=${txnFormBean.sourcePage}&massUpdateReturnURL=${txnFormBean.massUpdateReturnURL}" class="tab">  
  128.                             <spring:message code="myapp.transaction.tab.addendum" htmlEscape="false"/></a>
  129.                     </span>
  130.                 </div>
  131.             </c:if>
  132.             <c:if test="${!txnFormBean.addendum}">
  133.                 <div class="formTabDisabled">
  134.                     <span class="disabled">
  135.                         <spring:message code="myapp.transaction.tab.addendum" htmlEscape="false"/>&nbsp;
  136.                     </span>
  137.                 </div>
  138.             </c:if>
  139.             <div class="formTab"> <authz:isAuthz resourceName="TRANSACTION/DETAIL/HISTORYHYPERLINK">
  140.               <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"/>
  141.              </a>
  142.             </authz:isAuthz> </div>
  143.             <div class="formTabRemainderUpperNav">
  144.                 <c:if test="${sessionScope.preNextNavigation != null &&  sessionScope.preNextNavigation.showPrevNextInd eq 'true'}">
  145.                     <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}"/>
  146.                 </c:if>    
  147.             </div>         
  148.         </div>
  149.            
  150.         <div class="formContainer">
  151.            
  152.             <table>
  153.                 <tr>
  154.                     <td><!-- Data -->
  155.                     <table>
  156.                    
  157.                         <tr>
  158.                             <td><img
  159.                                 src="${myapp_image}/Spacer.gif" alt="" /></td>
  160.                             <td >&nbsp;</td>
  161.                             <td><img
  162.                                 src="${myapp_image}/Spacer.gif" alt="" /></td>
  163.                         </tr>
  164.                        
  165.                         <tr>
  166.                             <td><!-- Button Row Start --></td>
  167.                             <td aaa:relevant="all" aaa:live="polite">
  168.                                 <div class="floatleft">
  169.                                 <input id="btnSave" type="submit" name="btnSave"
  170.                                     value="<spring:message code='myapp.save.button' htmlEscape="false"/>"
  171.                                     class="formButton"  <c:if test="${saveProtected}">disabled</c:if>/>
  172.                                 <img src="${myapp_image}/Spacer.gif"
  173.                                                 width="1" height="1" alt="" />
  174.                                 </div> 
  175.                                 <div class="floatleft">
  176.                                 <input type="submit" name="btnAddLines"
  177.                                     value="Add Lines"
  178.                                     onclick="Javascript: return displayControls();" id="btnAddLines"
  179.                                     class="formButton" <c:if test="${addLineProtected || txnFormBean.disableAddLines}">disabled</c:if>/>
  180.                                 <img src="${myapp_image}/Spacer.gif"
  181.                                                 width="1" height="1" alt="" />
  182.                                 </div> 
  183.                                 <div class="alignButtons"> 
  184.                                 <input type="button"
  185.                                     name="btnRemoveLines" value="Remove Lines"
  186.                                     onclick="Javascript: clickRemove();" id="btnRemoveLines"
  187.                                     class="formButton hideDiv" <c:if test="${addLineProtected || txnFormBean.disableAddLines}">disabled</c:if> />
  188.                                 <img src="${myapp_image}/Spacer.gif"
  189.                                                 width="1" height="1" alt="" />
  190.                                 </div> 
  191.                                 <div class="floatleft">
  192.                                 <input
  193.                                     type="button" name="btnDispute" value="Dispute"
  194.                                     onclick="window.location = 'dispute?id=${txnFormBean.transactionID}&sourcePage=${txnFormBean.sourcePage}'"
  195.                                     id="btnDispute" class="formButton" <c:if test="${disputeProtected || disableDisputeButton}">disabled</c:if>/>
  196.                                 <img src="${myapp_image}/Spacer.gif"
  197.                                                 width="1" height="1" alt="" />
  198.                                 </div> 
  199.                                 <div class="floatleft" style="margin-left:3px;margin-right:3px;">                          
  200.                                     <input name="txtAddLines" type="text" value="Enter # of Lines"
  201.                                     id="txtAddLines" disabled="disabled" class="hideDiv"
  202.                                     onChange="" />
  203.                                 <img src="${myapp_image}/Spacer.gif"
  204.                                                 width="1" height="1" alt="" />
  205.                                 </div> 
  206.                                 <div class="alignButtons">
  207.                                 <input type="button"
  208.                                     name="btnAddLines2" value="Add" id="btnAddLines2"
  209.                                     disabled="disabled" class="formButton hideDiv"
  210.                                     onclick="Javascript: ShowRemoveBtn(); clickAdd();"/>
  211.                                 <img src="${myapp_image}/Spacer.gif"
  212.                                                 width="1" height="1" alt="" />
  213.                                 </div> 
  214.                                 <div class="alignButtons">
  215.                                 <input type="submit" name="btnCancel"
  216.                                     value="Cancel" id="btnCancel" disabled="disabled"
  217.                                     class="formButton hideDiv"
  218.                                     onclick="Javascript: return btnCancel_OnClick('Enter # of Lines');"/>
  219.                                 <img src="${myapp_image}/Spacer.gif"
  220.                                                 width="1" height="1" alt="" />
  221.                                 </div> 
  222.                                 <div class="floatleft">
  223.                                 <input id="btnCancelDispute" type="submit" name="btnCancelDispute"
  224.                                     value="<spring:message code='myapp.transaction.dispute.cancel.button' htmlEscape="false"/>"
  225.                                     class="formButton" <c:if test="${cancelUndoProtected || disableDisputeButton}  ">disabled</c:if>/>
  226.                                 <img src="${myapp_image}/Spacer.gif"
  227.                                                 width="1" height="1" alt="" />
  228.                                 </div> 
  229.                                 <div class="floatleft">
  230.                                 <input id="btnResolve" type="submit" name="btnResolve"
  231.                                     value="<spring:message code='myapp.transaction.dispute.resolve.button' htmlEscape="false"/>"
  232.                                     class="formButton" <c:if test="${cancelUndoProtected || disableDisputeButton}">disabled</c:if>/>
  233.                                 <img src="${myapp_image}/Spacer.gif"
  234.                                                 width="1" height="1" alt="" />
  235.                                 </div> 
  236.                                
  237.                                 <c:choose>
  238.                                 <c:when test="${txnFormBean.orderId!=0 && (txnFormBean.orderPageTab == 'query') && (!vieworderLinkProvided)}">
  239.                                 <div class="floatright">
  240.                                     <span>
  241.                                         <a href="${myapp_app}/order/recon/query/list?orderId=${txnFormBean.orderId}"><spring:message code="myapp.transaction.link.vieworder" htmlEscape="false"/></a>
  242.                                     </span>
  243.                                 </div>
  244.                                 </c:when>
  245.                                 <c:otherwise>
  246.                                 <c:if test="${txnFormBean.orderId!=0 && (txnFormBean.accountType == 'A' || txnFormBean.orderPageTab == 'match') && (!vieworderLinkProvided)}">
  247.                                 <div class="floatright">
  248.                                     <span>
  249.                                         <a href="${myapp_app}/order/recon/match/list?orderId=${txnFormBean.orderId}"><spring:message code="myapp.transaction.link.vieworder" htmlEscape="false"/></a>
  250.                                     </span>
  251.                                 </div>
  252.                                 </c:if>
  253.                                     </c:otherwise>
  254.                                     </c:choose>
  255.                                                    
  256.                                 </td>
  257.    
  258.                             <td></td>
  259.                             <td><!-- Button Row End --></td>
  260.                         </tr>
  261.                        
  262.                         <tr>
  263.                             <td colspan="3">
  264.                                 <hr  class="hr"/>
  265.                             </td>
  266.                         </tr>
  267.                        
  268.                         <tr>
  269.                             <td><!-- data margin --></td>
  270.                             <td><!-- Bottom -->
  271.                             <table>
  272.                            
  273.                                 <tr>
  274.                                     <td class="fiftypercent"></td>
  275.                                     <td class="fiftypercent"></td>
  276.                                 </tr>
  277.                                
  278.                                 <tr>
  279.                                     <td valign="top"><!-- bottom left -->
  280.                                     <table>
  281.                                         <tr>
  282.  
  283.                                             <td class="thirtypercent"><img src="${myapp_image}/Spacer.gif"
  284.                                                 width="1" height="1" alt="" /></td>
  285.                                             <td><img src="${myapp_image}/Spacer.gif"
  286.                                                 width="1" height="1" alt="" /></td>
  287.                                         </tr>
  288.                                    
  289.                                        
  290.                                         <c:if test="${txnFormBean.disputeStatus != 'N' && txnFormBean.disputeStatus != null && txnFormBean.disputeStatus != ''}">
  291.                                         <tr>
  292.                                             <td class="label">
  293.                                                 <label for="lblDisputeStatus" id="lblDisputeStatus">
  294.                                                     <span class="margin">
  295.                                                     <spring:message code="myapp.transaction.label.disputestatus" htmlEscape="false"/>
  296.                                                     </span>
  297.                                                 </label>
  298.                                             </td>
  299.  
  300.                                             <td class="formField">
  301.                                                 <span id="lblDisputeStatusValue" >
  302.                                                     <spring:message code="${txnFormBean.disputeStatusKeyCode}" htmlEscape="false"/>
  303.                                                 </span>
  304.                                             </td>
  305.                                         </tr>
  306.                                         </c:if>
  307.                                        
  308.                                         <tr>
  309.                                             <td class="label">
  310.                                                 <label for="lblSettlementMethodValue" id="lblSettlementMethod">
  311.                                                     <spring:message code="myapp.transaction.label.settlementmethod" htmlEscape="false"/>
  312.                                                 </label>
  313.                                             </td>
  314.  
  315.                                             <td class="formField">
  316.                                                 <span id="lblSettlementMethodValue">
  317.                                                 <c:out
  318.                                                 value="${txnFormBean.settlementMethod}" />
  319.                                                 </span>
  320.                                             </td>
  321.                                         </tr>
  322.                                        
  323.                                         <tr>
  324.                                             <td class="label">
  325.                                                 <label for="lblTransactionTypeValue" id="lblTransactionType">
  326.                                                     <spring:message code="myapp.transaction.label.transactiontype" htmlEscape="false"/>
  327.                                                 </label>
  328.                                             </td>
  329.                                             <td class="formField">
  330.                                                 <span id="lblTransactionTypeValue">
  331.                                                 <c:out value="${txnFormBean.transactionType}" />
  332.                                                 </span>
  333.                                             </td>
  334.                                         </tr>
  335.                                         <!-- module access needs to be checked -->
  336.                                         <tr>
  337.                                             <td class="label">
  338.                                                 <label for="lblAccountNumberValue" id="lblAccountNumber" >
  339.                                                     <spring:message code="myapp.transaction.label.accountnumber" htmlEscape="false"/>
  340.                                                 </label>
  341.                                             </td>
  342.                                             <td class="formField">
  343.                                                 <span id="lblAccountNumberValue">                                                  
  344.                                                     <c:if test="${!accountLinkProtected && txnFormBean.accountType ne 'A'}">
  345.                                                         <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"/>">
  346.                                                         <c:out value="${txnFormBean.accountNumber}" /></a>
  347.                                                     </c:if>
  348.                                                     <c:if test="${!accountLinkProtected && txnFormBean.accountType eq 'A'}">
  349.                                                             <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"/>">
  350.                                                         <c:out value="${txnFormBean.accountNumber}" /></a>
  351.                                                     </c:if>
  352.                                                     <c:if test="${accountLinkProtected}">
  353.                                                         <c:out value="${txnFormBean.accountNumber}" />
  354.                                                     </c:if>                                                    
  355.                                                 </span>
  356.                                             </td>
  357.                                         </tr>
  358.                                        
  359.                                         <tr>
  360.                                             <td class="label">
  361.                                                 <label for="lblTransactionDateValue" id="lblTransactionDate">
  362.                                                     <spring:message code="myapp.transaction.label.transactiondate" htmlEscape="false"/>
  363.                                                 </label>
  364.                                             </td>
  365.                                             <td class="formField">
  366.                                                 <span id="lblTransactionDateValue">
  367.                                                 <fmt:formatDate value="${txnFormBean.transactionDate}" pattern="MM/dd/yy"/>
  368.                                                 </span>
  369.                                             </td>
  370.  
  371.                                         </tr>
  372.                                        
  373.                                         <tr>
  374.                                             <td class="label">
  375.                                                 <label for="lblPostDateValue" id="lblPostDate">
  376.                                                     <spring:message code="myapp.transaction.label.postdate" htmlEscape="false"/>
  377.                                                 </label>
  378.                                             </td>
  379.                                             <td class="formField">
  380.                                                 <span id="lblPostDateValue">
  381.                                                 <fmt:formatDate value="${txnFormBean.postDate}" pattern="MM/dd/yy"/>
  382.                                                 </span>
  383.                                             </td>
  384.                                         </tr>
  385.                                        
  386.                                         <!-- module access needs to be checked -->
  387.                                         <tr>
  388.                                             <td class="label">
  389.                                                 <label for="lblMCCValue" id="lblMCC" >
  390.                                                     <spring:message code="myapp.transaction.label.mcc" htmlEscape="false"/>
  391.                                                 </label>
  392.                                             </td>
  393.                                             <td class="formField">
  394.                                                 <span id="lblMCCValue">
  395.                                                 <c:if test="${!mccLinkProtected && txnFormBean.sourcePage ne 'S'}">
  396.                                                     <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>
  397.                                                 </c:if>
  398.                                                 <c:if test="${!mccLinkProtected && txnFormBean.sourcePage eq 'S'}">
  399.                                                     <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"/>">
  400.                                                     <c:out value="${txnFormBean.mccCode}" /></a>
  401.                                                 </c:if>
  402.                                                 <c:if test="${mccLinkProtected}">
  403.                                                     <c:out value="${txnFormBean.mccCode}" />
  404.                                                 </c:if>
  405.                                                 </span>
  406.                                             </td>
  407.                                         </tr>
  408.                                         <!-- module access needs to be checked -->
  409.                                         <tr>
  410.                                             <td class="label">
  411.                                                 <label for="lblMerchantValue" id="lblMerchant" >
  412.                                                     <spring:message code="myapp.transaction.label.merchant" htmlEscape="false"/>
  413.                                                     </label>
  414.                                             </td>
  415.                                             <td class="sixtypercent" align="left" valign="top">
  416.                                                 <span id="lblMerchantValue">
  417.                                                     <c:if test="${!merchantLinkProvided && txnFormBean.sourcePage ne 'S'}">
  418.                                                         <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"/>">
  419.                                                         <c:out value="${txnFormBean.merchant}" /></a>
  420.                                                     </c:if>
  421.                                                     <c:if test="${!mccLinkProtected && txnFormBean.sourcePage eq 'S'}">
  422.                                                         <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"/>">
  423.                                                         <c:out value="${txnFormBean.merchant}" /></a>
  424.                                                 </c:if>
  425.                                                     <c:if test="${merchantLinkProvided}">
  426.                                                         <c:out value="${txnFormBean.merchant}" />
  427.                                                     </c:if>
  428.                                                 </span>
  429.                                             </td>
  430.                                         </tr>
  431.                                        
  432.                                         <tr>
  433.                                             <td class="label">&nbsp;</td>
  434.                                             <td class="formField">
  435.                                                 <span id="lblMerchantCity">
  436.                                                     <c:out value="${txnFormBean.merchantLocation}" />
  437.                                                 </span>
  438.                                             </td>
  439.                                         </tr>
  440.                                        
  441.                                         <tr>
  442.                                             <td class="label" colspan="2">&nbsp;</td>
  443.                                         </tr>
  444.                                        
  445.                                         <tr>
  446.                                             <td class="label bold">
  447.                                                 <span id="lblParentMerchant">
  448.                                                     <spring:message code="myapp.transaction.label.parentmerchant" htmlEscape="false"/>
  449.                                                 </span>
  450.                                             </td>
  451.  
  452.                                             <td class="formField">
  453.                                                 <span id="lblParentMerchantValue">
  454.                                                     <c:out value="${txnFormBean.parentMerchant}" />
  455.                                                 </span>
  456.                                             </td>
  457.                                         </tr>
  458.                                        
  459.                                         <tr>
  460.                                             <td class="label">
  461.                                                 <label for="chkExported" id="lblExported" >
  462.                                                     <spring:message code="myapp.transaction.label.exported" htmlEscape="false"/>
  463.                                                 </label>
  464.                                             </td>
  465.                                             <td class="formField">
  466.                                                 <span disabled="disabled" title="Exported">
  467.                                                     <input id="chkExported" type="checkbox" name="chkExported"
  468.                                                         disabled="disabled"
  469.                                                         <c:if test="${txnFormBean.exported}">checked</c:if> />
  470.                                                 </span>
  471.                                             </td>
  472.                                         </tr>
  473.                                        
  474.                                         <tr>
  475.                                             <td class="label"></td>
  476.                                             <td class="formField"></td>
  477.                                         </tr>
  478.                                        
  479.                                         <tr>
  480.                                             <td class="label">
  481.                                                 <label for="lblCustomerCodeValue" id="lblCustomerCode" >
  482.                                                     <spring:message code="myapp.transaction.label.customercode" htmlEscape="false"/>
  483.                                                 </label>
  484.                                             </td>
  485.                                             <td class="formField">
  486.                                                 <span id="lblCustomerCodeValue">
  487.                                                     <c:out value="${txnFormBean.customerCode}" />
  488.                                                 </span>
  489.                                             </td>
  490.  
  491.                                         </tr>
  492.                                        
  493.                                         <tr>
  494.                                             <td class="label">
  495.                                                 <label for="lblMicroreferenceValue" id="lblMicroreference">
  496.                                                     <spring:message code="myapp.transaction.label.microref" htmlEscape="false"/>
  497.                                                 </label>
  498.                                             </td>
  499.                                             <td class="formField">
  500.                                                 <span id="lblMicroreferenceValue">
  501.                                                     <c:out value="${txnFormBean.microRefNumber}" />
  502.                                                 </span>
  503.                                             </td>
  504.                                         </tr>
  505.                                        
  506.                                         <tr>
  507.                                             <td class="label">
  508.                                                 <label for="lblAuthorizationNumberValue" id="lblAuthorizationNumber">
  509.                                                     <spring:message code="myapp.transaction.label.authorizationnumber" htmlEscape="false"/>
  510.                                                 </label>
  511.                                             </td>
  512.  
  513.                                             <td class="formField">
  514.                                                 <span id="lblAuthorizationNumberValue" >
  515.                                                     <c:out value="${txnFormBean.authorizationNumber}" />
  516.                                                 </span>
  517.                                             </td>
  518.                                         </tr>
  519.                                        
  520.                                         <tr>
  521.                                             <td class="label">
  522.                                                 <label for="lblTransactionIdValue" id="lblTransactionId" >
  523.                                                     <spring:message code="myapp.transaction.label.transactionid" htmlEscape="false"/>
  524.                                                 </label>
  525.                                             </td>
  526.                                             <td class="formField">
  527.                                                 <span id="lblTransactionIdValue">
  528.                                                     <c:out value="${txnFormBean.txnSystemSequenceNumber}" />
  529.                                                 </span>
  530.                                             </td>
  531.                                         </tr>
  532.                                        
  533.                                         <tr>
  534.                                             <td class="label" colspan="2">&nbsp;</td>
  535.                                         </tr>
  536.                                        
  537.                                         <tr>
  538.                                             <td class="label bold">
  539.                                                 <span id="lblOriginalCurrency">
  540.                                                 <spring:message code="myapp.transaction.label.origcurrency" htmlEscape="false"/>
  541.                                                 </span>
  542.                                             </td>
  543.                                             <td class="formField">
  544.                                                 <span id="lblOriginalCurrencyValue">
  545.                                                     <c:out value="${txnFormBean.originalCurrency}" />
  546.                                                 </span>
  547.                                             </td>
  548.                                             <td class="formField">
  549.                                                 <span id="lblOriginalCurrencyValue">
  550.                                                     <c:out value="${txnFormBean.originalCurrency}" />
  551.                                                 </span>
  552.                                             </td>
  553.                                         </tr>
  554.  
  555.                                         <tr>
  556.                                             <td class="label">
  557.                                                 <label for="lblOriginalAmountValue" id="lblOriginalAmount">
  558.                                                     <spring:message code="myapp.transaction.label.origamount" htmlEscape="false"/>
  559.                                                 </label>
  560.                                         <!-- <! CURRENCY FIXES FOR FORIEGN or other CURRENCIES BY W272081> -->
  561.                                             </td>
  562.                                             <td class="formField">
  563.                                                 <span id="lblOriginalAmountValue">
  564.                                 <fmt:formatNumber type="currency" value="${txnFormBean.originalAmount}" currencySymbol="${txnFormBean.originalCurrencySymbol}" />
  565.                                                  </span>
  566.                                                  <input name="hidOriginalAmountValue" type="hidden"
  567.                                                     id="hidOriginalAmountValue" value="80.88000" />
  568.                                             </td>
  569.                                         </tr>
  570.                                        
  571.                                         <tr>
  572.                                             <td class="label">
  573.                                                 <label for="lblTaxValue" id="lblTax" >
  574.                                                     <spring:message code="myapp.transaction.label.tax" htmlEscape="false"/>
  575.                                                 </label>
  576.                                             </td>
  577.                                             <td class="formField">
  578.                                                
  579.                                                 <span id="lblTaxValue">
  580.                             <fmt:formatNumber type="currency" value="${txnFormBean.tax}" currencySymbol= "${txnFormBean.originalCurrencySymbol}" />
  581.                                                 </span>
  582.                                             </td>
  583.                                         </tr>
  584.                                        
  585.                                         <tr>
  586.                                             <td class="label">
  587.                                                 <label for="lblSettlementCurrencyValue" id="lblSettlementCurrency">
  588.                                                     <spring:message code="myapp.transaction.label.settlementcurrency" htmlEscape="false"/>
  589.                                                 </label>
  590.                                             </td>
  591.                                             <td class="formField">
  592.                                                 <span id="lblSettlementCurrencyValue" >
  593.                                                     <c:out value="${txnFormBean.settlementCurrency}" />
  594.                                                 </span>
  595.                                             </td>
  596.                                         </tr>
  597.                                        
  598.                                         <tr>
  599.                                             <td class="label">
  600.                                                 <label for="lblTotalValue" id="lblTotal">
  601.                                                     <spring:message code="myapp.transaction.label.total" htmlEscape="false"/>
  602.                                                 </label>
  603.                                             </td>
  604.  
  605.                                             <td class="formField">
  606.                                                
  607.                                                 <span id="lblTotalValue" class="bold">                                                              
  608.                                                   <fmt:formatNumber type="currency" value="${txnFormBean.total}" currencySymbol="${txnFormBean.settlementCurrencySymbol}"/>
  609.                                                 </span>
  610.                                             </td>
  611.                                         </tr>
  612.                                     </table>
  613.                                     <!-- bottom left -->
  614.                                 </td>
  615.                                
  616.                                 <td valign="top">
  617.                                     <!-- Approvals Processing Box Start -->
  618.                                    
  619.                                     <c:set var="approvalsBean" value="${txnFormBean.approvalsBean}"/>
  620.                                     <form:hidden path="approvalsBean.isEnabled"/>
  621.                                     <form:hidden path="approvalsBean.isReviewed"/>
  622.                                     <form:hidden path="approvalsBean.isOptionRouting"/>
  623.                                     <c:if test="${txnFormBean.approvalsBean.isEnabled}">
  624.                                    
  625.                                         <div id="tapTransaction_radPanel">
  626.                                             <table class="sideFormLayout" >
  627.        
  628.                                                 <tr height="10">
  629.                                                     <th class="fortypercent" align="left"
  630.                                                         scope="col" id="colApproval">
  631.                                                     <span id="Transaction_lblApproval" class="bold"><spring:message code="myapp.transaction.label.approval" htmlEscape="false"/></span>
  632.                                                     </th>
  633.                                                     <th width="28%" class="thirtypercent" scope="col"
  634.                                                         id="colName">&nbsp;</th>
  635.                                                     <th width="32%" class="thirtypercent" align="right"
  636.                                                         scope="col" id="colStatus"><span
  637.                                                         id="Transaction_lblStatusHeader" class="bold"><spring:message code="myapp.transaction.label.status" htmlEscape="false"/></span>
  638.                                                     <span id="Transaction_lblStatus" class="bold">
  639.                                                     <spring:message code="${txnFormBean.approvalStatusKeyCode}" htmlEscape="false"/>
  640.                                                     </span>
  641.                                                     </th>
  642.                                                 </tr>
  643.        
  644.                                                 <tr >
  645.        
  646.                                                     <td  headers="colApproval" class="sideFormField">&nbsp;
  647.                                                          <span id="Transaction_Reviewed_lbl">
  648.                                                          <label>
  649.                                                                 <spring:message code="myapp.transaction.label.reviewed" htmlEscape="false"/>
  650.                                                             </label>
  651.                                                          </span>
  652.                                                      </td>
  653.                                                     <td headers="colName" class="sideFormField">
  654.                                                         <span id="Transaction_Approval_lblApproverName" title="Reviewed">
  655.                                                         </span> &nbsp;
  656.                                                     </td>
  657.                                                     <td headers="colStatus" class="center sideFormField">
  658.                                                             <label for="reviewedCheckBox" class="hideDiv">
  659.                                                                 <spring:message code="myapp.transaction.label.reviewed" htmlEscape="false"/>
  660.                                                             </label>
  661.                                                        
  662.                                                         <c:if test="${txnFormBean.approvalsBean.isReviewed}">
  663.                                                             <form:checkbox id ="reviewedCheckBox" path="approvalsBean.isReviewed" disabled="true"/>
  664.                                                         </c:if>
  665.                                                        
  666.                                                         <c:if test="${!txnFormBean.approvalsBean.isReviewed}">
  667.                                                             <c:if test="${!saveProtected && txnFormBean.approvalsBean.currentUserIsReviewer}">
  668.                                                                 <form:checkbox id ="reviewedCheckBox" path="approvalsBean.updateChecked"  />
  669.                                                             </c:if>
  670.                                                             <c:if test="${!saveProtected && !txnFormBean.approvalsBean.currentUserIsReviewer}">
  671.                                                                 <form:checkbox id= "reviewedCheckBox" path="approvalsBean.updateChecked" disabled="true" />
  672.                                                             </c:if>
  673.                                                            
  674.                                                             <c:if test="${saveProtected}">
  675.                                                                 <input id="reviewedCheckBox" type="checkbox" name="checkboxplaceholder" disabled="true" />
  676.                                                             </c:if>
  677.                                                         </c:if>
  678.                                                     </td>
  679.                                                 </tr>
  680.                                                
  681.                                                 <form:hidden path="approvalsBean.nextApproverHierarchyId"/>
  682.                                                 <form:hidden path="approvalsBean.isHierarchyProcessing"/>
  683.                                                 <form:hidden path="approvalsBean.nextApproverCount"/>
  684.                                                 <c:forEach var="approversList" items="${txnFormBean.approvalsBean.approversList}"  varStatus="loopStatus">
  685.                                                
  686.                                                     <tr>
  687.                                                         <td headers="colApproval" class="sideFormField">&nbsp;
  688.                                                              <span id="tapTransaction_rptApproval_ctl02_lblNumber"><label>
  689.                                                              <spring:message code="myapp.transaction.label.approval" htmlEscape="false"/> ${loopStatus.index + 1}
  690.                                                              </label>
  691.                                                              </span>
  692.                                                               <input name="tapTransaction$rptApproval$ctl02$hidApprovalId"
  693.                                                                 type="hidden" id="tapTransaction_rptApproval_ctl02_hidApprovalId" value="2" />
  694.                                                         </td>
  695.                                                         <td headers="colName" class="sideFormField">
  696.                                                             <span id="approverName${loopStatus.index + 1}" title="Approval ${loopStatus.index + 1}">
  697.                
  698.                                                                 <c:out value="${txnFormBean.approvalsBean.approversList[loopStatus.index].approverName}" />
  699.                
  700.                                                                 <c:if test="${txnFormBean.approvalsBean.approversList[loopStatus.index].isNextApproverItem}">
  701.                                                                     <c:if test="${txnFormBean.approvalsBean.nextApproverCount gt 1 || txnFormBean.approvalsBean.nextApproverCount eq 0}">
  702.                                                                         <form:select id="approverList" path="approvalsBean.selectedApprover">
  703.                                                                            
  704.                                                                                 <c:if test="${txnFormBean.approvalsBean.isHierarchyProcessing && txnFormBean.approvalsBean.nextApproverCount > 1 && !txnFormBean.approvalsBean.isOptionRouting}">
  705.                                                                                     <form:option value="0"><spring:message code="myapp.transaction.label.any" htmlEscape="false"/></form:option>
  706.                                                                                 </c:if>
  707.                                                                        
  708.                                                                                 <c:forEach items="${txnFormBean.approvalsBean.nextApproverList}" var="nextApproverList">
  709.                                                                                     <form:option label="${nextApproverList.familyName},${nextApproverList.givenName}" value="${nextApproverList.id}" />
  710.                                                                                 </c:forEach>
  711.                                                                            
  712.                                                                         </form:select>
  713.                                                                     </c:if>
  714.                                                                     <c:if test="${txnFormBean.approvalsBean.nextApproverCount eq 1}">
  715.                                                                         <c:forEach items="${txnFormBean.approvalsBean.nextApproverList}" var="nextApproverList">
  716.                                                                             <c:out value="${nextApproverList.familyName},${nextApproverList.givenName}"/>
  717.                                                                             <c:set var="approverListId" value="${nextApproverList.id}"/>
  718.                                                                         </c:forEach>
  719.                                                                        <form:hidden id="approverList" path="approvalsBean.selectedApprover"/>
  720.                                                                         <script>
  721.                                                                         document.getElementById("approverList").value="${approverListId}";
  722.                                                                         </script>
  723.                                                                     </c:if>
  724.                                                                 </c:if>
  725.                                                                
  726.                                                                
  727.                                                                
  728.                                                                 </span>
  729.                                                             </td>
  730.                                                            
  731.                                                         <td class="center sideFormField" headers="colStatus">
  732.                                                             <label for="tapTransaction_rptApproval_ctl02_chkApproved${loopStatus.index + 1}"
  733.                                                                             class="hideDiv">
  734.                                                                 <spring:message code="myapp.transaction.label.approval" htmlEscape="false"/> ${loopStatus.index + 1}
  735.                                                             </label>
  736.                                                            
  737.                                                             <span>
  738.                                                                 <c:if test="${txnFormBean.approvalsBean.approversList[loopStatus.index].isDisabled}">
  739.                                                                     <input id="tapTransaction_rptApproval_ctl02_chkApproved${loopStatus.index + 1}" type="checkbox"
  740.                                                                         name="tapTransaction$rptApproval$ctl02$chkApproved"
  741.                                                                         <c:if test="${txnFormBean.approvalsBean.approversList[loopStatus.index].isChecked}">
  742.                                                                         checked="yes"
  743.                                                                         </c:if>
  744.                                                                         disabled="disabled"
  745.                                                                     />
  746.                                                                    
  747.                                                                 </c:if>
  748.                                                                 <c:if test="${!txnFormBean.approvalsBean.approversList[loopStatus.index].isDisabled}">
  749.                                                                     <form:checkbox id="tapTransaction_rptApproval_ctl02_chkApproved${loopStatus.index + 1}" path="approvalsBean.updateChecked" />
  750.                                                                 </c:if>
  751.                                                             </span>
  752.                                                            
  753.                                                         </td>
  754.                                                 </tr>
  755.        
  756.                                                 </c:forEach>
  757.                                                
  758.                                                 <c:if test="${txnFormBean.approvalsBean.isOptionRouting && txnFormBean.approvalsBean.currentUserIsApprover && !empty txnFormBean.approvalsBean.nextApproverList}">
  759.                                                     <tr>
  760.                                                         <td headers="colApproval" class="sideFormField">&nbsp;
  761.                                                              <span id="tapTransaction_rptApproval_ctl02_lblNumber">
  762.                                                              <spring:message code="myapp.transaction.label.optionrouting" htmlEscape="false"/> </span>
  763.                                                               <input name="tapTransaction$rptApproval$ctl02$hidApprovalId"
  764.                                                                 type="hidden" id="tapTransaction_rptApproval_ctl02_hidApprovalId" value="2" />
  765.                                                         </td>
  766.                                                         <td headers="colName" class="sideFormField">
  767.                                                             <form:select id="approverList" path="approvalsBean.selectedApprover">  
  768.                                                             <form:option value="0"><spring:message code="myapp.transaction.transactionDetail.select" htmlEscape="false"/></form:option>                                                    
  769.                                                                 <c:forEach items="${txnFormBean.approvalsBean.nextApproverList}" var="nextApproverList">
  770.                                                                     <form:option label="${nextApproverList.familyName},${nextApproverList.givenName}" value="${nextApproverList.id}" />
  771.                                                                 </c:forEach>
  772.                                                             </form:select>
  773.                                                         </td>
  774.                                                        
  775.                                                     </tr>
  776.                                                 </c:if>
  777.                                                
  778.                                                 </table>
  779.                                        
  780.                                         </div>
  781.                                    
  782.                                     </c:if>
  783.                                     <!-- Approvals Processing Box End -->
  784.  
  785.                                     <br />
  786.                                         <div id="pnlAccountingCodes" class="showDivCOA">
  787.                                             <myapp:transactionAccountingCodes transactionDefaultsBean="${txnFormBean.transDefaultFormBean}" beanPath="transDefaultFormBean" foreignKeyId="${txnFormBean.transactionItemID}"
  788.                                             userId="${txnFormBean.accountUserId}" hierarchyId="${txnFormBean.accountHierarchyId}" accountId="${txnFormBean.accountId}" className="transactions"
  789.                                             disabled="${!txnFormBean.areAccountingCodesEditable}"/>
  790.                                         </div>
  791.                                     <br />
  792.  
  793.                                     <div id="pnlCustomFields" class="showDiv">
  794.  
  795.                                     <div id="divCustomField" class="showDiv">
  796.                                         <table class="fullwidth sideFormLayout greyBackground" id="tblCustomField"  cellspacing="2">
  797.                                                 <tr>
  798.                                                         <td colspan="3" vAlign="top" class="sideFormHeader">&nbsp;
  799.                                                         <c:set var="defaultCustomFieldText" ><spring:message code="myapp.customField.tag.default.text" htmlEscape="false"/></c:set>
  800.                                                         <label for="divCustomField" id="lnkCustomFields" class="bold"><spring:message code="myapp.transaction.label.customFields" text="${defaultCustomFieldText}" htmlEscape="false"/></label>
  801.                                                         </td>
  802.                                                 </tr>  
  803.                                             <tr>
  804.                                                 <td colspan="3" height="1" class="sideFormField"><img src="${myapp_image}/Spacer.gif" height="1" width="1" alt="" /></td>
  805.                                             </tr>
  806.                                            
  807.                                             <c:forEach items="${customFields}" var="customField" varStatus="loopStatus" >
  808.                                             <tr class="inFrameTableRow" <c:if test="${customField.lineItemIncluded}">name="itemLevelOnly"  </c:if> <c:if test="${!customField.lineItemIncluded}">name="SummaryLevelOnly"  </c:if> >
  809.                                            
  810.                                             <td class="left sideFormField fourpercent" >
  811.                                             </td>
  812.                                                 <td class="thirtypercent">
  813.                                                     <c:choose>
  814.                                                         <c:when test="${customField.isRequired == 'true'}">
  815.                                                             <c:choose>
  816.                                                                 <c:when test="${customField.userInstructionText != null}">
  817.                                                                     <a title='${customField_tooltip}' href="javascript:showInstructionalText('${customField.name}', '${customField.userInstructionText}')">* ${customField.name}</a>
  818.                                                                 </c:when>
  819.                                                                 <c:otherwise>
  820.                                                                     <label class="bold">* ${customField.name}</label>
  821.                                                                 </c:otherwise>
  822.                                                             </c:choose>
  823.                                                         </c:when>
  824.                                                         <c:otherwise>
  825.                                                             <c:choose>
  826.                                                                 <c:when test="${customField.userInstructionText != null}">
  827.                                                                     <a title='${customField_tooltip}' href="javascript:showInstructionalText('${customField.name}', '${customField.userInstructionText}')">${customField.name}</a>
  828.                                                                 </c:when>
  829.                                                                 <c:otherwise>
  830.                                                                     <label class="bold">${customField.name}</label>
  831.                                                                 </c:otherwise>
  832.                                                             </c:choose>
  833.                                                         </c:otherwise>
  834.                                                     </c:choose>
  835.                                                                    
  836.                                                 </td>                  
  837.                                                 <td  class="left sideFormField">
  838.                                                     <c:choose>
  839.                                                         <c:when test="${customField.controlType.code == 'TB'}">
  840.                                                             <c:choose>
  841.                                                                 <c:when test="${customField.characterLengthNumber >= '0' and customField.characterLengthNumber != null}">
  842.                                                                     <c:choose>
  843.                                                                         <c:when test="${isDisabled eq 'true'}">
  844.                                                                             <form:input title="${customField.name}" path="customField.customField${customField.customFieldNumber}" maxLength="${customField.characterLengthNumber}" cssClass="border ac_input" disabled="true"/>
  845.                                                                         </c:when>
  846.                                                                         <c:otherwise>
  847.                                                                             <c:choose>
  848.                                                                                 <c:when test="${isTextOnly eq 'true'}">
  849.                                                                                     <form:input title="${customField.name}" path="customField.customField${customField.customFieldNumber}" maxLength="${customField.characterLengthNumber}" cssClass="border ac_input" readonly="true"/>
  850.                                                                                 </c:when>
  851.                                                                                 <c:otherwise>
  852.                                                                                     <form:input title="${customField.name}" path="customField.customField${customField.customFieldNumber}" maxLength="${customField.characterLengthNumber}" cssClass="border ac_input"/>
  853.                                                                                 </c:otherwise>
  854.                                                                             </c:choose>
  855.                                                                         </c:otherwise>
  856.                                                                     </c:choose>
  857.                                                                 </c:when>
  858.                                                                 <c:otherwise>
  859.                                                                     <c:when test="${isDisabled eq 'true'}">
  860.                                                                         <form:input title="${customField.name}" path="customField.customField${customField.customFieldNumber}" cssClass="border ac_input" disabled="true"/>
  861.                                                                     </c:when>
  862.                                                                     <c:otherwise>
  863.                                                                         <c:choose>
  864.                                                                             <c:when test="${isTextOnly eq 'true'}">
  865.                                                                                 <c:out value="customField.customField${customField.customFieldNumber}"/>
  866.                                                                             </c:when>
  867.                                                                             <c:otherwise>
  868.                                                                                 <form:input title="${customField.name}" path="customField.customField${customField.customFieldNumber}" cssClass="formTextBox" />
  869.                                                                             </c:otherwise>
  870.                                                                         </c:choose>
  871.                                                                     </c:otherwise>
  872.                                                                 </c:otherwise>
  873.                                                             </c:choose>
  874.                                                         </c:when>
  875.                                                         <c:when test="${customField.controlType.code == 'DD'}">
  876.                                                             <c:choose>
  877.                                                                 <c:when test="${isDisabled eq 'true'}">
  878.                                                                     <form:select title="${customField.name}" path="customField.customField${customField.customFieldNumber}"  disabled="true">
  879.                                                                         <form:option title="${customField.name}" value="">
  880.                                                                         <spring:message code="myapp.common.select"  htmlEscape="false"/>
  881.                                                                         </form:option>
  882.                                                                         <form:options title="${customField.name}" items="${customField.listValues}" itemLabel="valueText" itemValue="valueText"/>
  883.                                                                     </form:select>
  884.                                                                 </c:when>
  885.                                                                 <c:otherwise>
  886.                                                                     <c:choose>
  887.                                                                         <c:when test="${isTextOnly eq 'true'}">
  888.                                                                             <c:out value="customField.customField${customField.customFieldNumber}"/>
  889.                                                                         </c:when>
  890.                                                                         <c:otherwise>
  891.                                                                             <form:select title="${customField.name}" path="customField.customField${customField.customFieldNumber}">
  892.                                                                                 <form:option title="${customField.name}" value="">
  893.                                                                                 <spring:message code="myapp.common.select" htmlEscape="false"/>
  894.                                                                                 </form:option>
  895.                                                                                 <form:options title="${customField.name}" items="${customField.listValues}" itemValue="valueText" itemLabel="valueText"/>
  896.                                                                             </form:select>
  897.                                                                         </c:otherwise>
  898.                                                                     </c:choose>
  899.                                                                 </c:otherwise>
  900.                                                             </c:choose>
  901.                                                         </c:when>
  902.                                                         <c:when test="${customField.controlType.code == 'CB'}">
  903.                                                             <c:choose>
  904.                                                                 <c:when test="${isDisabled eq 'true'}">
  905.                                                                     <form:checkbox title="${customField.name}" path="customField.customField${customField.customFieldNumber}" value="true" disabled="true"/>
  906.                                                                 </c:when>
  907.                                                                 <c:otherwise>
  908.                                                                     <c:choose>
  909.                                                                         <c:when test="${isTextOnly eq 'true'}">
  910.                                                                             <c:out value="customField.customField${customField.customFieldNumber}"/>
  911.                                                                         </c:when>
  912.                                                                         <c:otherwise>
  913.                                                                             <form:checkbox title="${customField.name}" path="customField.customField${customField.customFieldNumber}" value="true"/>
  914.                                                                         </c:otherwise>
  915.                                                                     </c:choose>
  916.                                                                 </c:otherwise>
  917.                                                             </c:choose>
  918.                                                         </c:when>
  919.                                                         <c:otherwise>
  920.                                                             <c:choose>
  921.                                                                 <c:when test="${isDisabled eq 'true'}">
  922.                                                                     <form:input title="${customField.name}" path="customField.customField${customField.customFieldNumber}" cssClass="border ac_input" disabled="true"/>
  923.                                                                 </c:when>
  924.                                                                 <c:otherwise>
  925.                                                                     <c:choose>
  926.                                                                         <c:when test="${isTextOnly eq 'true'}">
  927.                                                                             <c:out value="customField.customField${customField.customFieldNumber}"/>
  928.                                                                         </c:when>
  929.                                                                         <c:otherwise>
  930.                                                                             <form:input title="${customField.name}" path="customField.customField${customField.customFieldNumber}" cssClass="border ac_input"/>
  931.                                                                         </c:otherwise>
  932.                                                                     </c:choose>
  933.                                                                 </c:otherwise>
  934.                                                             </c:choose>
  935.                                                         </c:otherwise>
  936.                                                     </c:choose>
  937.                                                 </td>
  938.                                                
  939.                                             </tr>
  940.                                             </c:forEach>
  941.                                         </table>
  942.                                     </div>  <!-- End divCustomField -->
  943.  
  944.     </div>
  945.             <br />
  946.                                     <!--  Fixing Defect  R4 - 10848 Start -->
  947.                                     <label for="txtTransactionNotes" id="txtNoteslbl"
  948.                                         class="bold"><spring:message code="myapp.transaction.label.notes" htmlEscape="false"/></label>
  949.                                         <br />
  950.                                     <form:textarea path="transactionNotes" rows="5" cols="30"
  951.                                         id="txtNotes"  />
  952.                                         <div id="noteMessageDiv"></div>
  953.                                         <br/>
  954.                                        
  955.                                          <!--  Fixing Defect  R4 - 10848 End -->
  956.                                     </td>
  957.                                 </tr>
  958.                             </table>
  959.                             <!-- Bottom --></td>
  960.                             <td><!-- data margin --></td>
  961.                         </tr>
  962.                         <tr>
  963.                             <td colspan="3">&nbsp;</td>
  964.                         </tr>
  965.                    
  966.                     <c:if test="${txnFormBean.maxLineNumber != 0  || txnFormBean.maxLineNumber!= null}">
  967.                         <tr>
  968.                             <td><!-- data margin --></td>
  969.                             <td><!-- Pre Line Items -->
  970.                             <table id="lineItemHeadingArea" class="hideDiv">
  971.                                 <tr>
  972.                                     <td colspan="2"></td>
  973.                                     <td class="twentypercent">
  974.                                         <div id="divShowAccounting" class="showDiv">
  975.                                             <u><span id="lblLineTotals" class="bold">
  976.                                             <spring:message code="myapp.transaction.label.linetotals" htmlEscape="false"/></span></u>
  977.                                         </div>
  978.                                     </td>
  979.                                 </tr>
  980.                                 <tr>
  981.                                     <td class="fiftypercent" valign="bottom">
  982.                                     <div id="divShowAccounting1" class="showDiv">
  983.                                         <span  title="Line Item Level Accounting">
  984.                                             <form:checkbox id="lineItemAccounting" path="lineItemlevelAccounting" onClick="toggleLineItemAccounting(false);" disabled="${txnFormBean.disableAddLines}"/>
  985.                                             <label for="lineItemlevelAccounting">
  986.                                                 <spring:message code="myapp.transaction.label.lineitemlevelaccounting" htmlEscape="false"/>
  987.                                             </label>
  988.                                         </span>
  989.                                     </div>
  990.  
  991.                                     </td>
  992.                                     <td class="thirtypercent">&nbsp;</td>
  993.                                     <td class="twentypercent">
  994.                                     <div id="divShowAccounting2" class="showDiv">
  995.                                         <span id="lblPercentage">100%</span> &nbsp;
  996.                                         <span id="lblTransactionTotalCurrencySign">
  997.                                         <c:out value="${txnFormBean.settlementCurrencySymbol}" /></span>
  998.                                     <span id="lblTransactionTotal">
  999.                                     <span id="lblTotalValue" class="bold">
  1000.                                     <c:out value="${txnFormBean.total}" /></span></span>
  1001.                                     <input
  1002.                                         name="hidTransactionTotal" type="hidden"
  1003.                                         id="hidTransactionTotal" value="${txnFormBean.total}" /></div>
  1004.                                     </td>
  1005.                                 </tr>
  1006.                             </table>
  1007.                             <!-- Pre Line Items --></td>
  1008.                             <td><!-- data margin --></td>
  1009.                         </tr>
  1010.  
  1011.                         <tr>
  1012.  
  1013.                             <td><!-- data margin --></td>
  1014.                             <td>
  1015.                             <div id="pnlLineItems" ><!-- Line Items -->
  1016.                             <div id="transactionLineItemTable" class="fullwidth">
  1017.                                 <hr />
  1018.                                 <table>
  1019.                                 <tbody id="ItemRowNumber${loopStatus.index}">
  1020.                                 <c:forEach var="transactionDetailsItems"
  1021.                                     items="${txnFormBean.transactionDetailsItems}"
  1022.                                     varStatus="loopStatus">
  1023.  
  1024.                                     <!-- Line Item Start -->
  1025.                                    
  1026.                                         <tr>
  1027.                                             <td  colspan="2"><u><label
  1028.                                                 for="ItemCount${loopStatus.index}"
  1029.                                                 id="ItemLabel${loopStatus.index}"><spring:message code="myapp.transaction.label.item" htmlEscape="false"/></label></u></td>
  1030.                                             <td ><u><label
  1031.                                                 for="rptItem_ctl01_txtItemDescription${loopStatus.index}"
  1032.                                                 id="ItemDescriptionLabel${loopStatus.index}"><spring:message code="myapp.transaction.label.description" htmlEscape="false"/></label></u></td>
  1033.                                             <td class="center" nowrap="nowrap"><u><label
  1034.                                                 for="rptItem_ctl01_txtItemUnits${loopStatus.index}"
  1035.                                                 id="ItemUnitsLabel${loopStatus.index}"><spring:message code="myapp.transaction.label.unitnum" htmlEscape="false"/></label></u></td>
  1036.                                             <td class="center"><u><label
  1037.                                                 for="rptItem_ctl01_txtItemPrice${loopStatus.index}"
  1038.                                                 id="ItemPrice${loopStatus.index}"><spring:message code="myapp.transaction.label.unitprice" htmlEscape="false"/></label></u></td>
  1039.                                             <td><u><label
  1040.                                                 for="rptItem_ctl01_chkItemTaxable${loopStatus.index}"
  1041.                                                 id="ItemTaxable${loopStatus.index}"><spring:message code="myapp.transaction.label.taxable" htmlEscape="false"/></label></u></td>
  1042.                                             <td class="center"><u><label
  1043.                                                 for="rptItem_ctl01_txtItemPercentage${loopStatus.index}"
  1044.                                                 id="ItemPercentage${loopStatus.index}">%</label></u></td>
  1045.  
  1046.                                             <td class="right"><u><label
  1047.                                                 for="rptItem_ctl01_lblItemTotal${loopStatus.index}"
  1048.                                                 id="ItemTotalHeader${loopStatus.index}"><spring:message code="myapp.transaction.label.total" htmlEscape="false"/></label>&nbsp;</u></td>
  1049.                                             <td>&nbsp;</td>
  1050.                                             <td>&nbsp;</td>
  1051.                                         </tr>
  1052.  
  1053.  
  1054.                                         <tr class="grey">
  1055.                                             <td colspan="2" aaa:relevant="all" aaa:live="polite"><a href="#"
  1056.                                                 id="ItemOpenCloseLink${loopStatus.index}"
  1057.                                                 onclick="javascript:ShowHideControls('ItemOpenCloseImg${loopStatus.index}','ItemCOA${loopStatus.index}','ItemCustomFields${loopStatus.index}','${myapp_image}','Collapse to Hide','Expand to Edit');return false;"><img
  1058.                                                 id="ItemOpenCloseImg${loopStatus.index}"
  1059.                                                 src="${myapp_image}/RightArrow_light.gif"
  1060.                                                 alt="Expand to Edit"  /></a>
  1061.                                                 <span id="rowNumber">
  1062.                                                 ${loopStatus.index + 1}</span>
  1063.                                             </td>
  1064.  
  1065.                                             <td><form:hidden
  1066.                                                 path="transactionDetailsItems[${loopStatus.index}].id" /> <form:input
  1067.                                                 id="ItemDescriptionValue${loopStatus.index}"
  1068.                                                 path="transactionDetailsItems[${loopStatus.index}].description"
  1069.                                                 maxlength="50"
  1070.                                                 cssClass="formTextBoxLong"/></td>
  1071.                                             <td class="center"><form:input
  1072.                                                 path="transactionDetailsItems[${loopStatus.index}].unitQuanitity"
  1073.                                                 id="UnitQuantity${loopStatus.index}" cssClass="formTextBoxDefault"
  1074.                                                 maxlength="11"
  1075.                                                 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>
  1076.  
  1077.                                             <td class="center"><form:input
  1078.                                                 path="transactionDetailsItems[${loopStatus.index}].unitPriceAmount"
  1079.                                                 id="UnitPriceAmount${loopStatus.index}"
  1080.                                                 cssClass="formTextBoxDefault" maxlength="9"
  1081.                                                 onchange="javascript:ItemPriceChange(this,'UnitQuantity${loopStatus.index}','LineItemPercentage${loopStatus.index}','rowNumber','ItemTotal${loopStatus.index}','ItemTotalHidden${loopStatus.index}');" /></td>
  1082.                                             <td class="center"><span
  1083.                                                 title="Line Item 1 Taxable"> <form:checkbox
  1084.                                                 path="transactionDetailsItems[${loopStatus.index}].taxableIndicator" />
  1085.  
  1086.                                             </span></td>
  1087.                                            
  1088.                                             <!--  modified by v292232 to store the percentages in the unitPercentage attribute of the FormBean -->
  1089.                                             <td class="center"><form:input
  1090.                                                 path="transactionDetailsItems[${loopStatus.index}].unitPercentage"
  1091.                                                 maxlength="5" size="5" cssClass="formTextBoxDefault"
  1092.                                                 id="LineItemPercentage${loopStatus.index}"
  1093.                                                 title="Line Item 1 Percent of Total"
  1094.                                                 onchange="javascript:ItemPercentChange(this,'UnitPriceAmount${loopStatus.index}','UnitQuantity${loopStatus.index}','lblTotalValue','ItemTotal${loopStatus.index}','ItemTotalHidden${loopStatus.index}');" />
  1095.                                             </td>
  1096.  
  1097.                                             <td class="right"><span
  1098.                                                 id="ItemTotal${loopStatus.index}">0</span>
  1099.                                                 <form:hidden                   
  1100.                                                 id="ItemTotalHidden${loopStatus.index}" path="transactionDetailsItems[${loopStatus.index}].lineItemTotal"/>
  1101.                                             </td>
  1102.  
  1103.                                             <td id="btnDelete"><input type="image" id="btnRemove"
  1104.                                                 src="${myapp_image}/Trash.gif" alt="<spring:message code='myapp.payment.lineItem.Icon.delete.title' htmlEscape="false"/>"
  1105.                                                 onClick="removeRow(${loopStatus.index}); return false;" />
  1106.                                             </td>
  1107.  
  1108.                                             <td id="btnAdd${loopStatus.index}"><input type="image"
  1109.                                                 src="${myapp_image}/Plus.gif" alt="<spring:message code='myapp.payment.lineItem.Icon.add.title' htmlEscape="false"/>"
  1110.                                                 id="btnAdd" onclick="addNewRow(); return false;" />
  1111.                                             </td>
  1112.                                                
  1113.                                             <td class="right"></td>
  1114.                                            
  1115.                                         </tr>
  1116.  
  1117.                                         <!-- Line Item Attributes Start -->
  1118.                                         <tr aaa:relevant="all" aaa:live="polite">
  1119.                                             <td colspan="3">
  1120.  
  1121.                                                 <div id="ItemCOA${loopStatus.index}" class="center hideDiv">
  1122.                                                     <!-- wait until last item to do dirty bind -->
  1123.                                                     <myapp:transactionAccountingCodes
  1124.                                                     transactionDefaultsBean="${txnFormBean.transactionDetailsItems[loopStatus.index].transDefaultFormBean}"
  1125.                                                     beanPath="transactionDetailsItems[${loopStatus.index}].transDefaultFormBean"
  1126.                                                     foreignKeyId="${txnFormBean.transactionDetailsItems[loopStatus.index].id}"
  1127.                                                    userId="${txnFormBean.accountUserId}" hierarchyId="${txnFormBean.accountHierarchyId}" accountId="${txnFormBean.accountId}"
  1128.                                                      version="${loopStatus.index}" className="transactions"
  1129.                                                      disabled="${!txnFormBean.areAccountingCodesEditable}"
  1130.                                                      onClickElement="ItemOpenCloseLink${loopStatus.index}"
  1131.                                                      doDirtyBind="${loopStatus.last}"
  1132.                                                      />
  1133.                                                     <br>
  1134.                                                     <br>
  1135.    
  1136.                                                 </div>
  1137.  
  1138.                                             </td>
  1139.  
  1140.                                             <td colspan="6"><!-- Custom Fields -->
  1141.  
  1142.                                             <div id="ItemCustomFields${loopStatus.index}" class="hideDiv">
  1143.  
  1144.                                                 <table width="100%" border="0"
  1145.                                                     cellpadding="0" cellspacing="0" class="sideFormLayout"
  1146.                                                     id="tblCustomField">
  1147.                                                     <tr>
  1148.                                                         <td colspan="3" vAlign="top" class="sideFormHeader">&nbsp; <label
  1149.                                                             for="divCustomField" id="lnkCustomFields"
  1150.                                                             class="bold"><spring:message
  1151.                                                             code="myapp.transaction.label.customFields"
  1152.                                                             text="Custom Fields" htmlEscape="false"/></label></td>
  1153.                                                     </tr>
  1154.                                                     <tr>
  1155.                                                         <td colspan="3" height="1" class="sideFormField"><img
  1156.                                                             src="${myapp_image}/Spacer.gif" height="1" width="1" alt="" /></td>
  1157.                                                     </tr>
  1158.    
  1159.                                                     <c:forEach items="${customFields}" var="customField"
  1160.                                                         varStatus="CustomFieldloopStatus">
  1161.                                                        
  1162.                                                     <c:if test="${customField.lineItemIncluded}">
  1163.                                                        
  1164.                                                         <tr class="inFrameTableRow">
  1165.    
  1166.                                                             <td class="sideFormLabel"><c:choose>
  1167.                                                                 <c:when test="${customField.isRequired == 'true'}">
  1168.                                                                     <c:choose>
  1169.                                                                         <c:when
  1170.                                                                             test="${customField.userInstructionText != null}">
  1171.                                                                             <a
  1172.                                                                                 title='${customField_tooltip}' href="javascript:showInstructionalText('${customField.name}', '${customField.userInstructionText}')">*
  1173.                                                                             ${customField.name}</a>
  1174.                                                                         </c:when>
  1175.                                                                         <c:otherwise>
  1176.                                                                             <label class="bold">*
  1177.                                                                             ${customField.name}</label>
  1178.                                                                         </c:otherwise>
  1179.                                                                     </c:choose>
  1180.                                                                 </c:when>
  1181.                                                                 <c:otherwise>
  1182.                                                                     <c:choose>
  1183.                                                                         <c:when
  1184.                                                                             test="${customField.userInstructionText != null}">
  1185.                                                                             <a
  1186.                                                                                 title='${customField_tooltip}' href="javascript:showInstructionalText('${customField.name}', '${customField.userInstructionText}')">${customField.name}</a>
  1187.                                                                         </c:when>
  1188.                                                                         <c:otherwise>
  1189.                                                                             <label class="bold">${customField.name}</label>
  1190.                                                                         </c:otherwise>
  1191.                                                                     </c:choose>
  1192.                                                                 </c:otherwise>
  1193.                                                             </c:choose></td>
  1194.                                                             <td  class="left sideFormLabel"><c:choose>
  1195.                                                                 <c:when test="${customField.controlType.code == 'TB'}">
  1196.                                                                     <c:choose>
  1197.                                                                         <c:when
  1198.                                                                             test="${customField.characterLengthNumber >= '0' and customField.characterLengthNumber != null}">
  1199.                                                                             <c:choose>
  1200.                                                                                 <c:when test="${isDisabled eq 'true'}">
  1201.                                                                                     <form:input
  1202.                                                                                         path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
  1203.                                                                                         title="${customField.name}" maxLength="${customField.characterLengthNumber}"
  1204.                                                                                         cssClass="formTextBox" disabled="true" />
  1205.                                                                                 </c:when>
  1206.                                                                                 <c:otherwise>
  1207.                                                                                     <c:choose>
  1208.                                                                                         <c:when test="${isTextOnly eq 'true'}">
  1209.                                                                                             <form:input
  1210.                                                                                                 path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
  1211.                                                                                                 title="${customField.name}" maxLength="${customField.characterLengthNumber}"
  1212.                                                                                                 cssClass="formTextBox" readonly="true" />
  1213.                                                                                         </c:when>
  1214.                                                                                         <c:otherwise>
  1215.                                                                                             <form:input
  1216.                                                                                                 path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
  1217.                                                                                                 title="${customField.name}" maxLength="${customField.characterLengthNumber}"
  1218.                                                                                                 cssClass="formTextBox" />
  1219.                                                                                         </c:otherwise>
  1220.                                                                                     </c:choose>
  1221.                                                                                 </c:otherwise>
  1222.                                                                             </c:choose>
  1223.                                                                         </c:when>
  1224.                                                                         <c:otherwise>
  1225.                                                                             <c:when test="${isDisabled eq 'true'}">
  1226.                                                                                 <form:input
  1227.                                                                                     path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
  1228.                                                                                     title="${customField.name}" cssClass="formTextBox" disabled="true" />
  1229.                                                                             </c:when>
  1230.                                                                             <c:otherwise>
  1231.                                                                                 <c:choose>
  1232.                                                                                     <c:when test="${isTextOnly eq 'true'}">
  1233.                                                                                         <c:out
  1234.                                                                                             value="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}" />
  1235.                                                                                     </c:when>
  1236.                                                                                     <c:otherwise>
  1237.                                                                                         <form:input
  1238.                                                                                             path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
  1239.                                                                                             title="${customField.name}" cssClass="formTextBox" />
  1240.                                                                                     </c:otherwise>
  1241.                                                                                 </c:choose>
  1242.                                                                             </c:otherwise>
  1243.                                                                         </c:otherwise>
  1244.                                                                     </c:choose>
  1245.                                                                 </c:when>
  1246.                                                                 <c:when test="${customField.controlType.code == 'DD'}">
  1247.                                                                     <c:choose>
  1248.                                                                         <c:when test="${isDisabled eq 'true'}">
  1249.                                                                             <form:select
  1250.                                                                                 title="${customField.name}" path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}" disabled="true">
  1251.                                                                                 <form:option title="${customField.name}" value="">
  1252.                                                                                     <spring:message code="myapp.common.select"  htmlEscape="false"/>
  1253.                                                                                 </form:option>
  1254.                                                                             <form:options title="${customField.name}" items="${customField.listValues}" itemLabel="valueText" itemValue="valueText"/>
  1255.                                                                             </form:select>
  1256.                                                                         </c:when>
  1257.                                                                         <c:otherwise>
  1258.                                                                             <c:choose>
  1259.                                                                                 <c:when test="${isTextOnly eq 'true'}">
  1260.                                                                                     <c:out
  1261.                                                                                         value="customField.customField${customField.customFieldNumber}" />
  1262.                                                                                 </c:when>
  1263.                                                                                 <c:otherwise>
  1264.                                                                                     <form:select title="${customField.name}" path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}">
  1265.                                                                                         <form:option title="${customField.name}" value="">
  1266.                                                                                             <spring:message code="myapp.common.select"  htmlEscape="false"/>
  1267.                                                                                         </form:option>
  1268.                                                                                         <form:options title="${customField.name}" items="${customField.listValues}" itemValue="valueText" itemLabel="valueText"/>
  1269.                                                                                     </form:select>
  1270.                                                                                 </c:otherwise>
  1271.                                                                             </c:choose>
  1272.                                                                         </c:otherwise>
  1273.                                                                     </c:choose>
  1274.                                                                 </c:when>
  1275.                                                                 <c:when test="${customField.controlType.code == 'CB'}">
  1276.                                                                     <c:choose>
  1277.                                                                         <c:when test="${isDisabled eq 'true'}">
  1278.                                                                             <form:checkbox
  1279.                                                                                 path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
  1280.                                                                                 title="${customField.name}" value="true" disabled="true" />
  1281.                                                                         </c:when>
  1282.                                                                         <c:otherwise>
  1283.                                                                             <c:choose>
  1284.                                                                                 <c:when test="${isTextOnly eq 'true'}">
  1285.                                                                                     <c:out
  1286.                                                                                         value="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}" />
  1287.                                                                                 </c:when>
  1288.                                                                                 <c:otherwise>
  1289.                                                                                     <form:checkbox
  1290.                                                                                         path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
  1291.                                                                                         title="${customField.name}" value="true" />
  1292.                                                                                 </c:otherwise>
  1293.                                                                             </c:choose>
  1294.                                                                         </c:otherwise>
  1295.                                                                     </c:choose>
  1296.                                                                 </c:when>
  1297.                                                                 <c:otherwise>
  1298.                                                                     <c:choose>
  1299.                                                                         <c:when test="${isDisabled eq 'true'}">
  1300.                                                                             <form:input
  1301.                                                                                 path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
  1302.                                                                                 title="${customField.name}" cssClass="formTextBox" disabled="true" />
  1303.                                                                         </c:when>
  1304.                                                                         <c:otherwise>
  1305.                                                                             <c:choose>
  1306.                                                                                 <c:when test="${isTextOnly eq 'true'}">
  1307.                                                                                     <c:out
  1308.                                                                                         value="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}" />
  1309.                                                                                 </c:when>
  1310.                                                                                 <c:otherwise>
  1311.                                                                                     <form:input
  1312.                                                                                         path="transactionDetailsItems[${loopStatus.index}].customField.customField${customField.customFieldNumber}"
  1313.                                                                                         title="${customField.name}" cssClass="formTextBox" />
  1314.                                                                                 </c:otherwise>
  1315.                                                                             </c:choose>
  1316.                                                                         </c:otherwise>
  1317.                                                                     </c:choose>
  1318.                                                                 </c:otherwise>
  1319.                                                             </c:choose></td>
  1320.                                                         </tr>
  1321.                                                        
  1322.                                                         </c:if>
  1323.                                                     </c:forEach>
  1324.                                                 </table>
  1325.  
  1326.                                             </div>
  1327.                                             <!-- End divCustomField --></td>
  1328.                                         </tr>
  1329.                                         <!-- Line Item Attributes End -->
  1330.                                         <!-- Line Item End -->
  1331.                                 </c:forEach>
  1332.                             </tbody>
  1333.                             </table>
  1334.                             <!-- Data --></div></div>
  1335.                             <!-- Line Items End --></td>
  1336.                         </tr>
  1337.                 </c:if>
  1338.  
  1339.                     </table>
  1340.                     <br>
  1341.                     </td>
  1342.                 </tr>
  1343.                
  1344.                 <tr>
  1345.                     <td align = "right" colspan="8">   
  1346.                     <div class="formTabRemainderLowerNav">
  1347.                          <c:if test="${sessionScope.preNextNavigation != null &&  sessionScope.preNextNavigation.showPrevNextInd eq 'true'}">
  1348.                             <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}"/>
  1349.                         </c:if>  
  1350.                     </div>
  1351.                 </td>
  1352.             </tr>
  1353.                
  1354.             </table>
  1355.            
  1356.     <form:hidden path="transactionID" />
  1357.     <form:hidden path="txnSystemSequenceNumber"/>
  1358.     <form:hidden path="settlementMethod" />
  1359.     <form:hidden path="transactionType" />
  1360.     <form:hidden path="purchaseMethod" />
  1361.     <form:hidden path="accountNumber" />
  1362.     <form:hidden path="accountId" />
  1363.     <form:hidden path="accountType" />
  1364.     <form:hidden path="approvalStatus" />
  1365.     <form:hidden path="approvalStatusKeyCode" />
  1366.     <form:hidden path="convenienceCheckNum" />
  1367.     <form:hidden path="transactionDate" />
  1368.     <form:hidden path="postDate" />
  1369.     <form:hidden path="mccId" />
  1370.     <form:hidden path="mccCode" />
  1371.     <form:hidden path="merchant" />
  1372.     <form:hidden path="merchantLocation" />
  1373.     <form:hidden path="disableAddLines"/>
  1374.     <form:hidden path="parentMerchant" />
  1375.     <form:hidden path="exported" />
  1376.     <form:hidden path="customerCode" />
  1377.     <form:hidden path="microRefNumber" />
  1378.     <form:hidden path="authorizationNumber" />
  1379.     <form:hidden path="originalCurrency" />
  1380.     <form:hidden path="originalAmount" />
  1381.     <!-- Defect 11565: Currency Symbol Disappearing after adding line items -->
  1382.     <form:hidden path="originalCurrencySymbol"/>
  1383.     <form:hidden path="tax" />
  1384.     <form:hidden path="settlementCurrency" />
  1385.     <!-- Defect 11565 -->
  1386.     <form:hidden path="settlementCurrencySymbol"/>
  1387.     <form:hidden path="total" />
  1388.     <form:hidden path="disputeStatus" />
  1389.     <form:hidden path="disputeStatusKeyCode" />
  1390.     <form:hidden path="itemToRemove" />
  1391.     <form:hidden path="numberLinesToAdd" />
  1392.     <form:hidden path="totalLineItems" />
  1393.     <form:hidden path="maxLineNumber" />
  1394.     <form:hidden path="orderPageTab" />
  1395.     <form:hidden path="orderId" />
  1396.     <form:hidden path="areAccountingCodesEditable" />
  1397.     <form:hidden path="disableAllFields" />
  1398.     <form:hidden path="disableDisputeButton" />
  1399.     <input type="hidden" name="action" id="action" />
  1400.     <input type="hidden" name="LineItemPercentageHidden" id="LineItemPercentageHidden" value="0"/>
  1401.    
  1402.         </div>
  1403.     </div>
  1404.  
  1405. </div>
  1406.  
  1407. </form:form>
  1408. </body>
  1409. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement