Commit 203bd278 authored by arawankar's avatar arawankar

Added xsl file for misc_autopay xsl file.

1.Changes related to make pay_amt,cheque_no and tran_date fields are editable
2.Change tran date label from misc pay tran date to transaction date

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@182210 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4df02621
<?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='miscpay_auto'/>
<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:2110;'>
<THEAD class="table-head">
<TR><th id='ref_no' name='ref_no' class='thClass' STYLE = " left:2; top:3; width:80; visibility:visible;"><nobr>Voucher No.<IMAGE id='ref_no2101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='misc_payables' name='misc_payables' class='thClass' STYLE = " left:84; top:3; width:148; visibility:visible;"><nobr>Transaction Date<IMAGE id='misc_payables2201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='ref_date' name='ref_date' class='thClass' STYLE = " left:234; top:3; width:67; visibility:visible;"><nobr>Eff Date<IMAGE id='ref_date001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='bill_no' name='bill_no' class='thClass' STYLE = " left:303; top:3; width:59; visibility:visible;"><nobr>Bill No<IMAGE id='bill_no901' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='bill_date' name='bill_date' class='thClass' STYLE = " left:364; top:3; width:63; visibility:visible;"><nobr>Bill Date<IMAGE id='bill_date1001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='curr_code' name='curr_code' class='thClass' STYLE = " left:429; top:3; width:40; visibility:visible;"><nobr>Curr<IMAGE id='curr_code1901' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='exch_rate' name='exch_rate' class='thClass' STYLE = " left:471; top:3; width:47; visibility:visible;"><nobr>Exch.<IMAGE id='exch_rate2001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='sundry_code' name='sundry_code' class='thClass' STYLE = " left:520; top:3; width:70; visibility:visible;"><nobr>Sundry Code<IMAGE id='sundry_code601' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='acct_code' name='acct_code' class='thClass' STYLE = " left:592; top:3; width:63; visibility:visible;"><nobr>DR A/c<IMAGE id='acct_code1501' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='cctr_code' name='cctr_code' class='thClass' STYLE = " left:657; top:3; width:33; visibility:visible;"><nobr>CCTR Code<IMAGE id='cctr_code2301' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='due_date' name='due_date' class='thClass' STYLE = " left:692; top:3; width:43; visibility:visible;"><nobr>Due on<IMAGE id='due_date2401' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='site_code' name='site_code' class='thClass' STYLE = " left:737; top:3; width:26; visibility:visible;"><nobr>Site<IMAGE id='site_code1801' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='fin_entity' name='fin_entity' class='thClass' STYLE = " left:765; top:3; width:59; visibility:visible;"><nobr>Fin Entity<IMAGE id='fin_entity401' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tot_amt' name='tot_amt' class='thClass' STYLE = " left:826; top:3; width:61; visibility:visible;"><nobr>Amount<IMAGE id='tot_amt1101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='sundry' name='sundry' class='thClass' STYLE = " left:889; top:3; width:32; visibility:visible;"><nobr>Sundry Type<IMAGE id='sundry101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='bank_code' name='bank_code' class='thClass' STYLE = " left:923; top:3; width:51; visibility:visible;"><nobr>Bank<IMAGE id='bank_code1601' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='pay_mode' name='pay_mode' class='thClass' STYLE = " left:976; top:3; width:69; visibility:visible;"><nobr>Mode<IMAGE id='pay_mode1701' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='adv_amt' name='adv_amt' class='thClass' STYLE = " left:1047; top:3; width:61; visibility:visible;"><nobr>Advance<IMAGE id='adv_amt501' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tran_id' name='tran_id' class='thClass' STYLE = " left:1110; top:3; width:120; visibility:visible;"><nobr>Tran Id<IMAGE id='tran_id201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tran_ser' name='tran_ser' class='thClass' STYLE = " left:1232; top:3; width:49; visibility:visible;"><nobr>Series<IMAGE id='tran_ser801' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='adj_amt' name='adj_amt' class='thClass' STYLE = " left:1283; top:3; width:61; visibility:visible;"><nobr>Adjusted<IMAGE id='adj_amt1201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='hold_amt' name='hold_amt' class='thClass' STYLE = " left:1346; top:3; width:97; visibility:visible;"><nobr>On Hold<IMAGE id='hold_amt1301' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='username' name='username' class='thClass' STYLE = " left:1445; top:3; width:60; visibility:visible;"><nobr>Conf. by<IMAGE id='username301' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='pay_amt' name='pay_amt' class='thClass' STYLE = " left:1507; top:3; width:117; visibility:visible;"><nobr>Pay Amt<IMAGE id='pay_amt1401' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='unconfirm_amt' name='unconfirm_amt' class='thClass' STYLE = " left:1626; top:3; width:138; visibility:visible;"><nobr>Unconfirm Amt<IMAGE id='unconfirm_amt2501' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='sundry_name' name='sundry_name' class='thClass' STYLE = " left:1766; top:3; width:144; visibility:visible;"><nobr>Sundry Name<IMAGE id='sundry_name701' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='net_payable' name='net_payable' class='thClass' STYLE = " left:1912; top:3; width:118; visibility:visible;"><nobr>Net Payable<IMAGE id='net_payable2601' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='cheque_no' name='cheque_no' class='thClass' STYLE = " left:2032; top:3; width:134; visibility:visible;"><nobr>Cheque No<IMAGE id='cheque_no2701' 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_ref_no{@domID}' NAME="ref_no" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="15" protect = '1' style="width:80;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='Voucher No.' NAME="ref_no" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="15" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:80;visibility:visible;;TYPE:String;text-align:LEFT" size='80' 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="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="15" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:80;visibility:visible;;TYPE:String;text-align:LEFT" size='80' 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_misc_payables_tran_date{@domID}' NAME="misc_payables_tran_date" fontCase="any" align="LEFT" TABINDEX="10" TABORDER="10" style="width:148;visibility:visible;">
<NOBR>
<INPUT class='trEditInputClass' id='misc_payables_tran_date{@domID}' value='{misc_payables_tran_date}' type='text' label='null' NAME="misc_payables_tran_date" fontCase="any" align="LEFT" TABINDEX="10" TABORDER="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="visibility:hidden;width:148;visibility:visible;;TYPE:date;text-align:LEFT" size='148' title="Please enter a value." coltype="date">
</INPUT>
</NOBR>
</TD>
<TD id='td_ref_date{@domID}' NAME="ref_date" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:67;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='Eff Date' NAME="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:67;visibility:visible;;TYPE:date;text-align:LEFT" size='67' 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="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:date;text-align:LEFT" size='67' 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_bill_no{@domID}' NAME="bill_no" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="20" protect = '1' style="width:59;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="bill_no/@visible='1'">
<xsl:choose><xsl:when test="bill_no/@protect='1'">
<INPUT class='trEditInputClass' id='bill_no{@domID}' value='{bill_no}' type='text' readOnly='true' label='Bill No' NAME="bill_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:59;visibility:visible;;TYPE:String;text-align:LEFT" size='59' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='bill_no{@domID}' value='{bill_no}' type='text' NAME="bill_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:59;visibility:visible;;TYPE:String;text-align:LEFT" size='59' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='bill_no'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_bill_date{@domID}' NAME="bill_date" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:63;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="bill_date/@visible='1'">
<xsl:choose><xsl:when test="bill_date/@protect='1'">
<INPUT class='trEditInputClass' id='bill_date{@domID}' value='{bill_date}' type='text' readOnly='true' label='Bill Date' NAME="bill_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:63;visibility:visible;;TYPE:date;text-align:LEFT" size='63' title="Please enter a value." coltype="date">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='bill_date{@domID}' value='{bill_date}' type='text' NAME="bill_date" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:63;visibility:visible;;TYPE:date;text-align:LEFT" size='63' title="Please enter a value." coltype="date">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='bill_date'/>
</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:40;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' 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:40;visibility:visible;;TYPE:String;text-align:LEFT" size='40' 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:40;visibility:visible;;TYPE:String;text-align:LEFT" size='40' 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_exch_rate{@domID}' NAME="exch_rate" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:47;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.' 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:47;visibility:visible;;TYPE:number;text-align:RIGHT" size='47' 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:47;visibility:visible;;TYPE:number;text-align:RIGHT" size='47' 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_sundry_code{@domID}' NAME="sundry_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:70;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="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:70;visibility:visible;;TYPE:String;text-align:LEFT" size='70' 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="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:70;visibility:visible;;TYPE:String;text-align:LEFT" size='70' 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_acct_code{@domID}' NAME="acct_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:63;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='DR A/c' NAME="acct_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:63;visibility:visible;;TYPE:String;text-align:LEFT" size='63' 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="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:63;visibility:visible;;TYPE:String;text-align:LEFT" size='63' 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="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:33;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="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:33;visibility:visible;;TYPE:String;text-align:LEFT" size='33' 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="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:33;visibility:visible;;TYPE:String;text-align:LEFT" size='33' 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 id='td_due_date{@domID}' NAME="due_date" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:43;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 on' 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:43;visibility:visible;;TYPE:date;text-align:LEFT" size='43' title="Please enter a value." coltype="date">
</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:43;visibility:visible;;TYPE:date;text-align:LEFT" size='43' title="Please enter a value." coltype="date">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='due_date'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_site_code{@domID}' NAME="site_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:26;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' NAME="site_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:26;visibility:visible;;TYPE:String;text-align:LEFT" size='26' 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="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:26;visibility:visible;;TYPE:String;text-align:LEFT" size='26' 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_fin_entity{@domID}' NAME="fin_entity" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:59;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="fin_entity/@visible='1'">
<xsl:choose><xsl:when test="fin_entity/@protect='1'">
<INPUT class='trEditInputClass' id='fin_entity{@domID}' value='{fin_entity}' type='text' readOnly='true' label='Fin Entity' NAME="fin_entity" 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:59;visibility:visible;;TYPE:String;text-align:LEFT" size='59' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='fin_entity{@domID}' value='{fin_entity}' type='text' NAME="fin_entity" fontCase="any" 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:String;text-align:LEFT" size='59' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='fin_entity'/>
</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:61;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="tot_amt/@visible='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='Amount' 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:61;visibility:visible;;TYPE:number;text-align:RIGHT" size='61' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<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:61;visibility:visible;;TYPE:number;text-align:RIGHT" size='61' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='tot_amt'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_sundry_type{@domID}' NAME="sundry_type" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:32;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="sundry_type/@visible='1'">
<xsl:choose><xsl:when test="sundry_type/@protect='1'">
<INPUT class='trEditInputClass' id='sundry_type{@domID}' value='{sundry_type}' type='text' readOnly='true' label='null' NAME="sundry_type" 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:32;visibility:visible;;TYPE:String;text-align:LEFT" size='32' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='sundry_type{@domID}' value='{sundry_type}' type='text' NAME="sundry_type" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:32;visibility:visible;;TYPE:String;text-align:LEFT" size='32' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='sundry_type'/>
</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:51;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' 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:51;visibility:visible;;TYPE:String;text-align:LEFT" size='51' 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:51;visibility:visible;;TYPE:String;text-align:LEFT" size='51' 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_pay_mode{@domID}' NAME="pay_mode" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:69;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="pay_mode/@visible='1'">
<xsl:choose><xsl:when test="pay_mode/@protect='1'">
<INPUT class='trEditInputClass' id='pay_mode{@domID}' value='{pay_mode}' type='text' readOnly='true' label='Mode' NAME="pay_mode" 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:69;visibility:visible;;TYPE:String;text-align:LEFT" size='69' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='pay_mode{@domID}' value='{pay_mode}' type='text' NAME="pay_mode" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:69;visibility:visible;;TYPE:String;text-align:LEFT" size='69' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='pay_mode'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_adv_amt{@domID}' NAME="adv_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:61;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="adv_amt/@visible='1'">
<xsl:choose><xsl:when test="adv_amt/@protect='1'">
<INPUT class='trEditInputClass' id='adv_amt{@domID}' value='{adv_amt}' type='text' readOnly='true' label='Advance' NAME="adv_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:61;visibility:visible;;TYPE:number;text-align:RIGHT" size='61' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='adv_amt{@domID}' value='{adv_amt}' type='text' NAME="adv_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:61;visibility:visible;;TYPE:number;text-align:RIGHT" size='61' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='adv_amt'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_tran_id{@domID}' NAME="tran_id" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="15" protect = '1' style="width:120;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='Tran Id' NAME="tran_id" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="15" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:120;visibility:visible;;TYPE:String;text-align:LEFT" size='120' 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="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="15" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:120;visibility:visible;;TYPE:String;text-align:LEFT" size='120' 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_tran_ser{@domID}' NAME="tran_ser" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:49;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='Series' NAME="tran_ser" 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:49;visibility:visible;;TYPE:String;text-align:LEFT" size='49' 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" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:49;visibility:visible;;TYPE:String;text-align:LEFT" size='49' 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_adj_amt{@domID}' NAME="adj_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:61;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="adj_amt/@visible='1'">
<xsl:choose><xsl:when test="adj_amt/@protect='1'">
<INPUT class='trEditInputClass' id='adj_amt{@domID}' value='{adj_amt}' type='text' readOnly='true' label='Adjusted' NAME="adj_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:61;visibility:visible;;TYPE:number;text-align:RIGHT" size='61' 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="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:61;visibility:visible;;TYPE:number;text-align:RIGHT" size='61' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='adj_amt'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_hold_amt{@domID}' NAME="hold_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:97;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="hold_amt/@visible='1'">
<xsl:choose><xsl:when test="hold_amt/@protect='1'">
<INPUT class='trEditInputClass' id='hold_amt{@domID}' value='{hold_amt}' type='text' readOnly='true' label='On Hold' NAME="hold_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: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='hold_amt{@domID}' value='{hold_amt}' type='text' NAME="hold_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" 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' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='hold_amt'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_username{@domID}' NAME="username" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:60;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="username/@visible='1'">
<xsl:choose><xsl:when test="username/@protect='1'">
<INPUT class='trEditInputClass' id='username{@domID}' value='{username}' type='text' readOnly='true' label='Conf. by' NAME="username" 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:60;visibility:visible;;TYPE:String;text-align:LEFT" size='60' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='username{@domID}' value='{username}' type='text' NAME="username" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:60;visibility:visible;;TYPE:String;text-align:LEFT" size='60' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='username'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_pay_amt{@domID}' NAME="pay_amt" fontCase="any" align="RIGHT" TABINDEX="20" TABORDER="20"
style="width:117;visibility:visible;">
<NOBR>
<INPUT class='trEditInputClass' id='pay_amt{@domID}' value='{pay_amt}' type='text' label='Pay Amt' NAME="pay_amt" fontCase="any" align="RIGHT" TABINDEX="20" TABORDER="20" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="visibility:hidden;width:117;visibility:visible;;TYPE:number;text-align:RIGHT" size='117' title="Please enter a value." coltype="number">
</INPUT>
</NOBR>
</TD>
<TD id='td_unconfirm_amt{@domID}' NAME="unconfirm_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:138;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="unconfirm_amt/@visible='1'">
<xsl:choose><xsl:when test="unconfirm_amt/@protect='1'">
<INPUT class='trEditInputClass' id='unconfirm_amt{@domID}' value='{unconfirm_amt}' type='text' readOnly='true' label='Unconfirm Amt' NAME="unconfirm_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:138;visibility:visible;;TYPE:number;text-align:RIGHT" size='138' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='unconfirm_amt{@domID}' value='{unconfirm_amt}' type='text' NAME="unconfirm_amt" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:138;visibility:visible;;TYPE:number;text-align:RIGHT" size='138' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='unconfirm_amt'/>
</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:144;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:144;visibility:visible;;TYPE:String;text-align:LEFT" size='144' 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:144;visibility:visible;;TYPE:String;text-align:LEFT" size='144' 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_net_payable{@domID}' NAME="net_payable" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:118;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="net_payable/@visible='1'">
<xsl:choose><xsl:when test="net_payable/@protect='1'">
<INPUT class='trEditInputClass' id='net_payable{@domID}' value='{net_payable}' type='text' readOnly='true' label='Net Payable' NAME="net_payable" 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:118;visibility:visible;;TYPE:number;text-align:RIGHT" size='118' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='net_payable{@domID}' value='{net_payable}' type='text' NAME="net_payable" fontCase="any" align="RIGHT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:118;visibility:visible;;TYPE:number;text-align:RIGHT" size='118' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='net_payable'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_cheque_no{@domID}' NAME="cheque_no" fontCase="any" align="LEFT" TABINDEX="30" TABORDER="30" MAXLENGTH="40" style="width:134;visibility:visible;">
<NOBR>
<INPUT class='trEditInputClass' id='cheque_no{@domID}' value='' type='text' label='Cheque No' NAME="cheque_no" fontCase="any" align="LEFT" TABINDEX="30" TABORDER="30" MAXLENGTH="40" domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:134;visibility:visible;;TYPE:String;text-align:LEFT" size='134' title="Please enter a value." coltype="String">
</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>
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