Commit 0821c7a3 authored by smestry's avatar smestry

Updated the xsl for product wizard edit and add


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@102348 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ae567667
...@@ -76,6 +76,9 @@ ...@@ -76,6 +76,9 @@
]]> ]]>
</script> </script>
<body onload="getAppDateFormat()"> <body onload="getAppDateFormat()">
<!-- Changed by Sneha on 30-03-2016, to capture maximum rows added [Start]
<body onload="setItemDescrOnload()">
Changed by Sneha on 30-03-2016, to capture maximum rows added [End] -->
<form name="prodWizEditFormIII" id="prodWizEditFormIII" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet"> <!-- --> <form name="prodWizEditFormIII" id="prodWizEditFormIII" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet"> <!-- -->
<!-- Changed by Sneha on 30-03-2016, to capture maximum rows added [Start] --> <!-- Changed by Sneha on 30-03-2016, to capture maximum rows added [Start] -->
...@@ -121,6 +124,7 @@ ...@@ -121,6 +124,7 @@
<tr> <tr>
<!-- <th><input type='checkbox' id='Detail3.0.selectbox' onclick='checkAllSKUItem(this)' checked='1'/></th> --> <!-- <th><input type='checkbox' id='Detail3.0.selectbox' onclick='checkAllSKUItem(this)' checked='1'/></th> -->
<th>Item&#160;Code</th> <th>Item&#160;Code</th>
<!-- <th>Edit&#160;Description</th> Changed by Sneha on 01-07-2016, to edit the item description -->
<th>Item&#160;Description</th> <th>Item&#160;Description</th>
<th>Limited&#160;Edi.</th> <th>Limited&#160;Edi.</th>
<th>Stop&#160;buy</th> <th>Stop&#160;buy</th>
...@@ -152,6 +156,7 @@ ...@@ -152,6 +156,7 @@
<xsl:for-each select="//Detail3"> <xsl:for-each select="//Detail3">
<xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable> <xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable>
<xsl:variable name="descr"><xsl:value-of select="descr"/></xsl:variable> <xsl:variable name="descr"><xsl:value-of select="descr"/></xsl:variable>
<!-- <xsl:variable name="editDescr"><xsl:value-of select="editDescr"/></xsl:variable> Changed by Sneha on 01-07-2016, to edit the item description -->
<xsl:variable name="phy_attrib_1"><xsl:value-of select="phy_attrib_1"/></xsl:variable> <xsl:variable name="phy_attrib_1"><xsl:value-of select="phy_attrib_1"/></xsl:variable>
<xsl:variable name="phy_attrib_2"><xsl:value-of select="phy_attrib_2"/></xsl:variable> <xsl:variable name="phy_attrib_2"><xsl:value-of select="phy_attrib_2"/></xsl:variable>
<xsl:variable name="phy_attrib_3"><xsl:value-of select="phy_attrib_3"/></xsl:variable> <xsl:variable name="phy_attrib_3"><xsl:value-of select="phy_attrib_3"/></xsl:variable>
...@@ -217,6 +222,12 @@ ...@@ -217,6 +222,12 @@
<xsl:value-of select="item_code"/> <xsl:value-of select="item_code"/>
</td> </td>
<!-- Changed by Sneha on 01-07-2016, to edit the item description [Start]
<td>
<div id="Detail3.{normalize-space($dbIDs)}.editDescr"></div>
</td>
Changed by Sneha on 01-07-2016, to edit the item description [End] -->
<td> <td>
<input type="text" class="editInputClass" value="{$descr}" name="Detail3.{normalize-space($dbIDs)}.descr" <input type="text" class="editInputClass" value="{$descr}" name="Detail3.{normalize-space($dbIDs)}.descr"
id="Detail3.{normalize-space($dbIDs)}.descr" maxlength="90" style="width: 100%;" ISCHANGED='false' readOnly = '1' /> id="Detail3.{normalize-space($dbIDs)}.descr" maxlength="90" style="width: 100%;" ISCHANGED='false' readOnly = '1' />
...@@ -424,7 +435,7 @@ ...@@ -424,7 +435,7 @@
</table> </table>
</div> </div>
<table> <table width="100%">
<tr> <tr>
<td colspan="2"> <td colspan="2">
<input type="hidden" value="3" name="FORM_NO" ID="FORM_NO" /> <input type="hidden" value="3" name="FORM_NO" ID="FORM_NO" />
...@@ -439,13 +450,13 @@ ...@@ -439,13 +450,13 @@
<input type="submit" style="cursor:hand" class="button" value="Finish" title='Finish' id="finish" onclick="javascript:return checkSKUValidation('finish');"/> <input type="submit" style="cursor:hand" class="button" value="Finish" title='Finish' id="finish" onclick="javascript:return checkSKUValidation('finish');"/>
<!-- Changed by Sneha on 30-03-2016, to add new row [Start] --> <!-- Changed by Sneha on 30-03-2016, to add new row and delete the row [Start] -->
<div style="float:right;position:relative;">
<input type="button" style="cursor:hand; float: right; " class="button green-Btn pophelp-okcancel" value="Add Item" title='Add Item' onclick="javascript:addItem()"/>
<input type="button" style="cursor:hand; float: right;" class="button red-Btn pophelp-okcancel" value="Delete Item" title='Delete Item' onclick="javascript:deleteItem(maxRowId)"/> <input type="button" style="cursor:hand; float:right; margin-right: 15px;" class="button" value="Delete" title='Delete' id="delete" onclick="javascript:deleteItem(maxRowId)"/>
</div>
<!-- Changed by Sneha on 30-03-2016, to add new row [End] --> <input type="button" style="cursor:hand; float:right;" class="button" value="Add" title='Add' id="add" onclick="javascript:return checkSKUValidation('add');"/>
<!-- Changed by Sneha on 30-03-2016, to add new row and delete the row [End] javascript:addItem()-->
</td> </td>
</tr> </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