Commit cee7489d authored by prane's avatar prane

GTPL Tracker No:296 and 297

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184435 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 447abac1
<?xml version='1.0' encoding='UTF-8'?>
<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<xsl:template match='/'>
<html>
<head>
<link type='text/css' rel='stylesheet' href='/ibase/webitm/css/Standard/default.css'/>
</head>
<body id='groupDiv' class='headerDetailBody' ><FORM id="brow2" METHOD="POST" ACTION="fwd.jsp">
<INPUT type='hidden' name='OBJ_NAME' value='bank_reco_manual'/>
<INPUT type='hidden' name='PAGE_CONTEXT' value='1'/>
<INPUT type='hidden' name='OBJ_CONTEXT' value='2'/>
<INPUT type='hidden' name='EDIT_FLAG' value='V'/>
<INPUT type='hidden' name='EDIT_TMPLT' value='-1'/>
<xsl:for-each select='/DocumentRoot/group0/Header0'>
<div id='dataDivID12' class=''>
<TABLE name='main' id='main' class="tableClass" style= 'class:header_css;position:relative;top:0;width:2197;'>
<THEAD class="table-head">
<TR><th id='is_selected2' isNonSortable='true' class='thClass' STYLE =" left:2; top:2; width:17;"><Input id='selectAll2' type='checkbox' name='selectAll' onClick='checkAll(2)'/></th>
<th id='entry_batch_no' name='entry_batch_no' class='thClass' STYLE = " left:2; top:3; width:103; visibility:visible;"><nobr>Entry Batch Number<IMAGE id='entry_batch_no001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='ref_no' name='ref_no' class='thClass' STYLE = " left:107; top:3; width:108; visibility:visible;"><nobr>Cheque No<IMAGE id='ref_no301' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='ref_date' name='ref_date' class='thClass' STYLE = " left:217; top:3; width:58; visibility:visible;"><nobr>Chq Date<IMAGE id='ref_date2001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='amount' name='amount' class='thClass' STYLE = " left:277; top:3; width:84; visibility:visible;"><nobr>Amount (BC)<IMAGE id='amount101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='curr_code' name='curr_code' class='thClass' STYLE = " left:363; top:3; width:62; visibility:visible;"><nobr>Curr. Code<IMAGE id='curr_code201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='amount_curr' name='amount_curr' class='thClass' STYLE = " left:427; top:3; width:78; visibility:visible;"><nobr>Amount Curr<IMAGE id='amount_curr1801' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tran' name='tran' class='thClass' STYLE = " left:507; top:3; width:57; visibility:visible;"><nobr>Tran Type<IMAGE id='tran401' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='sundry_code' name='sundry_code' class='thClass' STYLE = " left:566; top:3; width:88; visibility:visible;"><nobr>Sundry Code<IMAGE id='sundry_code501' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='sundry_name' name='sundry_name' class='thClass' STYLE = " left:656; top:1; width:280; visibility:visible;"><nobr>Sundry Name<IMAGE id='sundry_name1901' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='amt_adj' name='amt_adj' class='thClass' STYLE = " left:938; top:3; width:92; visibility:visible;"><nobr>Adjusted Amt<IMAGE id='amt_adj601' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tran_date' name='tran_date' class='thClass' STYLE = " left:1032; top:3; width:59; visibility:visible;"><nobr>Tran Date<IMAGE id='tran_date701' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='ref_mode' name='ref_mode' class='thClass' STYLE = " left:1093; top:3; width:77; visibility:visible;"><nobr>Mode<IMAGE id='ref_mode801' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tran_ser' name='tran_ser' class='thClass' STYLE = " left:1172; top:3; width:54; visibility:visible;"><nobr>Ref. Series<IMAGE id='tran_ser901' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tran_no' name='tran_no' class='thClass' STYLE = " left:1228; top:3; width:87; visibility:visible;"><nobr>Ref. Tran. No<IMAGE id='tran_no1001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='bank_code' name='bank_code' class='thClass' STYLE = " left:1317; top:3; width:88; visibility:visible;"><nobr>Bank Code<IMAGE id='bank_code1101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='site_code' name='site_code' class='thClass' STYLE = " left:1407; top:3; width:53; visibility:visible;"><nobr>Site Code<IMAGE id='site_code1201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='acct_code' name='acct_code' class='thClass' STYLE = " left:1462; top:3; width:88; visibility:visible;"><nobr>Acct Code<IMAGE id='acct_code1301' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='cctr_code' name='cctr_code' class='thClass' STYLE = " left:1552; top:3; width:53; visibility:visible;"><nobr>Cctr Code<IMAGE id='cctr_code1401' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='status' name='status' class='thClass' STYLE = " left:1607; top:3; width:96; visibility:visible;"><nobr>Status<IMAGE id='status1501' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tran_id' name='tran_id' class='thClass' STYLE = " left:1705; top:3; width:88; visibility:visible;"><nobr>Transaction ID<IMAGE id='tran_id1601' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='remarks' name='remarks' class='thClass' STYLE = " left:1795; top:3; width:289; visibility:visible;"><nobr>Remarks<IMAGE id='remarks1701' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='exch_rate' name='exch_rate' class='thClass' STYLE = " left:2086; top:3; width:86; visibility:visible;"><nobr>Exch. Rate<IMAGE id='exch_rate2101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='eff_date' name='eff_date' class='thClass' STYLE = " left:2174; top:3; width:69; visibility:visible;"><nobr>Eff Date<IMAGE id='eff_date2201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
</TR>
</THEAD>
<TBODY class="table-body">
<xsl:for-each select="./Detail2[not(attribute/@updateFlag='D')]">
<TR id='{@dbID}' name='{@domID}' class='trClass' onClick='setSelection(this,2)' onContextMenu='setSelection(this);showContexMenu(event);return false;'><TD id='td_is_selected2{@domID}' name='td_is_selected2' fontCase="" align="LEFT" TABINDEX="10" TABORDER="10" MAXLENGTH="-1" POPUPEXISTS="false" protect="{is_selected/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="">
<NOBR>
<xsl:choose><xsl:when test="@selected='Y'">
<INPUT id='is_selected2{@domID}' type='checkbox' onClick="checkUnchek(this);" NAME="is_selected2" fontCase="" align="LEFT" TABINDEX="10" TABORDER="10" MAXLENGTH="-1" POPUPEXISTS="false" protect="{is_selected/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style=";TYPE:String;text-align:LEFT;" checked = 'checked'></INPUT>
</xsl:when><xsl:otherwise>
<INPUT id='is_selected2{@domID}' type='checkbox' onClick="checkUnchek(this);" NAME="is_selected2" fontCase="" align="LEFT" TABINDEX="10" TABORDER="10" MAXLENGTH="-1" POPUPEXISTS="false" protect="{is_selected/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style=";TYPE:String;text-align:LEFT;"></INPUT> </xsl:otherwise></xsl:choose></NOBR></TD>
<TD id='td_entry_batch_no{@domID}' NAME="entry_batch_no" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:103;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="entry_batch_no/@visible='1'">
<xsl:choose><xsl:when test="entry_batch_no/@protect='1'">
<INPUT class='trEditInputClass' id='entry_batch_no{@domID}' value='{entry_batch_no}' type='text' readOnly='true' label='Entry Batch Number' NAME="entry_batch_no" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:103;visibility:visible;;TYPE:String;text-align:LEFT" size='103' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='entry_batch_no{@domID}' value='{entry_batch_no}' type='text' NAME="entry_batch_no" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:103;visibility:visible;;TYPE:String;text-align:LEFT" size='103' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='entry_batch_no'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_ref_no{@domID}' NAME="ref_no" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="20" protect = '1' style="width:108;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="ref_no/@visible='1'">
<xsl:choose><xsl:when test="ref_no/@protect='1'">
<INPUT class='trEditInputClass' id='ref_no{@domID}' value='{ref_no}' type='text' readOnly='true' label='Cheque No' NAME="ref_no" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="20" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:108;visibility:visible;;TYPE:String;text-align:LEFT" size='108' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='ref_no{@domID}' value='{ref_no}' type='text' NAME="ref_no" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="20" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:108;visibility:visible;;TYPE:String;text-align:LEFT" size='108' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='ref_no'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_ref_date{@domID}' NAME="ref_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:58;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="ref_date/@visible='1'">
<xsl:choose><xsl:when test="ref_date/@protect='1'">
<INPUT class='trEditInputClass' id='ref_date{@domID}' value='{ref_date}' type='text' readOnly='true' label='Chq Date' NAME="ref_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:58;visibility:visible;;TYPE:date;text-align:LEFT" size='58' title="Please enter a value." coltype="date">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='ref_date{@domID}' value='{ref_date}' type='text' NAME="ref_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:58;visibility:visible;;TYPE:date;text-align:LEFT" size='58' title="Please enter a value." coltype="date">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='ref_date'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_amount{@domID}' NAME="amount" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="14" protect = '1' style="width:84;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="amount/@visible='1'">
<xsl:choose><xsl:when test="amount/@protect='1'">
<INPUT class='trEditInputClass' id='amount{@domID}' value='{amount}' type='text' readOnly='true' label='Amount (BC)' NAME="amount" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="14" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:84;visibility:visible;;TYPE:number;text-align:RIGHT" size='84' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='amount{@domID}' value='{amount}' type='text' NAME="amount" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="14" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:84;visibility:visible;;TYPE:number;text-align:RIGHT" size='84' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='amount'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_curr_code{@domID}' NAME="curr_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:62;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="curr_code/@visible='1'">
<xsl:choose><xsl:when test="curr_code/@protect='1'">
<INPUT class='trEditInputClass' id='curr_code{@domID}' value='{curr_code}' type='text' readOnly='true' label='Curr. Code' NAME="curr_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:62;visibility:visible;;TYPE:String;text-align:LEFT" size='62' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='curr_code{@domID}' value='{curr_code}' type='text' NAME="curr_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:62;visibility:visible;;TYPE:String;text-align:LEFT" size='62' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='curr_code'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_amount_curr{@domID}' NAME="amount_curr" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:78;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="amount_curr/@visible='1'">
<xsl:choose><xsl:when test="amount_curr/@protect='1'">
<INPUT class='trEditInputClass' id='amount_curr{@domID}' value='{amount_curr}' type='text' readOnly='true' label='Amount Curr' NAME="amount_curr" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:78;visibility:visible;;TYPE:number;text-align:RIGHT" size='78' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='amount_curr{@domID}' value='{amount_curr}' type='text' NAME="amount_curr" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:78;visibility:visible;;TYPE:number;text-align:RIGHT" size='78' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='amount_curr'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD>
<xsl:choose><xsl:when test="not(tran_type/@visible='0')">
<SELECT disabled="true" id='tran_type{@domID}' NAME="tran_type" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="1" POPUPEXISTS="false" protect="{tran_type/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" domId='{@domID}' style="width:57;visibility:visible;;TYPE:String;text-align:LEFT">
<OPTION value="R"><xsl:choose><xsl:when test="tran_type='R'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Receipt]]></OPTION>
<OPTION value="P"><xsl:choose><xsl:when test="tran_type='P'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Payment]]></OPTION>
</SELECT>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose></TD>
<TD id='td_sundry_code{@domID}' NAME="sundry_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' style="width:88;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="sundry_code/@visible='1'">
<xsl:choose><xsl:when test="sundry_code/@protect='1'">
<INPUT class='trEditInputClass' id='sundry_code{@domID}' value='{sundry_code}' type='text' readOnly='true' label='Sundry Code' NAME="sundry_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:88;visibility:visible;;TYPE:String;text-align:LEFT" size='88' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='sundry_code{@domID}' value='{sundry_code}' type='text' NAME="sundry_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:88;visibility:visible;;TYPE:String;text-align:LEFT" size='88' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='sundry_code'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_sundry_name{@domID}' NAME="sundry_name" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:280;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="sundry_name/@visible='1'">
<xsl:choose><xsl:when test="sundry_name/@protect='1'">
<INPUT class='trEditInputClass' id='sundry_name{@domID}' value='{sundry_name}' type='text' readOnly='true' label='Sundry Name' NAME="sundry_name" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:280;visibility:visible;;TYPE:String;text-align:LEFT" size='280' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='sundry_name{@domID}' value='{sundry_name}' type='text' NAME="sundry_name" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:280;visibility:visible;;TYPE:String;text-align:LEFT" size='280' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='sundry_name'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_amt_adj{@domID}' NAME="amt_adj" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="14" protect = '1' style="width:92;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="amt_adj/@visible='1'">
<xsl:choose><xsl:when test="amt_adj/@protect='1'">
<INPUT class='trEditInputClass' id='amt_adj{@domID}' value='{amt_adj}' type='text' readOnly='true' label='Adjusted Amt' NAME="amt_adj" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="14" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:92;visibility:visible;;TYPE:number;text-align:RIGHT" size='92' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='amt_adj{@domID}' value='{amt_adj}' type='text' NAME="amt_adj" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="14" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:92;visibility:visible;;TYPE:number;text-align:RIGHT" size='92' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='amt_adj'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_tran_date{@domID}' NAME="tran_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:59;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="tran_date/@visible='1'">
<xsl:choose><xsl:when test="tran_date/@protect='1'">
<INPUT class='trEditInputClass' id='tran_date{@domID}' value='{tran_date}' type='text' readOnly='true' label='Tran Date' NAME="tran_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:59;visibility:visible;;TYPE:date;text-align:LEFT" size='59' title="Please enter a value." coltype="date">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='tran_date{@domID}' value='{tran_date}' type='text' NAME="tran_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:59;visibility:visible;;TYPE:date;text-align:LEFT" size='59' title="Please enter a value." coltype="date">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='tran_date'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD>
<xsl:choose><xsl:when test="not(ref_mode/@visible='0')">
<SELECT disabled="true" id='ref_mode{@domID}' NAME="ref_mode" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="1" POPUPEXISTS="false" protect="{ref_mode/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" domId='{@domID}' style="width:77;visibility:visible;;TYPE:String;text-align:LEFT">
<OPTION value="Q"><xsl:choose><xsl:when test="ref_mode='Q'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Cheque]]></OPTION>
<OPTION value="E"><xsl:choose><xsl:when test="ref_mode='E'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Electronic]]></OPTION>
<OPTION value="C"><xsl:choose><xsl:when test="ref_mode='C'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Cash]]></OPTION>
<OPTION value="D"><xsl:choose><xsl:when test="ref_mode='D'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Demand Draft]]></OPTION>
</SELECT>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose></TD>
<TD id='td_tran_ser{@domID}' NAME="tran_ser" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="6" protect = '1' style="width:54;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="tran_ser/@visible='1'">
<xsl:choose><xsl:when test="tran_ser/@protect='1'">
<INPUT class='trEditInputClass' id='tran_ser{@domID}' value='{tran_ser}' type='text' readOnly='true' label='Ref. Series' NAME="tran_ser" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="6" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:54;visibility:visible;;TYPE:String;text-align:LEFT" size='54' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='tran_ser{@domID}' value='{tran_ser}' type='text' NAME="tran_ser" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="6" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:54;visibility:visible;;TYPE:String;text-align:LEFT" size='54' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='tran_ser'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_tran_no{@domID}' NAME="tran_no" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' style="width:87;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="tran_no/@visible='1'">
<xsl:choose><xsl:when test="tran_no/@protect='1'">
<INPUT class='trEditInputClass' id='tran_no{@domID}' value='{tran_no}' type='text' readOnly='true' label='Ref. Tran. No' NAME="tran_no" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:87;visibility:visible;;TYPE:String;text-align:LEFT" size='87' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='tran_no{@domID}' value='{tran_no}' type='text' NAME="tran_no" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:87;visibility:visible;;TYPE:String;text-align:LEFT" size='87' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='tran_no'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_bank_code{@domID}' NAME="bank_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' style="width:88;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="bank_code/@visible='1'">
<xsl:choose><xsl:when test="bank_code/@protect='1'">
<INPUT class='trEditInputClass' id='bank_code{@domID}' value='{bank_code}' type='text' readOnly='true' label='Bank Code' NAME="bank_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:88;visibility:visible;;TYPE:String;text-align:LEFT" size='88' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='bank_code{@domID}' value='{bank_code}' type='text' NAME="bank_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:88;visibility:visible;;TYPE:String;text-align:LEFT" size='88' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='bank_code'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_site_code{@domID}' NAME="site_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="5" protect = '1' style="width:53;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="site_code/@visible='1'">
<xsl:choose><xsl:when test="site_code/@protect='1'">
<INPUT class='trEditInputClass' id='site_code{@domID}' value='{site_code}' type='text' readOnly='true' label='Site Code' NAME="site_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="5" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:53;visibility:visible;;TYPE:String;text-align:LEFT" size='53' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='site_code{@domID}' value='{site_code}' type='text' NAME="site_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="5" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:53;visibility:visible;;TYPE:String;text-align:LEFT" size='53' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='site_code'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_acct_code{@domID}' NAME="acct_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' style="width:88;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="acct_code/@visible='1'">
<xsl:choose><xsl:when test="acct_code/@protect='1'">
<INPUT class='trEditInputClass' id='acct_code{@domID}' value='{acct_code}' type='text' readOnly='true' label='Acct Code' NAME="acct_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:88;visibility:visible;;TYPE:String;text-align:LEFT" size='88' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='acct_code{@domID}' value='{acct_code}' type='text' NAME="acct_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:88;visibility:visible;;TYPE:String;text-align:LEFT" size='88' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='acct_code'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_cctr_code{@domID}' NAME="cctr_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="4" protect = '1' style="width:53;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="cctr_code/@visible='1'">
<xsl:choose><xsl:when test="cctr_code/@protect='1'">
<INPUT class='trEditInputClass' id='cctr_code{@domID}' value='{cctr_code}' type='text' readOnly='true' label='Cctr Code' NAME="cctr_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="4" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:53;visibility:visible;;TYPE:String;text-align:LEFT" size='53' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='cctr_code{@domID}' value='{cctr_code}' type='text' NAME="cctr_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="4" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:53;visibility:visible;;TYPE:String;text-align:LEFT" size='53' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='cctr_code'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD>
<xsl:choose><xsl:when test="not(status/@visible='0')">
<SELECT disabled="true" id='status{@domID}' NAME="status" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="1" POPUPEXISTS="false" protect="{status/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" domId='{@domID}' style="width:96;visibility:visible;;TYPE:String;text-align:LEFT">
<OPTION value="E"><xsl:choose><xsl:when test="status='E'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Pending]]></OPTION>
<OPTION value="P"><xsl:choose><xsl:when test="status='P'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Partly Reconciled]]></OPTION>
<OPTION value="R"><xsl:choose><xsl:when test="status='R'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Reconciled]]></OPTION>
</SELECT>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose></TD>
<TD id='td_tran_id{@domID}' NAME="tran_id" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="12" protect = '1' style="width:88;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="tran_id/@visible='1'">
<xsl:choose><xsl:when test="tran_id/@protect='1'">
<INPUT class='trEditInputClass' id='tran_id{@domID}' value='{tran_id}' type='text' readOnly='true' label='Transaction ID' NAME="tran_id" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="12" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:88;visibility:visible;;TYPE:String;text-align:LEFT" size='88' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='tran_id{@domID}' value='{tran_id}' type='text' NAME="tran_id" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="12" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:88;visibility:visible;;TYPE:String;text-align:LEFT" size='88' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='tran_id'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_remarks{@domID}' NAME="remarks" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="50" protect = '1' style="width:289;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="remarks/@visible='1'">
<xsl:choose><xsl:when test="remarks/@protect='1'">
<INPUT class='trEditInputClass' id='remarks{@domID}' value='{remarks}' type='text' readOnly='true' label='Remarks' NAME="remarks" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="50" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:289;visibility:visible;;TYPE:String;text-align:LEFT" size='289' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='remarks{@domID}' value='{remarks}' type='text' NAME="remarks" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="50" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:289;visibility:visible;;TYPE:String;text-align:LEFT" size='289' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='remarks'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_exch_rate{@domID}' NAME="exch_rate" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:86;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="exch_rate/@visible='1'">
<xsl:choose><xsl:when test="exch_rate/@protect='1'">
<INPUT class='trEditInputClass' id='exch_rate{@domID}' value='{exch_rate}' type='text' readOnly='true' label='Exch. Rate' NAME="exch_rate" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:86;visibility:visible;;TYPE:number;text-align:RIGHT" size='86' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='exch_rate{@domID}' value='{exch_rate}' type='text' NAME="exch_rate" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:86;visibility:visible;;TYPE:number;text-align:RIGHT" size='86' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='exch_rate'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_eff_date{@domID}' NAME="eff_date" fontCase="any" align="LEFT" TABINDEX="10" TABORDER="10" protect = '1' style="width:69;visibility:visible;">
<NOBR>
<INPUT class='trEditInputClass' id='eff_date{@domID}' value='{eff_date}' type='text' NAME="eff_date" fontCase="any" align="LEFT" TABINDEX="10" TABORDER="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:69;visibility:visible;;TYPE:date;text-align:LEFT" size='69' title="Please enter a value." coltype="date">
</INPUT>
</NOBR>
</TD>
</TR>
</xsl:for-each>
</TBODY>
</TABLE>
</div>
</xsl:for-each>
</FORM>
<xsl:for-each select='/DocumentRoot/Message'>
<xsl:value-of select='.'/></xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment