Commit a3d2afec authored by vdhoble's avatar vdhoble

domestic receipt changes-F14ISUN011


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99475 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a21af837
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:variable name="DEFAULTCOL">
<xsl:value-of select="/DOCUMENTROOT/METADATA/DEFAULT_COL" />
</xsl:variable>
<xsl:variable name="TITLE">
<xsl:value-of select="/DOCUMENTROOT/METADATA/MSG_TITLE" />
</xsl:variable>
<xsl:variable name="COLDATATYPE">
<xsl:value-of select="/DOCUMENTROOT/METADATA/FIELD_TYPE" />
</xsl:variable>
<xsl:variable name="MULTIPLE_OPT">
<xsl:value-of select="/DOCUMENTROOT/METADATA/MULTIPLE_OPT" />
</xsl:variable>
<HTML>
<HEAD>
<script type="text/javascript" src="../js/receipt_gen_wiz.js">
</script>
<script type="text/javascript" src="../js/cd_popquery.js">
</script>
<script type="text/javascript" src="../js/CashMemo.js"></script>
<link rel="stylesheet" href="../css/cd_style.css" type="text/css" />
<TITLE>
<xsl:value-of select="$TITLE" />
</TITLE>
</HEAD>
<BODY onload="onLoadWindow()">
<!-- <table id="popupTable1" width="70%">
</table> -->
<!--
<div class="popupTable"> -->
<table id="popupTable" onchange="setFocuToPopHelp()">
<TR><td><input type = "button" value = "submit" name = "OK" onclick = "addRow()"/> </td>
<td><input type="button" name="Quit" id="Quit" value="Close" onclick="quitBox()" /></td>
</TR>
<tr class="tableRowHeader">
<td style="width:40px"></td>
<xsl:for-each select="DOCUMENTROOT/GROUP0/HEADER0/DETAIL[1]/*">
<TD>
<b>
<xsl:value-of select="translate(local-name(),'_',' ')" />
</b>
</TD>
</xsl:for-each>
</tr>
<xsl:for-each select="DOCUMENTROOT/GROUP0/HEADER0/DETAIL">
<xsl:variable name="CURVALUE">
<xsl:value-of select="child::node()[position() = $DEFAULTCOL]" />
</xsl:variable>
<xsl:variable name="domId">
<xsl:value-of select="@id" />
</xsl:variable>
<TR>
<TD style="width:40px">
<input type="checkbox" name="chkbx.{normalize-space($domId)}" id = "chkbx.{normalize-space($domId)}" class ="checkboxmain"
readonly="readonly" onblur="" style="width:20px" />
<!-- <input type="text" name="domid.{$domId}" id = "domid.{$domId}" value="{$domId}" style="width:20px" /> -->
</TD>
<xsl:for-each select="*">
<xsl:variable name="CURNAME">
<xsl:value-of select="local-name()" />
</xsl:variable>
<TD>
<input type="text" name="{$CURNAME}" value="{.}" class="popupField"
readonly="readonly" />
</TD>
</xsl:for-each>
</TR>
</xsl:for-each>
</table>
<!-- </div> -->
<div class="popupFooter" id="popupFooter">
</div>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:variable name="DEFAULTCOL">
<xsl:value-of select="/DOCUMENTROOT/METADATA/DEFAULT_COL" />
</xsl:variable>
<xsl:variable name="TITLE">
<xsl:value-of select="/DOCUMENTROOT/METADATA/MSG_TITLE" />
</xsl:variable>
<xsl:variable name="COLDATATYPE">
<xsl:value-of select="/DOCUMENTROOT/METADATA/FIELD_TYPE" />
</xsl:variable>
<xsl:variable name="MULTIPLE_OPT">
<xsl:value-of select="/DOCUMENTROOT/METADATA/MULTIPLE_OPT" />
</xsl:variable>
<HTML>
<HEAD>
<script type="text/javascript" src="../js/cd_popquery.js"></script>
<script type="text/javascript" src="../js/CashMemo.js"></script>
<link rel="stylesheet" href="../css/cd_style.css" type="text/css" />
<TITLE>
<xsl:value-of select="$TITLE" />
</TITLE>
</HEAD>
<BODY onload="onLoadWindow()">
<!-- <table id="popupTable1" width="70%">
</table> -->
<!--
<div class="popupTable"> -->
<table id="popupTable" onchange="setFocuToPopHelp()">
<TR><td><input type = "button" value = "submit" name = "OK" onclick = "enterRefSer()"/> </td>
<td><input type="button" name="Quit" id="Quit" value="Close" onclick="quitBox()" /></td>
</TR>
<tr class="tableRowHeader">
<td style="width:40px"></td>
<xsl:for-each select="DOCUMENTROOT/GROUP0/HEADER0/DETAIL[1]/*">
<TD>
<b>
<xsl:value-of select="translate(local-name(),'_',' ')" />
</b>
</TD>
</xsl:for-each>
</tr>
<xsl:for-each select="DOCUMENTROOT/GROUP0/HEADER0/DETAIL">
<xsl:variable name="CURVALUE">
<xsl:value-of select="child::node()[position() = $DEFAULTCOL]" />
</xsl:variable>
<xsl:variable name="domIdRefSer">
<xsl:value-of select="@id" />
</xsl:variable>
<TR>
<TD style="width:40px">
<input type="radio" name="radio" id = "radiobx.{normalize-space($domIdRefSer)}" class = "radiobutton" onkeydown="return checkEvent(this,event)"
readonly="readonly" onblur="" style="width:20px" />
<!-- <input type="text" name="domid.{$domId}" id = "domid.{$domId}" value="{$domId}" style="width:20px" /> -->
</TD>
<!-- <td>onclick="onFocusFun(this)"
<input type="checkbox" name="chkbx"
onclick="return onFocusFun(this)" readonly="readonly" onblur="" style="width:20px" />
</td> -->
<xsl:for-each select="*">
<xsl:variable name="CURNAME">
<xsl:value-of select="local-name()" />
</xsl:variable>
<TD>
<input type="text" name="{$CURNAME}" value="{.}" class="popupField"
onkeydown="return checkEvent(this,event)" onfocus="return onFocusFun(this)"
readonly="readonly" onblur="onblurFunction(this)" />
</TD>
</xsl:for-each>
</TR>
</xsl:for-each>
</table>
<!-- </div> -->
<div class="popupFooter" id="popupFooter">
</div>
</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