Commit 1c59f6b3 authored by steurwadkar's avatar steurwadkar

Changes made for Group scheme in Sales Order html wizard screen

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@179810 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a1345aae
......@@ -32,6 +32,9 @@
{
color: #555 !important;
}
input:focus{
outline: none;
}
</style>
......@@ -50,16 +53,6 @@
]]>
</script>
<xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable>
<xsl:variable name="quantity"><xsl:value-of select="quantity"/></xsl:variable>
<xsl:variable name="item_descr"><xsl:value-of select="item_descr"/></xsl:variable>
<xsl:variable name="rate"><xsl:value-of select="rate"/></xsl:variable>
<xsl:variable name="discount"><xsl:value-of select="discount"/></xsl:variable>
<xsl:variable name="tax_class"><xsl:value-of select="tax_class"/></xsl:variable>
<xsl:variable name="tax_chap"><xsl:value-of select="tax_chap"/></xsl:variable>
<xsl:variable name="tax_env"><xsl:value-of select="tax_env"/></xsl:variable>
<xsl:variable name="nature"><xsl:value-of select="nature"/></xsl:variable>
<!-- <xsl:variable name="dbIDs"><xsl:value-of select="domId"/></xsl:variable> -->
......@@ -72,6 +65,9 @@
<tr class = "trClass">
<th class="tHeader" nowrap="true" style="width:50px;">
</th>
<th class="tHeader" nowrap="true" valign="bottom">
Scheme Code
</th>
<th class="tHeader" nowrap="true" valign="bottom">
Item Code
......@@ -79,34 +75,42 @@
<th class="tHeader" nowrap="true" valign="bottom">
Item Description
</th>
<th class="tHeader" nowrap="true" valign="bottom">
No. Of Free Quantities
<th class="tHeader" nowrap="true" valign="bottom" align="right">
Free Quantity
</th>
<th class="tHeader" style="width:230px;" nowrap="true" valign="bottom" >
Purchase Quantities
<th class="tHeader" style="width:230px;" nowrap="true" valign="bottom" align="right">
Free Quantity taken
</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="//Detail">
<xsl:variable name="domId"><xsl:value-of select="@domId"/></xsl:variable>
<xsl:variable name="domId"><xsl:value-of select="@domId"/></xsl:variable>
<tr class = "trClass" id="Detail2.{normalize-space($domId)}.rowID" value="{$domId}" >
<td>
<!-- <input type="checkbox" class="editInputClass editInputCur" name="quantity" id="quantity1"
style="width:100%;border:none;text-align: right; outline:none" maxlength="10" /> -->
<Input type='checkbox' class="editInputClass editInputCur messageCheckbox" value="{$domId}" name="Detail2.{normalize-space($domId)}.selectbox"
id="Detail2.{normalize-space($domId)}.selectbox" onclick="setChecked('{$domId}');" style="width:100%;border:none;text-align: right; outline:none" maxlength="10" />
id="Detail2.{normalize-space($domId)}.selectbox" onclick="setCheckedScheme('{$domId}');" style="width:100%;border:none;text-align: right; outline:none" maxlength="10" />
</td>
<td nowrap="true">
<input type="text" maxlength="4" readOnly = "1"
value="{applicable_scheme}" name="Detail2.{normalize-space($domId)}.applicable_scheme" id="Detail2.{normalize-space($domId)}.applicable_scheme"
style="width:100px;background-color: transparent;border: none;color:#666666;" tabindex="-1"/>
</td>
<td nowrap="true">
<input type="text" maxlength="4" readOnly = "1"
value="{item_code}" name="Detail2.{normalize-space($domId)}.item_code" id="Detail2.{normalize-space($domId)}.item_code"
style="width:150px;background-color: transparent;border: none;color:#666666;" tabindex="-1"/>
style="width:100px;background-color: transparent;border: none;color:#666666;" tabindex="-1"/>
</td>
......@@ -115,29 +119,29 @@
value="{item_descr}" name="Detail2.{normalize-space($domId)}.item_descr" id="Detail2.{normalize-space($domId)}.item_descr"
style="width:300px;background-color: transparent;border: none;color:#666666;" tabindex="-1"/>
</td>
<td nowrap="true">
<td nowrap="true" align="right">
<input type="text" maxlength="4" readOnly = "1"
value="{quantity}" name="Detail2.{normalize-space($domId)}.quantity" id="Detail2.{normalize-space($domId)}.quantity"
style="width:250px;background-color: transparent;border: none;color:#666666;" tabindex="-1"/>
value="{free_quantity}" name="free_quantity_{applicable_scheme}" id="Detail2.{normalize-space($domId)}.quantity"
style="width:40px;background-color: transparent;border: none;color:#666666;text-align:right;" tabindex="-1"/>
</td>
<td nowrap="true">
<input type="text" class="editInputClass editInputCur" value="" name="quantity" id="Detail2.{normalize-space($domId)}.disQty"
style="width:100%;border:none;text-align: right; outline:none font-size: 14px !important; " maxlength="10"
onchange='calAmount({$domId});' onclick = 'calTrue({$domId})' readonly = 'true' />
<td nowrap="true" align="right" style="padding:0px;">
<input type="text" class="editInputClass editInputCur" value="0" name="quantity_{applicable_scheme}" id="Detail2.{normalize-space($domId)}.disQty" onpaste="return false;" onkeypress="return isNumberKey(event);"
style="width:100%;height:100%;border:none;text-align: right; padding:0px 8px 0px 0px; outline:none font-size: 14px !important;text-align:right; " maxlength="10"
onchange="calAmount({$domId},'{applicable_scheme}');" onclick = 'calTrue({$domId});' readonly = 'true' />
</td>
<!-- <input type="hidden" value="{$item_code}" name="Detail2.{normalize-space($domId)}.item_code" id="Detail3.{normalize-space($domId)}.item_code" />
<input type="hidden" value="{$item_descr}" name="Detail2.{normalize-space($domId)}.item_descr" id="Detail3.{normalize-space($domId)}.item_descr" />
<input type="hidden" value="" name="Detail2.{normalize-space($domId)}.item_descr" id="Detail3.{normalize-space($domId)}.item_descr" />
-->
<input type="hidden" value="{rate}" name="Detail2.{normalize-space($domId)}.rate" id="Detail2.{normalize-space($domId)}.rate" />
<input type="hidden" value="{discount}" name="Detail2.{normalize-space($domId)}.discount" id="Detail2.{normalize-space($domId)}.discount" />
<input type="hidden" value="{tax_class}" name="Detail2.{normalize-space($domId)}.tax_class" id="Detail2.{normalize-space($domId)}.tax_class" />
<input type="hidden" value="{tax_chap}" name="Detail2.{normalize-space($domId)}.tax_chap" id="Detail2.{normalize-space($domId)}.tax_chap" />
<input type="hidden" value="{tax_env}" name="Detail2.{normalize-space($domId)}.tax_env" id="Detail2.{normalize-space($domId)}.tax_env" />
<input type="hidden" value="{nature}" name="Detail2.{normalize-space($domId)}.nature" id="Detail2.{normalize-space($domId)}.nature" />
<input type="hidden" value="{rate}" name="Detail2.{normalize-space($domId)}.rate" id="Detail2.{normalize-space($domId)}.rate" tabindex="-1" />
<input type="hidden" value="{discount}" name="Detail2.{normalize-space($domId)}.discount" id="Detail2.{normalize-space($domId)}.discount" tabindex="-1" />
<input type="hidden" value="{tax_class}" name="Detail2.{normalize-space($domId)}.tax_class" id="Detail2.{normalize-space($domId)}.tax_class" tabindex="-1" />
<input type="hidden" value="{tax_chap}" name="Detail2.{normalize-space($domId)}.tax_chap" id="Detail2.{normalize-space($domId)}.tax_chap" tabindex="-1" />
<input type="hidden" value="{tax_env}" name="Detail2.{normalize-space($domId)}.tax_env" id="Detail2.{normalize-space($domId)}.tax_env" tabindex="-1" />
<input type="hidden" value="{nature}" name="Detail2.{normalize-space($domId)}.nature" id="Detail2.{normalize-space($domId)}.nature" tabindex="-1" />
</tr>
......
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