Commit 0a6a9a0c authored by prane's avatar prane

chnages done for GTPL No.325,326,328

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184744 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4ad58ed1
...@@ -19,20 +19,20 @@ ...@@ -19,20 +19,20 @@
<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> <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='tran_ser' name='tran_ser' class='thClass' STYLE = " left:2; top:2; width:67; visibility:visible;"><nobr>Tran Ser<IMAGE id='tran_ser001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='tran_ser' name='tran_ser' class='thClass' STYLE = " left:2; top:2; width:67; visibility:visible;"><nobr>Tran Ser<IMAGE id='tran_ser001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='invoice_id' name='invoice_id' class='thClass' STYLE = " left:71; top:2; width:85; visibility:visible;"><nobr>Reference Id<IMAGE id='invoice_id801' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='invoice_id' name='invoice_id' class='thClass' STYLE = " left:71; top:2; width:85; visibility:visible;"><nobr>Reference Id<IMAGE id='invoice_id801' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='cust_ref_no' name='cust_ref_no' class='thClass' STYLE = " left:158; top:2; width:85; visibility:visible;"><nobr>Cust Ref No<IMAGE id='cust_ref_no1101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='cust_code' name='cust_code' class='thClass' STYLE = " left:158; top:2; width:88; visibility:visible;"><nobr>Cust Code<IMAGE id='cust_code901' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tran_date' name='tran_date' class='thClass' STYLE = " left:245; top:2; width:96; visibility:visible;"><nobr>Reference Date<IMAGE id='tran_date701' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='cust_name' name='cust_name' class='thClass' STYLE = " left:248; top:2; width:196; visibility:visible;"><nobr>Cust Name<IMAGE id='cust_name501' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tot_amt' name='tot_amt' class='thClass' STYLE = " left:343; top:2; width:73; visibility:visible;"><nobr>Total Amt<IMAGE id='tot_amt2001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='tot_amt' name='tot_amt' class='thClass' STYLE = " left:446; top:2; width:73; visibility:visible;"><nobr>Total Amt<IMAGE id='tot_amt2001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='bal_amt' name='bal_amt' class='thClass' STYLE = " left:418; top:2; width:83; visibility:visible;"><nobr>Bal Amt<IMAGE id='bal_amt1001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='bal_amt' name='bal_amt' class='thClass' STYLE = " left:521; top:2; width:83; visibility:visible;"><nobr>Bal Amt<IMAGE id='bal_amt1001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='adj_amt' name='adj_amt' class='thClass' STYLE = " left:503; top:2; width:97; visibility:visible;"><nobr>To be Adjusted<IMAGE id='adj_amt1201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='adj_amt' name='adj_amt' class='thClass' STYLE = " left:606; top:2; width:97; visibility:visible;"><nobr>To be Adjusted<IMAGE id='adj_amt1201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='adjusted_amt' name='adjusted_amt' class='thClass' STYLE = " left:602; top:2; width:105; visibility:visible;"><nobr>Adjusted Amt<IMAGE id='adjusted_amt1901' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='adjusted_amt' name='adjusted_amt' class='thClass' STYLE = " left:705; top:2; width:105; visibility:visible;"><nobr>Adjusted Amt<IMAGE id='adjusted_amt1901' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='inv_amt' name='inv_amt' class='thClass' STYLE = " left:709; top:2; width:91; visibility:visible;"><nobr>Balance Amt<IMAGE id='inv_amt601' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='inv_amt' name='inv_amt' class='thClass' STYLE = " left:812; top:2; width:91; visibility:visible;"><nobr>Balance Amt<IMAGE id='inv_amt601' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='reas_code' name='reas_code' class='thClass' STYLE = " left:802; top:2; width:71; visibility:visible;"><nobr>Reas Code<IMAGE id='reas_code1501' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='cust_ref_no' name='cust_ref_no' class='thClass' STYLE = " left:905; top:2; width:85; visibility:visible;"><nobr>Cust Ref No<IMAGE id='cust_ref_no1101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='cust_name' name='cust_name' class='thClass' STYLE = " left:875; top:2; width:196; visibility:visible;"><nobr>Cust Name<IMAGE id='cust_name501' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='tran_date' name='tran_date' class='thClass' STYLE = " left:992; top:2; width:96; visibility:visible;"><nobr>Reference Date<IMAGE id='tran_date701' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='cust_code' name='cust_code' class='thClass' STYLE = " left:1073; top:2; width:88; visibility:visible;"><nobr>Cust Code<IMAGE id='cust_code901' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='reas_code' name='reas_code' class='thClass' STYLE = " left:1090; top:2; width:71; visibility:visible;"><nobr>Reas Code<IMAGE id='reas_code1501' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='bank_code' name='bank_code' class='thClass' STYLE = " left:1163; top:2; width:82; visibility:visible;"><nobr>Bank Code<IMAGE id='bank_code401' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='bank_code' name='bank_code' class='thClass' STYLE = " left:1163; top:2; width:82; visibility:visible;"><nobr>Bank Code<IMAGE id='bank_code401' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='cheque_date' name='cheque_date' class='thClass' STYLE = " left:1247; top:2; width:89; visibility:visible;"><nobr>Cheque Date<IMAGE id='cheque_date301' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='cheque_date' name='cheque_date' class='thClass' STYLE = " left:1247; top:2; width:89; visibility:visible;"><nobr>Cheque Date<IMAGE id='cheque_date301' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='cheque_no' name='cheque_no' class='thClass' STYLE = " left:1338; top:2; width:72; visibility:visible;"><nobr>Cheque No<IMAGE id='cheque_no201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='cheque_no' name='cheque_no' class='thClass' STYLE = " left:1338; top:2; width:72; visibility:visible;"><nobr>Cheque No<IMAGE id='cheque_no201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='chq_amount' name='chq_amount' class='thClass' STYLE = " left:1412; top:2; width:82; visibility:visible;"><nobr>Chq Amount<IMAGE id='chq_amount101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='chq_amount' name='chq_amount' class='thClass' STYLE = " left:1412; top:2; width:72; visibility:visible;"><nobr>Chq Amount<IMAGE id='chq_amount101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='cust_ref_date' name='cust_ref_date' class='thClass' STYLE = " left:1486; top:2; width:86; visibility:visible;"><nobr>Cust Ref Date<IMAGE id='cust_ref_date1401' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='cust_ref_date' name='cust_ref_date' class='thClass' STYLE = " left:1486; top:2; width:86; visibility:visible;"><nobr>Cust Ref Date<IMAGE id='cust_ref_date1401' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='due_date' name='due_date' class='thClass' STYLE = " left:1574; top:2; width:67; visibility:visible;"><nobr>Due Date<IMAGE id='due_date1301' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='due_date' name='due_date' class='thClass' STYLE = " left:1574; top:2; width:67; visibility:visible;"><nobr>Due Date<IMAGE id='due_date1301' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='reas_detail' name='reas_detail' class='thClass' STYLE = " left:1643; top:2; width:73; visibility:visible;"><nobr>Reas Detail<IMAGE id='reas_detail1601' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='reas_detail' name='reas_detail' class='thClass' STYLE = " left:1643; top:2; width:73; visibility:visible;"><nobr>Reas Detail<IMAGE id='reas_detail1601' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<th id='remarks' name='remarks' class='thClass' STYLE = " left:1818; top:1; width:90; visibility:visible;"><nobr>Remarks<IMAGE id='remarks1801' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th> <th id='remarks' name='remarks' class='thClass' STYLE = " left:1818; top:1; width:90; visibility:visible;"><nobr>Remarks<IMAGE id='remarks1801' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
</TR> </TR>
</THEAD> </THEAD>
<TBODY class="table-body"> <TBODY class="table-body">
<xsl:for-each select="./Detail2[not(attribute/@updateFlag='D')]"> <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=""> <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="">
...@@ -85,163 +85,172 @@ ...@@ -85,163 +85,172 @@
</xsl:choose></NOBR> </xsl:choose></NOBR>
</TD> </TD>
<TD id='td_cust_ref_no{@domID}' NAME="cust_ref_no" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:85;visibility:visible;"> <TD id='td_cust_code{@domID}' NAME="cust_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' style="width:88;visibility:visible;">
<NOBR> <NOBR>
<xsl:choose><xsl:when test="cust_ref_no/@visible='1'"> <xsl:choose><xsl:when test="cust_code/@visible='1'">
<xsl:choose><xsl:when test="cust_ref_no/@protect='1'"> <xsl:choose><xsl:when test="cust_code/@protect='1'">
<INPUT class='trEditInputClass' id='cust_ref_no{@domID}' value='{cust_ref_no}' type='text' readOnly='true' label='Cust Ref No' NAME="cust_ref_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:85;visibility:visible;;TYPE:String;text-align:LEFT" size='85' title="Please enter a value." coltype="String"> <INPUT class='trEditInputClass' id='cust_code{@domID}' value='{cust_code}' type='text' readOnly='true' label='Cust Code' NAME="cust_code" fontCase="any" 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> </INPUT>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<INPUT class='trEditInputClass' id='cust_ref_no{@domID}' value='{cust_ref_no}' type='text' NAME="cust_ref_no" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:85;visibility:visible;;TYPE:String;text-align:LEFT" size='85' title="Please enter a value." coltype="String"> <INPUT class='trEditInputClass' id='cust_code{@domID}' value='{cust_code}' type='text' NAME="cust_code" fontCase="any" 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> </INPUT>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></xsl:when> </xsl:choose></xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:value-of select='cust_ref_no'/> <xsl:value-of select='cust_code'/>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></NOBR> </xsl:choose></NOBR>
</TD> </TD>
<TD id='td_tran_date{@domID}' NAME="tran_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:96;visibility:visible;"> <TD id='td_cust_name{@domID}' NAME="cust_name" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="40" protect = '1' style="width:196;visibility:visible;">
<NOBR> <NOBR>
<xsl:choose><xsl:when test="tran_date/@visible='1'"> <xsl:choose><xsl:when test="cust_name/@visible='1'">
<xsl:choose><xsl:when test="tran_date/@protect='1'"> <xsl:choose><xsl:when test="cust_name/@protect='1'">
<INPUT class='trEditInputClass' id='tran_date{@domID}' value='{tran_date}' type='text' readOnly='true' label='Reference 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:96;visibility:visible;;TYPE:date;text-align:LEFT" size='96' title="Please enter a value." coltype="date"> <INPUT class='trEditInputClass' id='cust_name{@domID}' value='{cust_name}' type='text' readOnly='true' label='Cust Name' NAME="cust_name" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="40" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:196;visibility:visible;;TYPE:String;text-align:LEFT" size='196' title="Please enter a value." coltype="String">
</INPUT> </INPUT>
</xsl:when> </xsl:when>
<xsl:otherwise> <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:96;visibility:visible;;TYPE:date;text-align:LEFT" size='96' title="Please enter a value." coltype="date"> <INPUT class='trEditInputClass' id='cust_name{@domID}' value='{cust_name}' type='text' NAME="cust_name" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="40" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:196;visibility:visible;;TYPE:String;text-align:LEFT" size='196' title="Please enter a value." coltype="String">
</INPUT> </INPUT>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></xsl:when> </xsl:choose></xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:value-of select='tran_date'/> <xsl:value-of select='cust_name'/>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></NOBR> </xsl:choose></NOBR>
</TD> </TD>
<TD id='td_tot_amt{@domID}' NAME="tot_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:73;visibility:visible;"> <TD id='td_tot_amt{@domID}' NAME="tot_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:73;visibility:visible;">
<NOBR> <NOBR>
<xsl:choose><xsl:when test="tot_amt/@visible='1'">
<xsl:choose><xsl:when test="tot_amt/@protect='1'"> <xsl:choose><xsl:when test="tot_amt/@protect='1'">
<INPUT class='trEditInputClass' id='tot_amt{@domID}' value='{tot_amt}' type='text' readOnly='true' label='Total Amt' NAME="tot_amt" 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:73;visibility:visible;;TYPE:number;text-align:RIGHT;border:none" size='73' title="Please enter a value." coltype="number"> <INPUT class='trEditInputClass' id='tot_amt{@domID}' value='{tot_amt}' type='text' readOnly='true' label='Total Amt' NAME="tot_amt" 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:73;visibility:visible;;TYPE:number;text-align:RIGHT" size='73' title="Please enter a value." coltype="number">
</INPUT> </INPUT>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<INPUT class='trEditInputClass' id='tot_amt{@domID}' value='{tot_amt}' type='text' readOnly='true' NAME="tot_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:73;visibility:visible;;TYPE:number;text-align:RIGHT ;border:none" size='73' title="Please enter a value." coltype="number"> <INPUT class='trEditInputClass' id='tot_amt{@domID}' value='{tot_amt}' type='text' NAME="tot_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:73;visibility:visible;;TYPE:number;text-align:RIGHT" size='73' title="Please enter a value." coltype="number">
</INPUT> </INPUT>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='tot_amt'/>
</xsl:otherwise>
</xsl:choose></NOBR> </xsl:choose></NOBR>
</TD> </TD>
<TD id='td_bal_amt{@domID}' NAME="bal_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:83;visibility:visible;"> <TD id='td_bal_amt{@domID}' NAME="bal_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:83;visibility:visible;">
<NOBR> <NOBR>
<xsl:choose><xsl:when test="bal_amt/@visible='1'">
<xsl:choose><xsl:when test="bal_amt/@protect='1'"> <xsl:choose><xsl:when test="bal_amt/@protect='1'">
<INPUT class='trEditInputClass' id='bal_amt{@domID}' value='{bal_amt}' type='text' readOnly='true' label='Bal Amt' NAME="bal_amt" 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:83;visibility:visible;;TYPE:number;text-align:RIGHT ;border:none" size='83' title="Please enter a value." coltype="number"> <INPUT class='trEditInputClass' id='bal_amt{@domID}' value='{bal_amt}' type='text' readOnly='true' label='Bal Amt' NAME="bal_amt" 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:83;visibility:visible;;TYPE:number;text-align:RIGHT" size='83' title="Please enter a value." coltype="number">
</INPUT> </INPUT>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<INPUT class='trEditInputClass' id='bal_amt{@domID}' value='{bal_amt}' type='text' NAME="bal_amt" fontCase="any" readOnly='true' align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:83;visibility:visible;;TYPE:number;text-align:RIGHT ;border:none" size='83' title="Please enter a value." coltype="number"> <INPUT class='trEditInputClass' id='bal_amt{@domID}' value='{bal_amt}' type='text' NAME="bal_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:83;visibility:visible;;TYPE:number;text-align:RIGHT" size='83' title="Please enter a value." coltype="number">
</INPUT> </INPUT>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='bal_amt'/>
</xsl:otherwise>
</xsl:choose></NOBR> </xsl:choose></NOBR>
</TD> </TD>
<TD id='td_adj_amt{@domID}' NAME="adj_amt" fontCase="any" align="RIGHT" TABINDEX="10" TABORDER="10" protect = '1' style="width:97;visibility:visible;"> <TD id='td_adj_amt{@domID}' NAME="adj_amt" fontCase="any" align="RIGHT" TABINDEX="10" TABORDER="10" POPUPEXISTS="false" protect="{adj_amt/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:97;visibility:visible;;TYPE:number;text-align:RIGHT">
<NOBR> <NOBR>
<xsl:variable name="myvar">
<xsl:choose><xsl:when test="adj_amt/@protect='1'"> <xsl:value-of select='adj_amt'/>
<INPUT class='trEditInputClass' id='adj_amt{@domID}' value='{adj_amt}' type='text' label='To be Adjusted' NAME="adj_amt" fontCase="any" align="RIGHT" TABINDEX="10" TABORDER="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:97;visibility:visible;;TYPE:number;text-align:RIGHT" size='97' maxlength="15" title="Please enter a value." coltype="number"> </xsl:variable><INPUT value = "{$myvar }" type="text" class='trEditInputClass' id="adj_amt{@domID}" NAME="adj_amt" fontCase="any" align="RIGHT" TABINDEX="10" TABORDER="10" POPUPEXISTS="false" protect="{adj_amt/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" domId = "{@domID}" style="width:97;visibility:visible;;TYPE:number;text-align:RIGHT" size='97' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='adj_amt{@domID}' value='{adj_amt}' type='text' NAME="adj_amt" fontCase="any" align="RIGHT" TABINDEX="10" TABORDER="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:97;visibility:visible;;TYPE:number;text-align:RIGHT" size='97' maxlength="15" title="Please enter a value." coltype="number">
</INPUT> </INPUT>
</xsl:otherwise> </NOBR>
</xsl:choose></NOBR>
</TD> </TD>
<TD id='td_adjusted_amt{@domID}' NAME="adjusted_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:105;visibility:visible;"> <TD id='td_adjusted_amt{@domID}' NAME="adjusted_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:105;visibility:visible;">
<NOBR> <NOBR>
<xsl:choose><xsl:when test="adjusted_amt/@visible='1'">
<xsl:choose><xsl:when test="adjusted_amt/@protect='1'"> <xsl:choose><xsl:when test="adjusted_amt/@protect='1'">
<INPUT class='trEditInputClass' id='adjusted_amt{@domID}' value='{adjusted_amt}' type='text' readOnly='true' label='Adjusted Amt' NAME="adjusted_amt" 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:105;visibility:visible;;TYPE:number;text-align:RIGHT;border:none" size='105' title="Please enter a value." coltype="number"> <INPUT class='trEditInputClass' id='adjusted_amt{@domID}' value='{adjusted_amt}' type='text' readOnly='true' label='Adjusted Amt' NAME="adjusted_amt" 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:105;visibility:visible;;TYPE:number;text-align:RIGHT" size='105' title="Please enter a value." coltype="number">
</INPUT> </INPUT>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<INPUT class='trEditInputClass' id='adjusted_amt{@domID}' value='{adjusted_amt}' type='text' readOnly='true' NAME="adjusted_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:105;visibility:visible;;TYPE:number;text-align:RIGHT;border:none" size='105' title="Please enter a value." coltype="number"> <INPUT class='trEditInputClass' id='adjusted_amt{@domID}' value='{adjusted_amt}' type='text' NAME="adjusted_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:105;visibility:visible;;TYPE:number;text-align:RIGHT" size='105' title="Please enter a value." coltype="number">
</INPUT> </INPUT>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='adjusted_amt'/>
</xsl:otherwise>
</xsl:choose></NOBR> </xsl:choose></NOBR>
</TD> </TD>
<TD id='td_inv_amt{@domID}' NAME="inv_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:91;visibility:visible;"> <TD id='td_inv_amt{@domID}' NAME="inv_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:91;visibility:visible;">
<NOBR> <NOBR>
<xsl:choose><xsl:when test="inv_amt/@visible='1'">
<xsl:choose><xsl:when test="inv_amt/@protect='1'"> <xsl:choose><xsl:when test="inv_amt/@protect='1'">
<INPUT class='trEditInputClass' id='inv_amt{@domID}' value='{inv_amt}' type='text' readOnly='true' label='Balance Amt' NAME="inv_amt" 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:91;visibility:visible;;TYPE:number;text-align:RIGHT;border:none" size='91' title="Please enter a value." coltype="number"> <INPUT class='trEditInputClass' id='inv_amt{@domID}' value='{inv_amt}' type='text' readOnly='true' label='Balance Amt' NAME="inv_amt" 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:91;visibility:visible;;TYPE:number;text-align:RIGHT" size='91' title="Please enter a value." coltype="number">
</INPUT> </INPUT>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<INPUT class='trEditInputClass' id='inv_amt{@domID}' value='{inv_amt}' type='text' readOnly='true' NAME="inv_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:91;visibility:visible;;TYPE:number;text-align:RIGHT;border:none" size='91' title="Please enter a value." coltype="number"> <INPUT class='trEditInputClass' id='inv_amt{@domID}' value='{inv_amt}' type='text' NAME="inv_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:91;visibility:visible;;TYPE:number;text-align:RIGHT" size='91' title="Please enter a value." coltype="number">
</INPUT> </INPUT>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='inv_amt'/>
</xsl:otherwise>
</xsl:choose></NOBR> </xsl:choose></NOBR>
</TD> </TD>
<TD id='td_reas_code{@domID}' NAME="reas_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:71;visibility:visible;"> <TD id='td_cust_ref_no{@domID}' NAME="cust_ref_no" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:85;visibility:visible;">
<NOBR> <NOBR>
<xsl:choose><xsl:when test="reas_code/@visible='1'"> <xsl:choose><xsl:when test="cust_ref_no/@visible='1'">
<xsl:choose><xsl:when test="reas_code/@protect='1'"> <xsl:choose><xsl:when test="cust_ref_no/@protect='1'">
<INPUT class='trEditInputClass' id='reas_code{@domID}' value='{reas_code}' type='text' readOnly='true' label='Reas Code' NAME="reas_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:71;visibility:visible;;TYPE:String;text-align:LEFT" size='71' title="Please enter a value." coltype="String"> <INPUT class='trEditInputClass' id='cust_ref_no{@domID}' value='{cust_ref_no}' type='text' readOnly='true' label='Cust Ref No' NAME="cust_ref_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:85;visibility:visible;;TYPE:String;text-align:LEFT" size='85' title="Please enter a value." coltype="String">
</INPUT> </INPUT>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<INPUT class='trEditInputClass' id='reas_code{@domID}' value='{reas_code}' type='text' NAME="reas_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:71;visibility:visible;;TYPE:String;text-align:LEFT" size='71' title="Please enter a value." coltype="String"> <INPUT class='trEditInputClass' id='cust_ref_no{@domID}' value='{cust_ref_no}' type='text' NAME="cust_ref_no" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:85;visibility:visible;;TYPE:String;text-align:LEFT" size='85' title="Please enter a value." coltype="String">
</INPUT> </INPUT>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></xsl:when> </xsl:choose></xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:value-of select='reas_code'/> <xsl:value-of select='cust_ref_no'/>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></NOBR> </xsl:choose></NOBR>
</TD> </TD>
<TD id='td_cust_name{@domID}' NAME="cust_name" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="40" protect = '1' style="width:196;visibility:visible;"> <TD id='td_tran_date{@domID}' NAME="tran_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:96;visibility:visible;">
<NOBR> <NOBR>
<xsl:choose><xsl:when test="cust_name/@visible='1'"> <xsl:choose><xsl:when test="tran_date/@visible='1'">
<xsl:choose><xsl:when test="cust_name/@protect='1'"> <xsl:choose><xsl:when test="tran_date/@protect='1'">
<INPUT class='trEditInputClass' id='cust_name{@domID}' value='{cust_name}' type='text' readOnly='true' label='Cust Name' NAME="cust_name" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="40" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:196;visibility:visible;;TYPE:String;text-align:LEFT" size='196' title="Please enter a value." coltype="String"> <INPUT class='trEditInputClass' id='tran_date{@domID}' value='{tran_date}' type='text' readOnly='true' label='Reference 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:96;visibility:visible;;TYPE:date;text-align:LEFT" size='96' title="Please enter a value." coltype="date">
</INPUT> </INPUT>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<INPUT class='trEditInputClass' id='cust_name{@domID}' value='{cust_name}' type='text' NAME="cust_name" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="40" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:196;visibility:visible;;TYPE:String;text-align:LEFT" size='196' title="Please enter a value." coltype="String"> <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:96;visibility:visible;;TYPE:date;text-align:LEFT" size='96' title="Please enter a value." coltype="date">
</INPUT> </INPUT>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></xsl:when> </xsl:choose></xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:value-of select='cust_name'/> <xsl:value-of select='tran_date'/>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></NOBR> </xsl:choose></NOBR>
</TD> </TD>
<TD id='td_cust_code{@domID}' NAME="cust_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' style="width:88;visibility:visible;"> <TD id='td_reas_code{@domID}' NAME="reas_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:71;visibility:visible;">
<NOBR> <NOBR>
<xsl:choose><xsl:when test="cust_code/@visible='1'"> <xsl:choose><xsl:when test="reas_code/@visible='1'">
<xsl:choose><xsl:when test="cust_code/@protect='1'"> <xsl:choose><xsl:when test="reas_code/@protect='1'">
<INPUT class='trEditInputClass' id='cust_code{@domID}' value='{cust_code}' type='text' readOnly='true' label='Cust Code' NAME="cust_code" fontCase="any" 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 class='trEditInputClass' id='reas_code{@domID}' value='{reas_code}' type='text' readOnly='true' label='Reas Code' NAME="reas_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:71;visibility:visible;;TYPE:String;text-align:LEFT" size='71' title="Please enter a value." coltype="String">
</INPUT> </INPUT>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<INPUT class='trEditInputClass' id='cust_code{@domID}' value='{cust_code}' type='text' NAME="cust_code" fontCase="any" 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 class='trEditInputClass' id='reas_code{@domID}' value='{reas_code}' type='text' NAME="reas_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:71;visibility:visible;;TYPE:String;text-align:LEFT" size='71' title="Please enter a value." coltype="String">
</INPUT> </INPUT>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></xsl:when> </xsl:choose></xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:value-of select='cust_code'/> <xsl:value-of select='reas_code'/>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></NOBR> </xsl:choose></NOBR>
</TD> </TD>
...@@ -300,16 +309,21 @@ ...@@ -300,16 +309,21 @@
</xsl:choose></NOBR> </xsl:choose></NOBR>
</TD> </TD>
<TD id='td_chq_amount{@domID}' NAME="chq_amount" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:82;visibility:visible;"> <TD id='td_chq_amount{@domID}' NAME="chq_amount" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:72;visibility:visible;">
<NOBR> <NOBR>
<xsl:choose><xsl:when test="chq_amount/@visible='1'">
<xsl:choose><xsl:when test="chq_amount/@protect='1'"> <xsl:choose><xsl:when test="chq_amount/@protect='1'">
<INPUT class='trEditInputClass' id='chq_amount{@domID}' value='{chq_amount}' type='text' readOnly='true' label='Chq Amount' NAME="chq_amount" 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:82;visibility:visible;;TYPE:number;text-align:RIGHT;border:none" size='72' title="Please enter a value." coltype="number"> <INPUT class='trEditInputClass' id='chq_amount{@domID}' value='{chq_amount}' type='text' readOnly='true' label='Chq Amount' NAME="chq_amount" 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:72;visibility:visible;;TYPE:number;text-align:RIGHT" size='72' title="Please enter a value." coltype="number">
</INPUT> </INPUT>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<INPUT class='trEditInputClass' id='chq_amount{@domID}' value='{chq_amount}' type='text' readOnly='true' NAME="chq_amount" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:82;visibility:visible;;TYPE:number;text-align:RIGHT;border:none" size='72' title="Please enter a value." coltype="number"> <INPUT class='trEditInputClass' id='chq_amount{@domID}' value='{chq_amount}' type='text' NAME="chq_amount" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:72;visibility:visible;;TYPE:number;text-align:RIGHT" size='72' title="Please enter a value." coltype="number">
</INPUT> </INPUT>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='chq_amount'/>
</xsl:otherwise>
</xsl:choose></NOBR> </xsl:choose></NOBR>
</TD> </TD>
...@@ -369,36 +383,30 @@ ...@@ -369,36 +383,30 @@
<TD id='td_cust_ref_amt{@domID}' NAME="cust_ref_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:98;visibility:visible;"> <TD id='td_cust_ref_amt{@domID}' NAME="cust_ref_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:98;visibility:visible;">
<NOBR> <NOBR>
<xsl:choose><xsl:when test="cust_ref_amt/@visible='1'">
<xsl:choose><xsl:when test="cust_ref_amt/@protect='1'"> <xsl:choose><xsl:when test="cust_ref_amt/@protect='1'">
<INPUT class='trEditInputClass' id='cust_ref_amt{@domID}' value='{cust_ref_amt}' type='text' readOnly='true' label='Cust Ref Amt' NAME="cust_ref_amt" 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:98;visibility:visible;;TYPE:number;text-align:RIGHT;border:none" size='98' title="Please enter a value." coltype="number"> <INPUT class='trEditInputClass' id='cust_ref_amt{@domID}' value='{cust_ref_amt}' type='text' readOnly='true' label='Cust Ref Amt' NAME="cust_ref_amt" 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:98;visibility:visible;;TYPE:number;text-align:RIGHT" size='98' title="Please enter a value." coltype="number">
</INPUT> </INPUT>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<INPUT class='trEditInputClass' id='cust_ref_amt{@domID}' value='{cust_ref_amt}' type='text' readOnly='true' NAME="cust_ref_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:98;visibility:visible;;TYPE:number;text-align:RIGHT;border:none" size='98' title="Please enter a value." coltype="number"> <INPUT class='trEditInputClass' id='cust_ref_amt{@domID}' value='{cust_ref_amt}' type='text' NAME="cust_ref_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:98;visibility:visible;;TYPE:number;text-align:RIGHT" size='98' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_remarks{@domID}' NAME="remarks" fontCase="any" align="LEFT" TABINDEX="20" TABORDER="20" protect = '1' style="width:90;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="20" TABORDER="20" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:90;visibility:visible;;TYPE:String;text-align:LEFT" size='90' 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="20" TABORDER="20" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:90;visibility:visible;;TYPE:String;text-align:LEFT" size='90' title="Please enter a value." coltype="String">
</INPUT> </INPUT>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></xsl:when> </xsl:choose></xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:value-of select='remarks'/> <xsl:value-of select='cust_ref_amt'/>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose></NOBR> </xsl:choose></NOBR>
</TD> </TD>
<TD id='td_remarks{@domID}' NAME="remarks" fontCase="any" align="LEFT" TABINDEX="20" TABORDER="20" POPUPEXISTS="false" protect="{remarks/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:90;visibility:visible;;TYPE:String;text-align:LEFT">
<NOBR>
<xsl:variable name="myvar">
<xsl:value-of select='remarks'/>
</xsl:variable><INPUT value = "{$myvar }" type="text" class='trEditInputClass' id="remarks{@domID}" NAME="remarks" fontCase="any" align="LEFT" TABINDEX="20" TABORDER="20" POPUPEXISTS="false" protect="{remarks/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" domId = "{@domID}" style="width:90;visibility:visible;;TYPE:String;text-align:LEFT" size='90' title="Please enter a value." coltype="String">
</INPUT>
</NOBR>
</TD>
</TR> </TR>
</xsl:for-each> </xsl:for-each>
</TBODY> </TBODY>
...@@ -411,4 +419,4 @@ ...@@ -411,4 +419,4 @@
</body> </body>
</html> </html>
</xsl:template> </xsl:template>
</xsl:stylesheet> </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