Commit 376b3e99 authored by wansari's avatar wansari

W16EKAT001 updated xsl for Tax chapter on head


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@102849 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 30267d9c
......@@ -126,6 +126,9 @@
<!--Added by wasim on 14-07-2015 to get login site code [START] -->
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<!--Added by wasim on 14-07-2015 to get login site code [START] -->
<!--Added by wasim on 14-07-2015 to get login site code [START] -->
<xsl:variable name="tax_chap"><xsl:value-of select="tax_chap"/></xsl:variable>
<!--Added by wasim on 14-07-2015 to get login site code [START] -->
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.login_code" id="Detail1.{normalize-space($dbID)}.login_code"
......@@ -526,6 +529,29 @@
<input type="text" class="editInputClass" value="{$pur_lead_time}" name="Detail1.{normalize-space($dbID)}.pur_lead_time"
id="Detail1.{normalize-space($dbID)}.pur_lead_time" maxlength="4" style='text-align: right; width: 90%' onchange='return isNumeric1(this)' />
</td>
</tr>
<!--Added by Parikshit Kumbhar on 26/05/2015 [Added Tax field] END -->
<!-- Ends.. -->
<!-- Changed by wasim on 27-07-2016 to add tax chapter [START] -->
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Tax Chapter :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 88%;">
<input type="text" class="editInputClass" value="{$tax_chap}" name="Detail1.{normalize-space($dbID)}.tax_chap"
id="Detail1.{normalize-space($dbID)}.tax_chap" maxlength="10" ISCHANGED="false" readOnly = "1"
onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbID)}','{normalize-space($login_code)}','tax_chap', 'Tax Chapter', 0);"
style="width: 95%;"/>
<div style="width:3%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($site_code)}','tax_chap', 'Tax Chapter', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.tax_chap_pophelp" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -4px;" title="Select Tax Chapter" />
</a>
</div>
</div>
</td>
<td class="td_rightAlign" colspan="2">
<strong>Tax* :</strong><!--Changed by Parikshit Kumbhar on 22/06/2015 [D15CKAT031] [* added] -->
......@@ -539,13 +565,12 @@
<div style="width:3%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','tax', 'Tax Codes', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.tax_desc_pophelp" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Tax Codes" />
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -2px;" title="Select Tax Codes" />
</a>
</div>
</td>
</tr>
<!--Added by Parikshit Kumbhar on 26/05/2015 [Added Tax field] END -->
<!-- Ends.. -->
<!-- Changed by wasim on 27-07-2016 to add tax chapter [END] -->
<tr>
<td class="td_leftAlign" nowrap="true">
......
......@@ -72,6 +72,7 @@
{ width: 150, align: 'left' },
{ width: 150, align: 'left' },
{ width: 250, align: 'left' },
{ width: 120, align: 'center' },
{ width: 120, align: 'center' },
{ width: 80, align: 'center' },
{ width: 80, align: 'center' },
......@@ -182,6 +183,10 @@
<xsl:variable name="brand_descr"><xsl:value-of select="brand_descr"/></xsl:variable><!--brand descr-->
<!-- Added by Samadhan on 21/12/2015 [to set Size Discription Grid, limited edition,brand, brand descr] start -->
<!--Changed by wasim on 05-08-2016 for tac chapter [START]-->
<xsl:variable name="tax_chap"><xsl:value-of select="tax_chap"/></xsl:variable>
<!--Changed by wasim on 05-08-2016 for tac chapter [END]-->
<xsl:if test="$dbID = '0'">
<input type="hidden" name="Detail2.{normalize-space($dbID)}.login_code" id ="login_code" value="{$login_code}" ISCHANGED="false"/>
......@@ -287,6 +292,9 @@
<!--Changed by wasim on 15-03-2016 to set site code for prevoius button [START]-->
<input type="hidden" value="{site_code}" name="Detail2.{normalize-space($dbID)}.site_code" id="site_code" />
<!--Changed by wasim on 15-03-2016 to set site code for prevoius button [END]-->
<!--Changed by wasim on 15-03-2016 to set tax_chap for prevoius button [START]-->
<input type="hidden" value="{$tax_chap}" name="Detail2.{normalize-space($dbID)}.tax_chap" id="tax_chap" />
<!--Changed by wasim on 15-03-2016 to set tax_chap for prevoius button [END]-->
</xsl:if>
</xsl:for-each>
</div>
......@@ -313,6 +321,7 @@
<th>Category</th>
<th>Tax</th> <!--Added by Parikshit Kumbhar on 26/05/2015 [Added Tax field in SKU] -->
<th>Tax&#160;Chapter</th> <!-- Added by wasim on 27-07-2016 -->
<th>Length</th>
<th>Width</th>
<th>Height</th>
......@@ -366,6 +375,11 @@
<!--Changed by wasim on 14-07-2015 to get login site code [START] -->
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<!--Changed by wasim on 14-07-2015 to get login site code [START] -->
<!--Changed by wasim on 27-07-2016 for tax chapter [START] -->
<xsl:variable name="tax_chap"><xsl:value-of select="tax_chap"/></xsl:variable>
<!--Changed by wasim on 27-07-2016 for tax chapter [END] -->
<xsl:if test="$dbIDs > '0'">
<tr>
<td >
......@@ -450,6 +464,25 @@
</a>
</div>
</td>
<!--Changed by wasim on 27-07-2016 for tax chapter [START] -->
<td >
<input type="hidden" value="{$tax_chap}" name="Detail2.{normalize-space($dbIDs)}.tax_chap"
id="Detail2.{normalize-space($dbIDs)}.tax_chap" maxlength="10"/>
<div style="float:left;width: 85%;" id="tax_chap.{normalize-space($dbIDs)}" contenteditable="true" onkeypress="return false;"
onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbIDs)}','0','tax_chapII', 'Tax Chapter', '{normalize-space($dbIDs)}');">
<xsl:value-of select="tax_chap"/>
</div>
<div style="float:right;position:relative; width: 8%;">
<a href="javascript:callListJSP('{normalize-space($dbIDs)}','0','tax_chapII', 'Tax Chapter', '{normalize-space($dbIDs)}');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Tax Chapter" />
</a>
</div>
</td>
<!--Changed by wasim on 27-07-2016 for tax chapter [END] -->
<!--Added by Parikshit Kumbhar on 26/05/2015 [Added Tax field in SKU] End-->
<td >
<input type="text" class="editInputClass" size="8" value="{$item_length}" name="Detail2.{normalize-space($dbIDs)}.item_length"
......
......@@ -117,6 +117,10 @@ function setActionVal( value )
<xsl:variable name="attr_value"><xsl:value-of select="attr_value"/></xsl:variable>
<!--Changed by Sneha on 07-07-2016, for item parent description [End] -->
<!--Changed by wasim on 02-08-2016 for tax chapter [START]-->
<xsl:variable name="tax_chap"><xsl:value-of select="tax_chap"/></xsl:variable>
<!--Changed by wasim on 02-08-2016 for tax chapter [END]-->
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<input type="hidden" name="Detail2.{normalize-space($dbID)}.login_code" id="Detail2.{normalize-space($dbID)}.login_code"
......@@ -378,6 +382,29 @@ function setActionVal( value )
id="Detail2.{normalize-space($dbID)}.tax" maxlength="10" ISCHANGED="false" readOnly = "1"/>
</td>
</tr>
<!-- Changed by wasim on 03-08-2016 for tax chapter [START] -->
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Tax Chapter :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 88%;">
<input type="text" class="editInputClass" value="{$tax_chap}" name="Detail2.{normalize-space($dbID)}.tax_chap"
id="Detail2.{normalize-space($dbID)}.tax_chap" maxlength="10" ISCHANGED="false" readOnly = "1"
onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbID)}','0','tax_chap', 'Tax Chapter', '0');"
style="width: 95%;" onkeypress="return disableEnter()"/>
<div style="width:3%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','0','tax_chap', 'Tax Chapter', '0');"
style="float: left;text-decoration: none;" id="Detail2.{normalize-space($dbID)}.tax_chap_pophelp"
onkeypress="return disableEnter()" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Tax Chapter" />
</a>
</div>
</div>
</td>
</tr>
<!-- Changed by wasim on 03-08-2016 for tax chapter [END] -->
<tr style="height: 10px;">
</tr>
......
......@@ -42,6 +42,7 @@
{ width: 150, align: 'left' },
{ width: 250, align: 'left' },
{ width: 120, align: 'center' },
{ width: 120, align: 'center' },/* Changed by wasim on 02-08-2016 for tax chapter*/
{ width: 80, align: 'center' },
{ width: 80, align: 'center' },
{ width: 80, align: 'center' },
......@@ -137,6 +138,7 @@
<th>Category</th>
<th>Tax</th>
<th>Tax&#160;Chapter</th>
<th>Length</th>
<th>Width</th>
<th>Height</th>
......@@ -198,6 +200,10 @@
<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-->
<!--Changed by wasim on 02-08-2016 for tax chapter [START]-->
<xsl:variable name="tax_chap"><xsl:value-of select="tax_chap"/></xsl:variable>
<!--Changed by wasim on 02-08-2016 for tax chapter [END]-->
<xsl:if test="$dbIDs > '0'">
<!-- Changed by Sneha on 30-03-2016, maximum no of rows [Start] -->
......@@ -350,6 +356,25 @@
</div>
</td>
<!-- Changed by wasim on 02-08-2016 for tax chapter [START] -->
<td>
<input type="hidden" value="{$tax_chap}" name="Detail3.{normalize-space($dbIDs)}.tax_chap"
id="Detail3.{normalize-space($dbIDs)}.tax_chap" maxlength="10"/>
<div style="float:left;width: 85%;" id="tax_chap.{normalize-space($dbIDs)}" contenteditable="true" onkeypress="return false;"
onkeydown="javascript:openSearchPopup(event, '{normalize-space($dbIDs)}','0','tax_chapII', 'Tax Chapter', '{normalize-space($dbIDs)}');">
<xsl:value-of select="tax_chap"/>
</div>
<div style="float:right;position:relative; width: 8%;">
<a href="javascript:callListJSP('{normalize-space($dbIDs)}','0','tax_chapII', 'Tax Chapter', '{normalize-space($dbIDs)}');"
style="float: left;text-decoration: none;" id="Detail3.{normalize-space($dbIDs)}.tax_chap_pophelp" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Tax Chapter" />
</a>
</div>
</td>
<!-- Changed by wasim on 02-08-2016 for tax chapter [START] -->
<td >
<input type="text" class="editInputClass" value="{$length}" name="Detail3.{normalize-space($dbIDs)}.length"
id="Detail3.{normalize-space($dbIDs)}.length" maxlength="11" style='text-align: right; width: 100%'
......
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