Commit 34586798 authored by ngadkari's avatar ngadkari

changes in Release Retainer Contract xsl

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184047 ce508802-f39f-4f6c-b175-0d175dae99d5
parent fe6a4fca
<?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='retainer_contract_process'/>
<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:2136;'>
<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='contract_id' name='contract_id' class='thClass' STYLE = " left:2; top:3; width:73; visibility:visible;"><nobr>Contract Id<IMAGE id='contract_id001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='contract_date' name='contract_date' class='thClass' STYLE = " left:79; top:3; width:46; visibility:visible;"><nobr>Cont.Dt<IMAGE id='contract_date101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='contract' name='contract' class='thClass' STYLE = " left:129; top:3; width:28; visibility:visible;"><nobr>Type<IMAGE id='contract201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='descr' name='descr' class='thClass' STYLE = " left:161; top:3; width:221; visibility:visible;"><nobr>Description<IMAGE id='descr301' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='site_code' name='site_code' class='thClass' STYLE = " left:385; top:3; width:37; visibility:visible;"><nobr>Site<IMAGE id='site_code401' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='amount' name='amount' class='thClass' STYLE = " left:425; top:3; width:78; visibility:visible;"><nobr>Amount<IMAGE id='amount501' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='bill_no' name='bill_no' class='thClass' STYLE = " left:507; top:3; width:74; 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:585; top:3; width:72; visibility:visible;"><nobr>Bill Date<IMAGE id='bill_date601' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='sundry' name='sundry' class='thClass' STYLE = " left:661; top:3; width:88; visibility:visible;"><nobr>Sundry Type<IMAGE id='sundry701' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='sundry_code' name='sundry_code' class='thClass' STYLE = " left:753; top:3; width:69; visibility:visible;"><nobr>Sundry Code<IMAGE id='sundry_code801' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='sundry_name' name='sundry_name' class='thClass' STYLE = " left:826; top:3; width:158; visibility:visible;"><nobr>Sundry Name<IMAGE id='sundry_name1001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='payable_receivable' name='payable_receivable' class='thClass' STYLE = " left:988; top:3; width:61; visibility:visible;"><nobr>Pay./ Rece.<IMAGE id='payable_receivable1101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='cr' name='cr' class='thClass' STYLE = " left:1053; top:3; width:46; visibility:visible;"><nobr>Cr. Term<IMAGE id='cr1201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='credit_days' name='credit_days' class='thClass' STYLE = " left:1102; top:3; width:46; visibility:visible;"><nobr>Cr. Days<IMAGE id='credit_days1301' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='eff_date' name='eff_date' class='thClass' STYLE = " left:1151; top:3; width:57; visibility:visible;"><nobr>Eff. Date<IMAGE id='eff_date1401' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='valid_upto' name='valid_upto' class='thClass' STYLE = " left:1211; top:3; width:64; visibility:visible;"><nobr>Valid Upto<IMAGE id='valid_upto2001' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='cycle' name='cycle' class='thClass' STYLE = " left:1279; top:3; width:67; visibility:visible;"><nobr>Cycle Time<IMAGE id='cycle1901' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='acct_code__arap' name='acct_code__arap' class='thClass' STYLE = " left:1350; top:3; width:60; visibility:visible;"><nobr>Acct Code<IMAGE id='acct_code__arap1801' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='cctr_code__arap' name='cctr_code__arap' class='thClass' STYLE = " left:1414; top:3; width:62; visibility:visible;"><nobr>Cctr Code<IMAGE id='cctr_code__arap1701' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='date__last_proc' name='date__last_proc' class='thClass' STYLE = " left:1480; top:3; width:103; visibility:visible;"><nobr>Last Proc Date<IMAGE id='date__last_proc1601' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='to_date' name='to_date' class='thClass' STYLE = " left:1587; top:3; width:122; visibility:visible;"><nobr>Processed Uptil Date<IMAGE id='to_date2101' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='status' name='status' class='thClass' STYLE = " left:1713; top:3; width:65; visibility:visible;"><nobr>Status<IMAGE id='status1501' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tax_class' name='tax_class' class='thClass' STYLE = " left:1782; top:3; width:51; visibility:visible;"><nobr>Tax Class<IMAGE id='tax_class2201' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tax_chap' name='tax_chap' class='thClass' STYLE = " left:1837; top:3; width:50; visibility:visible;"><nobr>Tax Chap<IMAGE id='tax_chap2301' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='tax_env' name='tax_env' class='thClass' STYLE = " left:1890; top:3; width:55; visibility:visible;"><nobr>Tax Env<IMAGE id='tax_env2401' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='curr_code' name='curr_code' class='thClass' STYLE = " left:1949; top:3; width:49; visibility:visible;"><nobr>Currency<IMAGE id='curr_code2501' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='auto_pay' name='auto_pay' class='thClass' STYLE = " left:2002; top:3; width:57; visibility:visible;"><nobr>Auto Pay<IMAGE id='auto_pay2601' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='proj_code' name='proj_code' class='thClass' STYLE = " left:2063; top:3; width:112; visibility:visible;"><nobr>Project<IMAGE id='proj_code2701' style='visibility:hidden' src='../images/Standard/upsimple.png'/> </nobr></th>
<th id='pay_mode' name='pay_mode' class='thClass' STYLE = " left:2179; top:3; width:65; visibility:visible;"><nobr>Pay Mode<IMAGE id='pay_mode2801' 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_contract_id{@domID}' NAME="contract_id" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' style="width:73;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="contract_id/@visible='1'">
<xsl:choose><xsl:when test="contract_id/@protect='1'">
<INPUT class='trEditInputClass' id='contract_id{@domID}' value='{contract_id}' type='text' readOnly='true' label='Contract Id' NAME="contract_id" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width: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='contract_id{@domID}' value='{contract_id}' type='text' NAME="contract_id" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width: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='contract_id'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_contract_date{@domID}' NAME="contract_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:46;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="contract_date/@visible='1'">
<xsl:choose><xsl:when test="contract_date/@protect='1'">
<INPUT class='trEditInputClass' id='contract_date{@domID}' value='{contract_date}' type='text' readOnly='true' label='Cont.Dt' NAME="contract_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:46;visibility:visible;;TYPE:date;text-align:LEFT" size='46' title="Please enter a value." coltype="date">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='contract_date{@domID}' value='{contract_date}' type='text' NAME="contract_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:46;visibility:visible;;TYPE:date;text-align:LEFT" size='46' title="Please enter a value." coltype="date">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='contract_date'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_contract_type{@domID}' NAME="contract_type" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="3" protect = '1' style="width:28;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="contract_type/@visible='1'">
<xsl:choose><xsl:when test="contract_type/@protect='1'">
<INPUT class='trEditInputClass' id='contract_type{@domID}' value='{contract_type}' type='text' readOnly='true' label='null' NAME="contract_type" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="3" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:28;visibility:visible;;TYPE:String;text-align:LEFT" size='28' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='contract_type{@domID}' value='{contract_type}' type='text' NAME="contract_type" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="3" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:28;visibility:visible;;TYPE:String;text-align:LEFT" size='28' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='contract_type'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_descr{@domID}' NAME="descr" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="40" protect = '1' style="width:221;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="descr/@visible='1'">
<xsl:choose><xsl:when test="descr/@protect='1'">
<INPUT class='trEditInputClass' id='descr{@domID}' value='{descr}' type='text' readOnly='true' label='Description' NAME="descr" 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:221;visibility:visible;;TYPE:String;text-align:LEFT" size='221' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='descr{@domID}' value='{descr}' type='text' NAME="descr" 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:221;visibility:visible;;TYPE:String;text-align:LEFT" size='221' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='descr'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_site_code{@domID}' NAME="site_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="5" protect = '1' style="width:36;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="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="5" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:36;visibility:visible;;TYPE:String;text-align:LEFT" size='36' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='site_code{@domID}' value='{site_code}' type='text' NAME="site_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="5" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:36;visibility:visible;;TYPE:String;text-align:LEFT" size='36' 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_amount{@domID}' NAME="amount" fontCase="" align="RIGHT" TABINDEX="10" TABORDER="10" MAXLENGTH="15" POPUPEXISTS="false" protect="{amount/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:78;visibility:visible;;TYPE:number;text-align:RIGHT">
<NOBR>
<xsl:variable name="myvar">
<xsl:value-of select='amount'/>
</xsl:variable><INPUT value = "{$myvar }" type="text" class='trEditInputClass' id="amount{@domID}" NAME="amount" fontCase="" align="RIGHT" TABINDEX="10" TABORDER="10" MAXLENGTH="15" POPUPEXISTS="false" protect="{amount/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" domId = "{@domID}" style="width:78;visibility:visible;;TYPE:number;text-align:RIGHT" size='78' title="Please enter a value." coltype="number">
</INPUT>
</NOBR>
</TD>
<TD id='td_bill_no{@domID}' NAME="bill_no" fontCase="any" align="LEFT" TABINDEX="20" TABORDER="20" POPUPEXISTS="false" protect="{bill_no/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:74;visibility:visible;;TYPE:String;text-align:LEFT">
<NOBR>
<xsl:variable name="myvar">
<xsl:value-of select='bill_no'/>
</xsl:variable><INPUT value = "{$myvar }" type="text" class='trEditInputClass' id="bill_no{@domID}" NAME="bill_no" fontCase="any" align="LEFT" TABINDEX="20" TABORDER="20" POPUPEXISTS="false" protect="{bill_no/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" domId = "{@domID}" style="width:74;visibility:visible;;TYPE:String;text-align:LEFT" size='74' title="Please enter a value." coltype="String">
</INPUT>
</NOBR>
</TD>
<TD id='td_bill_date{@domID}' NAME="bill_date" fontCase="any" align="LEFT" TABINDEX="30" TABORDER="30" MAXLENGTH="8" POPUPEXISTS="false" protect="{bill_date/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:72;visibility:visible;;TYPE:String;text-align:LEFT">
<NOBR>
<xsl:variable name="myvar">
<xsl:value-of select='bill_date'/>
</xsl:variable><INPUT value = "{$myvar }" type="text" class='trEditInputClass' id="bill_date{@domID}" NAME="bill_date" fontCase="any" align="LEFT" TABINDEX="30" TABORDER="30" MAXLENGTH="8" POPUPEXISTS="false" protect="{bill_date/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" domId = "{@domID}" style="width:72;visibility:visible;;TYPE:String;text-align:LEFT" size='72' title="Please enter a value." coltype="String">
</INPUT>
</NOBR>
</TD>
<TD id='td_sundry_type{@domID}' NAME="sundry_type" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="1" POPUPEXISTS="false" protect="{sundry_type/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:88;visibility:visible;;TYPE:String;text-align:LEFT">
<NOBR>
<xsl:choose><xsl:when test="not(sundry_type/@visible='0')">
<SELECT disabled="true" id='sundry_type{@domID}' NAME="sundry_type" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="1" POPUPEXISTS="false" protect="{sundry_type/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" domId='{@domID}' style="width:88;visibility:visible;;TYPE:String;text-align:LEFT" >
<OPTION value="C"><xsl:choose><xsl:when test="sundry_type='C'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Customer]]></OPTION>
<OPTION value="S"><xsl:choose><xsl:when test="sundry_type='S'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Supplier]]></OPTION>
<OPTION value="B"><xsl:choose><xsl:when test="sundry_type='B'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Bank]]></OPTION>
<OPTION value="E"><xsl:choose><xsl:when test="sundry_type='E'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Employee]]></OPTION>
<OPTION value="P"><xsl:choose><xsl:when test="sundry_type='P'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Sales Person]]></OPTION>
<OPTION value="T"><xsl:choose><xsl:when test="sundry_type='T'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Transporter]]></OPTION>
<OPTION value="O"><xsl:choose><xsl:when test="sundry_type='O'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Other Accounts]]></OPTION>
</SELECT>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_sundry_code{@domID}' NAME="sundry_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' style="width:69;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="sundry_code/@visible='1'">
<xsl:choose><xsl:when test="sundry_code/@protect='1'">
<INPUT class='trEditInputClass' id='sundry_code{@domID}' value='{sundry_code}' type='text' readOnly='true' label='Sundry Code' NAME="sundry_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width: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='sundry_code{@domID}' value='{sundry_code}' type='text' NAME="sundry_code" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width: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='sundry_code'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_sundry_name{@domID}' NAME="sundry_name" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:158;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:158;visibility:visible;;TYPE:String;text-align:LEFT" size='158' 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:158;visibility:visible;;TYPE:String;text-align:LEFT" size='158' 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_payable_receivable{@domID}' NAME="payable_receivable" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="1" POPUPEXISTS="false" protect="{payable_receivable/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:61;visibility:visible;;TYPE:String;text-align:LEFT">
<NOBR>
<xsl:choose><xsl:when test="not(payable_receivable/@visible='0')">
<SELECT disabled="true" id='payable_receivable{@domID}' NAME="payable_receivable" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="1" POPUPEXISTS="false" protect="{payable_receivable/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" domId='{@domID}' style="width:61;visibility:visible;;TYPE:String;text-align:LEFT">
<OPTION value="P"><xsl:choose><xsl:when test="payable_receivable='P'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Payable]]></OPTION>
<OPTION value="R"><xsl:choose><xsl:when test="payable_receivable='R'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Receivable]]></OPTION>
<OPTION value="J"><xsl:choose><xsl:when test="payable_receivable='J'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Journal]]></OPTION>
</SELECT>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_cr_term{@domID}' NAME="cr_term" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:46;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="cr_term/@visible='1'">
<xsl:choose><xsl:when test="cr_term/@protect='1'">
<INPUT class='trEditInputClass' id='cr_term{@domID}' value='{cr_term}' type='text' readOnly='true' label='null' NAME="cr_term" 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:46;visibility:visible;;TYPE:String;text-align:LEFT" size='46' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='cr_term{@domID}' value='{cr_term}' type='text' NAME="cr_term" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:46;visibility:visible;;TYPE:String;text-align:LEFT" size='46' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='cr_term'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_credit_days{@domID}' NAME="credit_days" fontCase="" align="RIGHT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="3" protect = '1' style="width:46;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="credit_days/@visible='1'">
<xsl:choose><xsl:when test="credit_days/@protect='1'">
<INPUT class='trEditInputClass' id='credit_days{@domID}' value='{credit_days}' type='text' readOnly='true' label='Cr. Days' NAME="credit_days" fontCase="" align="RIGHT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="3" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:46;visibility:visible;;TYPE:number;text-align:RIGHT" size='46' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='credit_days{@domID}' value='{credit_days}' type='text' NAME="credit_days" fontCase="" align="RIGHT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="3" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:46;visibility:visible;;TYPE:number;text-align:RIGHT" size='46' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:variable name="numVal"><xsl:value-of select="format-number(credit_days,'000')"/></xsl:variable>
<xsl:choose>
<xsl:when test="normalize-space($numVal)='NaN'"></xsl:when>
<xsl:otherwise><xsl:value-of select="$numVal"/></xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_eff_date{@domID}' NAME="eff_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:57;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="eff_date/@visible='1'">
<xsl:choose><xsl:when test="eff_date/@protect='1'">
<INPUT class='trEditInputClass' id='eff_date{@domID}' value='{eff_date}' type='text' readOnly='true' label='Eff. Date' NAME="eff_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:57;visibility:visible;;TYPE:date;text-align:LEFT" size='57' title="Please enter a value." coltype="date">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='eff_date{@domID}' value='{eff_date}' type='text' NAME="eff_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:57;visibility:visible;;TYPE:date;text-align:LEFT" size='57' title="Please enter a value." coltype="date">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='eff_date'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_valid_upto{@domID}' NAME="valid_upto" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:64;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="valid_upto/@visible='1'">
<xsl:choose><xsl:when test="valid_upto/@protect='1'">
<INPUT class='trEditInputClass' id='valid_upto{@domID}' value='{valid_upto}' type='text' readOnly='true' label='Valid Upto' NAME="valid_upto" 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:64;visibility:visible;;TYPE:date;text-align:LEFT" size='64' title="Please enter a value." coltype="date">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='valid_upto{@domID}' value='{valid_upto}' type='text' NAME="valid_upto" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:64;visibility:visible;;TYPE:date;text-align:LEFT" size='64' title="Please enter a value." coltype="date">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='valid_upto'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_cycle_time{@domID}' NAME="cycle_time" fontCase="" align="RIGHT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="2" protect = '1' style="width:67;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="cycle_time/@visible='1'">
<xsl:choose><xsl:when test="cycle_time/@protect='1'">
<INPUT class='trEditInputClass' id='cycle_time{@domID}' value='{cycle_time}' type='text' readOnly='true' label='null' NAME="cycle_time" fontCase="" align="RIGHT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="2" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:67;visibility:visible;;TYPE:number;text-align:RIGHT" size='67' title="Please enter a value." coltype="number">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='cycle_time{@domID}' value='{cycle_time}' type='text' NAME="cycle_time" fontCase="" align="RIGHT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="2" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:67;visibility:visible;;TYPE:number;text-align:RIGHT" size='67' title="Please enter a value." coltype="number">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:variable name="numVal"><xsl:value-of select="format-number(cycle_time,'00')"/></xsl:variable>
<xsl:choose>
<xsl:when test="normalize-space($numVal)='NaN'"></xsl:when>
<xsl:otherwise><xsl:value-of select="$numVal"/></xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_acct_code__arap{@domID}' NAME="acct_code__arap" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' style="width:60;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="acct_code__arap/@visible='1'">
<xsl:choose><xsl:when test="acct_code__arap/@protect='1'">
<INPUT class='trEditInputClass' id='acct_code__arap{@domID}' value='{acct_code__arap}' type='text' readOnly='true' label='Acct Code' NAME="acct_code__arap" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width: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='acct_code__arap{@domID}' value='{acct_code__arap}' type='text' NAME="acct_code__arap" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="10" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width: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='acct_code__arap'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_cctr_code__arap{@domID}' NAME="cctr_code__arap" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="4" protect = '1' style="width:62;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="cctr_code__arap/@visible='1'">
<xsl:choose><xsl:when test="cctr_code__arap/@protect='1'">
<INPUT class='trEditInputClass' id='cctr_code__arap{@domID}' value='{cctr_code__arap}' type='text' readOnly='true' label='Cctr Code' NAME="cctr_code__arap" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="4" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" REQUIRED='YES' style="visibility:hidden;width:62;visibility:visible;;TYPE:String;text-align:LEFT" size='62' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='cctr_code__arap{@domID}' value='{cctr_code__arap}' type='text' NAME="cctr_code__arap" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="4" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:62;visibility:visible;;TYPE:String;text-align:LEFT" size='62' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='cctr_code__arap'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_date__last_proc{@domID}' NAME="date__last_proc" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:103;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="date__last_proc/@visible='1'">
<xsl:choose><xsl:when test="date__last_proc/@protect='1'">
<INPUT class='trEditInputClass' id='date__last_proc{@domID}' value='{date__last_proc}' type='text' readOnly='true' label='Last Proc Date' NAME="date__last_proc" 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:103;visibility:visible;;TYPE:date;text-align:LEFT" size='103' title="Please enter a value." coltype="date">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='date__last_proc{@domID}' value='{date__last_proc}' type='text' NAME="date__last_proc" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:103;visibility:visible;;TYPE:date;text-align:LEFT" size='103' title="Please enter a value." coltype="date">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='date__last_proc'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_to_date{@domID}' NAME="to_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:122;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="to_date/@visible='1'">
<xsl:choose><xsl:when test="to_date/@protect='1'">
<INPUT class='trEditInputClass' id='to_date{@domID}' value='{to_date}' type='text' readOnly='true' label='Processed Uptil Date' NAME="to_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:122;visibility:visible;;TYPE:date;text-align:LEFT" size='122' title="Please enter a value." coltype="date">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='to_date{@domID}' value='{to_date}' type='text' NAME="to_date" fontCase="" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:122;visibility:visible;;TYPE:date;text-align:LEFT" size='122' title="Please enter a value." coltype="date">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='to_date'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_status{@domID}' NAME="status" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="1" POPUPEXISTS="false" protect="{status/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:64;visibility:visible;;TYPE:String;text-align:LEFT">
<NOBR>
<xsl:choose><xsl:when test="not(status/@visible='0')">
<SELECT disabled="true" id='status{@domID}' NAME="status" fontCase="upper" align="LEFT" TABINDEX="32766" TABORDER="32766" MAXLENGTH="1" POPUPEXISTS="false" protect="{status/@protect}" protectExpr="" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" domId='{@domID}' style="width:64;visibility:visible;;TYPE:String;text-align:LEFT">
<OPTION value="A"><xsl:choose><xsl:when test="status='A'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Active]]></OPTION>
<OPTION value="C"><xsl:choose><xsl:when test="status='C'"><xsl:attribute name="selected"/></xsl:when></xsl:choose><![CDATA[Cancelled]]></OPTION>
</SELECT>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_tax_class{@domID}' NAME="tax_class" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:51;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="tax_class/@visible='1'">
<xsl:choose><xsl:when test="tax_class/@protect='1'">
<INPUT class='trEditInputClass' id='tax_class{@domID}' value='{tax_class}' type='text' readOnly='true' label='Tax Class' NAME="tax_class" 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='tax_class{@domID}' value='{tax_class}' type='text' NAME="tax_class" 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='tax_class'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_tax_chap{@domID}' NAME="tax_chap" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:50;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="tax_chap/@visible='1'">
<xsl:choose><xsl:when test="tax_chap/@protect='1'">
<INPUT class='trEditInputClass' id='tax_chap{@domID}' value='{tax_chap}' type='text' readOnly='true' label='Tax Chap' NAME="tax_chap" 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:50;visibility:visible;;TYPE:String;text-align:LEFT" size='50' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='tax_chap{@domID}' value='{tax_chap}' type='text' NAME="tax_chap" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:50;visibility:visible;;TYPE:String;text-align:LEFT" size='50' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='tax_chap'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_tax_env{@domID}' NAME="tax_env" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:55;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="tax_env/@visible='1'">
<xsl:choose><xsl:when test="tax_env/@protect='1'">
<INPUT class='trEditInputClass' id='tax_env{@domID}' value='{tax_env}' type='text' readOnly='true' label='Tax Env' NAME="tax_env" 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:55;visibility:visible;;TYPE:String;text-align:LEFT" size='55' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='tax_env{@domID}' value='{tax_env}' type='text' NAME="tax_env" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:55;visibility:visible;;TYPE:String;text-align:LEFT" size='55' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='tax_env'/>
</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:49;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='Currency' 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: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='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: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='curr_code'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_auto_pay{@domID}' NAME="auto_pay" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:57;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="auto_pay/@visible='1'">
<xsl:choose><xsl:when test="auto_pay/@protect='1'">
<INPUT class='trEditInputClass' id='auto_pay{@domID}' value='{auto_pay}' type='text' readOnly='true' label='Auto Pay' NAME="auto_pay" 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:57;visibility:visible;;TYPE:String;text-align:LEFT" size='57' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='auto_pay{@domID}' value='{auto_pay}' type='text' NAME="auto_pay" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:57;visibility:visible;;TYPE:String;text-align:LEFT" size='57' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='auto_pay'/>
</xsl:otherwise>
</xsl:choose></NOBR>
</TD>
<TD id='td_proj_code{@domID}' NAME="proj_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' style="width:112;visibility:visible;">
<NOBR>
<xsl:choose><xsl:when test="proj_code/@visible='1'">
<xsl:choose><xsl:when test="proj_code/@protect='1'">
<INPUT class='trEditInputClass' id='proj_code{@domID}' value='{proj_code}' type='text' readOnly='true' label='Project' NAME="proj_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:112;visibility:visible;;TYPE:String;text-align:LEFT" size='112' title="Please enter a value." coltype="String">
</INPUT>
</xsl:when>
<xsl:otherwise>
<INPUT class='trEditInputClass' id='proj_code{@domID}' value='{proj_code}' type='text' NAME="proj_code" fontCase="any" align="LEFT" TABINDEX="32766" TABORDER="32766" protect = '1' domId="{@domID}" ISCHANGED="false" onBlur="validateFld(this)" onFocus="gotFocus(this,'brow2')" style="width:112;visibility:visible;;TYPE:String;text-align:LEFT" size='112' title="Please enter a value." coltype="String">
</INPUT>
</xsl:otherwise>
</xsl:choose></xsl:when>
<xsl:otherwise>
<xsl:value-of select='proj_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:66;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='Pay 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:66;visibility:visible;;TYPE:String;text-align:LEFT" size='66' 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:66;visibility:visible;;TYPE:String;text-align:LEFT" size='66' 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>
</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