Commit 9a5b6f6c authored by ngadkari's avatar ngadkari

changes in xsl All numeric column made right aligned and adjusted column ...

changes in xsl All numeric column  made right aligned and  adjusted column  made editable for Auto AR Settlement  

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@182706 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 83e65c2a
<?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='generate_receipt'/>
<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:1866;'>
<!-- <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='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='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='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='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='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='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='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='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='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_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='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='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_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='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='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='cust_ref_amt' name='cust_ref_amt' class='thClass' STYLE = " left:1718; top:2; width:98; visibility:visible;"><nobr>Cust Ref Amt<IMAGE id='cust_ref_amt1701' 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>
<!--</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_tran_ser{@domID}' NAME="tran_ser" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="6" protect = '1' style="width:67;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='Tran Ser' NAME="tran_ser" fontCase="any" 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:67;visibility:visible;;TYPE:String;text-align:LEFT" size='67' 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="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="6" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:67;visibility:visible;;TYPE:String;text-align:LEFT" size='67' 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_invoice_id{@domID}' NAME="invoice_id" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' style="width:85;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="invoice_id/@visible='1'">
<xsl:choose><xsl:when test="invoice_id/@protect='1'">
<INPUT class='trEditInputClass' id='invoice_id{@domID}' value='{invoice_id}' type='text' readOnly='true' label='Reference Id' NAME="invoice_id" 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:85;visibility:visible;;TYPE:String;text-align:LEFT" size='85' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='invoice_id{@domID}' value='{invoice_id}' type='text' NAME="invoice_id" 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:85;visibility:visible;;TYPE:String;text-align:LEFT" size='85' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='invoice_id'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</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;">
<NOBR>
<xsl:choose><xsl:when test="cust_ref_no/@visible='1'">
<xsl:choose><xsl:when test="cust_ref_no/@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>
</xsl:when>
<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>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='cust_ref_no'/>
</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:96;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='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>
</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:96;visibility:visible;;TYPE:date;text-align:LEFT" size='96' 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 id='td_tot_amt{@domID}' NAME="tot_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:73;visibility:visible;">
<NOBR>
<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>
</xsl:when>
<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>
</xsl:otherwise>
</xsl:choose></NOBR>
</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;">
<NOBR>
<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>
</xsl:when>
<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>
</xsl:otherwise>
</xsl:choose></NOBR>
</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;">
<NOBR>
<xsl:choose><xsl:when test="adj_amt/@protect='1'">
<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">
</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>
</xsl:otherwise>
</xsl:choose></NOBR>
</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;">
<NOBR>
<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>
</xsl:when>
<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>
</xsl:otherwise>
</xsl:choose></NOBR>
</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;">
<NOBR>
<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>
</xsl:when>
<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>
</xsl:otherwise>
</xsl:choose></NOBR>
</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;">
<NOBR>
<xsl:choose><xsl:when test="reas_code/@visible='1'">
<xsl:choose><xsl:when test="reas_code/@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>
</xsl:when>
<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>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='reas_code'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</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;">
<NOBR>
<xsl:choose><xsl:when test="cust_name/@visible='1'">
<xsl:choose><xsl:when test="cust_name/@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>
</xsl:when>
<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>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='cust_name'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</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;">
<NOBR>
<xsl:choose><xsl:when test="cust_code/@visible='1'">
<xsl:choose><xsl:when test="cust_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>
</xsl:when>
<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>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='cust_code'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_bank_code{@domID}' NAME="bank_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:82;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="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:82;visibility:visible;;TYPE:String;text-align:LEFT" size='82' 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="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:82;visibility:visible;;TYPE:String;text-align:LEFT" size='82' 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_cheque_date{@domID}' NAME="cheque_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:89;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="cheque_date/@visible='1'">
<xsl:choose><xsl:when test="cheque_date/@protect='1'">
<INPUT class='trEditInputClass' id='cheque_date{@domID}' value='{cheque_date}' type='text' readOnly='true' label='Cheque Date' NAME="cheque_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:89;visibility:visible;;TYPE:date;text-align:LEFT" size='89' title="Please enter a value." coltype="date">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='cheque_date{@domID}' value='{cheque_date}' type='text' NAME="cheque_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:89;visibility:visible;;TYPE:date;text-align:LEFT" size='89' title="Please enter a value." coltype="date">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='cheque_date'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_cheque_no{@domID}' NAME="cheque_no" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="20" protect = '1' style="width:72;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="cheque_no/@visible='1'">
<xsl:choose><xsl:when test="cheque_no/@protect='1'">
<INPUT class='trEditInputClass' id='cheque_no{@domID}' value='{cheque_no}' type='text' readOnly='true' label='Cheque No' NAME="cheque_no" fontCase="any" 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:72;visibility:visible;;TYPE:String;text-align:LEFT" size='72' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='cheque_no{@domID}' value='{cheque_no}' type='text' NAME="cheque_no" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="20" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:72;visibility:visible;;TYPE:String;text-align:LEFT" size='72' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='cheque_no'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</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;">
<NOBR>
<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>
</xsl:when>
<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>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_cust_ref_date{@domID}' NAME="cust_ref_date" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:86;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="cust_ref_date/@visible='1'">
<xsl:choose><xsl:when test="cust_ref_date/@protect='1'">
<INPUT class='trEditInputClass' id='cust_ref_date{@domID}' value='{cust_ref_date}' type='text' readOnly='true' label='Cust Ref Date' NAME="cust_ref_date" 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:86;visibility:visible;;TYPE:String;text-align:LEFT" size='86' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='cust_ref_date{@domID}' value='{cust_ref_date}' type='text' NAME="cust_ref_date" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:86;visibility:visible;;TYPE:String;text-align:LEFT" size='86' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='cust_ref_date'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_due_date{@domID}' NAME="due_date" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:67;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="due_date/@visible='1'">
<xsl:choose><xsl:when test="due_date/@protect='1'">
<INPUT class='trEditInputClass' id='due_date{@domID}' value='{due_date}' type='text' readOnly='true' label='Due Date' NAME="due_date" 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:67;visibility:visible;;TYPE:String;text-align:LEFT" size='67' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='due_date{@domID}' value='{due_date}' type='text' NAME="due_date" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:67;visibility:visible;;TYPE:String;text-align:LEFT" size='67' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='due_date'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_reas_detail{@domID}' NAME="reas_detail" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:73;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="reas_detail/@visible='1'">
<xsl:choose><xsl:when test="reas_detail/@protect='1'">
<INPUT class='trEditInputClass' id='reas_detail{@domID}' value='{reas_detail}' type='text' readOnly='true' label='Reas Detail' NAME="reas_detail" 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:73;visibility:visible;;TYPE:String;text-align:LEFT" size='73' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='reas_detail{@domID}' value='{reas_detail}' type='text' NAME="reas_detail" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:73;visibility:visible;;TYPE:String;text-align:LEFT" size='73' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='reas_detail'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<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>
<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>
</xsl:when>
<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>
</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>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='remarks'/>
</xsl:otherwise>
</xsl:choose></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>
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