Commit 5b537915 authored by smestry's avatar smestry

W15LKAT004, Changed the xsl file for product creation edit.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101339 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5aa2591b
......@@ -5,7 +5,11 @@
<xsl:template match="/">
<html>
<head>
<meta charset="utf-8" />
</head>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Edit.js"></script>
......@@ -68,11 +72,18 @@
document.getElementById(value).style.pointerEvents = 'none';
document.getElementById("action").value = value;
}
]]>
</script>
<body onload="getAppDateFormat()">
<form name="prodWizEditFormIII" id="prodWizEditFormIII" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet"> <!-- -->
<!-- Changed by Sneha on 30-03-2016, to capture maximum rows added [Start] -->
<input type="hidden" id="rowId" />
<input type="hidden" id="maxRowId" />
<!-- Changed by Sneha on 30-03-2016, to capture maximum rows added [End] -->
<div class="mainPage-Container" style="height: 100%;">
<strong>Product Description : </strong>
......@@ -87,8 +98,9 @@
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:if test="$dbID = '0'">
<input type="hidden" name="Detail3.{normalize-space($dbID)}.login_code" id ="login_code" value="{$login_code}" ISCHANGED="false"/>
<input type="hidden" name="Detail3.{normalize-space($dbID)}.login_code" id ="Detail3.{normalize-space($dbID)}.login_code" value="{$login_code}" ISCHANGED="false"/>
<input type="hidden" value="{$supp_code}" name="Detail3.{normalize-space($dbID)}.supp_code" id="Detail3.{normalize-space($dbID)}.supp_code" />
<input type="hidden" value="{$supp_descr}" name="Detail3.{normalize-space($dbID)}.supp_descr" id="Detail3.{normalize-space($dbID)}.supp_descr" />
<input type="hidden" value="{$site_code}" name="Detail3.{normalize-space($dbID)}.site_code" id="Detail3.{normalize-space($dbID)}.site_code" />
......@@ -96,10 +108,13 @@
<!-- Added by parikshit kumbhar on 08/07/15 [to set date format] start -->
<input type="hidden" value="{$date_format}" name="Detail3.{normalize-space($dbID)}.date_format" id="date_format" />
<!-- Added by parikshit kumbhar on 08/07/15 [to set date format] end-->
</xsl:if>
</xsl:for-each>
</div>
<div style="height: 78%; overflow: auto; margin-top: 8px;" id="detail">
<table id="SKUItemId" cellspacing="0" width="100%">
<thead>
......@@ -128,6 +143,7 @@
</tr>
</thead>
<tbody class='table-body fadeInDown'>
<xsl:for-each select="//Detail3">
<xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable>
<xsl:variable name="descr"><xsl:value-of select="descr"/></xsl:variable>
......@@ -171,8 +187,16 @@
<xsl:variable name="usage_type"><xsl:value-of select="usage_type"/></xsl:variable> <!--limited edition-->
<xsl:variable name="catalog_no"><xsl:value-of select="catalog_no"/></xsl:variable> <!--Stop purchase-->
<!--added by samadhan on 23/12/2015 for brand,limited edition and stop purchase end-->
<xsl:if test="$dbIDs > '0'">
<!-- Changed by Sneha on 30-03-2016, maximum no of rows [Start] -->
<SCRIPT>
<![CDATA[ var qtyR; qtyR ="]]> <xsl:value-of select="$dbIDs"/>
<![CDATA[";maxId= qtyR; ]]>
</SCRIPT>
<!-- Changed by Sneha on 30-03-2016, maximum no of rows [End] -->
<tr>
<td>
<xsl:choose>
......@@ -409,7 +433,12 @@
<!-- <input type="submit" style="cursor:hand" class="button" value="Previous" title='Previous' onclick="javascript:setActionVal('previous');"/> -->
<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] -->
<input type="button" style="cursor:hand" class="button red-Btn pophelp-okcancel" value="Add Item" title='Add Item' onclick="javascript:addItem()"/>
<!--<input type="submit" style="cursor:hand" class="button" value="Validate" title='Validate' onclick="javascript:return checkSKUValidation('finish');"/>
Changed by Sneha on 30-03-2016, to add new row [End] -->
</td>
</tr>
</table>
......@@ -563,4 +592,4 @@
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
</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