Commit 306bc552 authored by caluka's avatar caluka

updated xsl for Pophelp for requirement wizard transaction


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95689 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 266b9055
......@@ -162,11 +162,11 @@
</td>
<td class="td_leftAlign" align="left" >
<input type="text" name="Detail2.{normalize-space($dbID)}.item_descr" id="Detail2.{normalize-space($dbID)}.item_descr" value="{$item_descr}" size="20" ISCHANGED="true"/>
<input type="text" name="Detail2.{normalize-space($dbID)}.item_descr" id="Detail2.{normalize-space($dbID)}.item_descr" value="{$item_descr}" size="20" ISCHANGED="true" readonly="readonly"/>
</td>
<td class="td_leftAlign" align="left" >
<input type="text" name="Detail2.{normalize-space($dbID)}.unit" id="Detail2.{normalize-space($dbID)}.unit" value="{$unit}" size="5" ISCHANGED="true"/>
<input type="text" name="Detail2.{normalize-space($dbID)}.unit" id="Detail2.{normalize-space($dbID)}.unit" value="{$unit}" size="5" ISCHANGED="true" readonly="readonly"/>
</td>
<td class="td_leftAlign" align="left" >
......
......@@ -136,6 +136,9 @@
<td width="2%" class="header_td" nowrap="true" valign="bottom">
<strong>Item Code</strong>
</td>
<td width="5%" class="header_td" nowrap="true" valign="bottom">
<strong>Description</strong>
</td>
<td width="4%" class="header_td" nowrap="true" valign="bottom">
<strong>Supp Source</strong>
</td>
......@@ -213,9 +216,7 @@
<td width="5%" class="header_td" nowrap="true" valign="bottom">
<strong>MFG Lead Time</strong>
</td>
<td width="5%" class="header_td" nowrap="true" valign="bottom">
<strong>Description</strong>
</td>
<td width="5%" class="header_td" nowrap="true" valign="bottom">
<strong>Stock Qty</strong>
</td>
......@@ -253,7 +254,9 @@
<xsl:variable name="item_code">
<xsl:value-of select="item_code" />
</xsl:variable>
<xsl:variable name="description">
<xsl:value-of select="description" />
</xsl:variable>
<xsl:variable name="supp_sour">
<xsl:value-of select="supp_sour" />
</xsl:variable>
......@@ -329,9 +332,7 @@
<xsl:variable name="mfg_lead_time">
<xsl:value-of select="mfg_lead_time" />
</xsl:variable>
<xsl:variable name="description">
<xsl:value-of select="description" />
</xsl:variable>
<xsl:variable name="stock_qty">
<xsl:value-of select="stock_qty" />
</xsl:variable>
......@@ -384,7 +385,12 @@
value="{$item_code}" size="10" ISCHANGED="false" />
<xsl:value-of select="item_code" />
</td>
<td class="td_leftAlign" align="left">
<input type="hidden"
name="Detail3.{normalize-space($dbID)}.description" id="Detail3.{normalize-space($dbID)}.description"
value="{$description}" size="10" ISCHANGED="false" />
<xsl:value-of select="description" />
</td>
<td class="td_leftAlign" align="left">
<input type="hidden" name="Detail3.{normalize-space($dbID)}.supp_sour"
id="Detail3.{normalize-space($dbID)}.supp_sour" value="{$supp_sour}"
......@@ -539,12 +545,7 @@
size="04" ISCHANGED="false" />
<xsl:value-of select="mfg_lead_time" />
</td>
<td class="td_leftAlign" align="left">
<input type="hidden"
name="Detail3.{normalize-space($dbID)}.description" id="Detail3.{normalize-space($dbID)}.description"
value="{$description}" size="10" ISCHANGED="false" />
<xsl:value-of select="description" />
</td>
<td class="td_leftAlign" style="text-align:right">
<input type="hidden" name="Detail3.{normalize-space($dbID)}.stock_qty"
id="Detail3.{normalize-space($dbID)}.stock_qty" value="{$stock_qty}"
......
......@@ -44,8 +44,6 @@ function setItemFromPophelp()
itemCode = document.getElementById("DetailActCode."+dbID+".ITEM_CODE").value;
itemDescr = document.getElementById("DetailActCode."+dbID+".ITEM_DESCR").value;
unit= document.getElementById("DetailActCode."+dbID+".UNIT").value;
batchreq= document.getElementById("DetailActCode."+dbID+".no_of_batch").value;
quantity1= document.getElementById("DetailActCode."+dbID+".quantity").value;
detail2dom= document.getElementById("DetailActCode."+dbID+".DOMID").value;
bomCode = document.getElementById("DetailActCode."+dbID+".BOM_CODE").value;
......@@ -61,8 +59,6 @@ function setItemFromPophelp()
window.opener.setItemCode(seldbID, itemCode,detail2dom);
window.opener.setItemDescr(seldbID, itemDescr,detail2dom);
window.opener.setUnit(seldbID, unit,detail2dom);
window.opener.setBatchReq(seldbID, batchreq,detail2dom);
window.opener.setQuantity(seldbID, quantity1,detail2dom);
window.opener.setBomCode(seldbID, bomCode,detail2dom);
window.close();
......@@ -136,7 +132,7 @@ function setChecked( obj )
<tr>
<td>
<input type="text" class="input_editable" size="15" name="SEARCH_ITEM" id="SEARCH_ITEM" maxlength="10" ISCHANGED="false" onblur="return upperCase(this.id)" />
<input type="text" class="input_editable" size="10" name="SEARCH_ITEM" id="SEARCH_ITEM" maxlength="10" ISCHANGED="false" onblur="return upperCase(this.id)" />
</td>
......@@ -173,13 +169,6 @@ function setChecked( obj )
<td class="header_td" nowrap="true" valign="bottom" width="20%">
<strong>Unit</strong>
</td>
<td width="10%" class="header_td" nowrap="true" valign="bottom">
<strong>Batch Req</strong>
</td>
<td width="10%" class="header_td" nowrap="true" valign="bottom">
<strong>Quantity</strong>
</td>
<td width="10%" class="header_td" nowrap="true" valign="bottom">
<strong>Bom Code</strong>
</td>
......@@ -191,8 +180,6 @@ function setChecked( obj )
<xsl:variable name="ITEM_DESCR"><xsl:value-of select="ITEM_DESCR"/></xsl:variable>
<xsl:variable name="UNIT"><xsl:value-of select="UNIT"/></xsl:variable>
<xsl:variable name="DOMID"><xsl:value-of select="DOMID"/></xsl:variable>
<xsl:variable name="no_of_batch"><xsl:value-of select="no_of_batch"/></xsl:variable>
<xsl:variable name="quantity"><xsl:value-of select="quantity"/></xsl:variable>
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<xsl:variable name="BOM_CODE"><xsl:value-of select="BOM_CODE"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
......@@ -232,16 +219,6 @@ function setChecked( obj )
<xsl:value-of select="UNIT"/>
<input type="hidden" name="Detail4.{normalize-space($dbID)}.UNIT" id = "DetailActCode.{normalize-space($dbID)}.UNIT" value="{normalize-space($UNIT)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
<td class="td_leftAlign">
<xsl:value-of select="no_of_batch"/>
<input type="hidden" name="Detail4.{normalize-space($dbID)}.no_of_batch" id = "DetailActCode.{normalize-space($dbID)}.no_of_batch" value="{normalize-space($no_of_batch)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
<td class="td_leftAlign">
<xsl:value-of select="quantity"/>
<input type="hidden" name="Detail4.{normalize-space($dbID)}.quantity" id = "DetailActCode.{normalize-space($dbID)}.quantity" value="{normalize-space($quantity)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
</td>
<td class="td_leftAlign">
<xsl:value-of select="BOM_CODE"/>
<input type="hidden" name="Detail4.{normalize-space($dbID)}.BOM_CODE" id = "DetailActCode.{normalize-space($dbID)}.BOM_CODE" value="{normalize-space($BOM_CODE)}" size="20" class="fieldcell_items" ISCHANGED="false"/>
......
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