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 @@ ...@@ -126,6 +126,9 @@
<!--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="site_code"><xsl:value-of select="site_code"/></xsl:variable> <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] -->
<!--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> <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" <input type="hidden" name="Detail1.{normalize-space($dbID)}.login_code" id="Detail1.{normalize-space($dbID)}.login_code"
...@@ -526,7 +529,30 @@ ...@@ -526,7 +529,30 @@
<input type="text" class="editInputClass" value="{$pur_lead_time}" name="Detail1.{normalize-space($dbID)}.pur_lead_time" <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)' /> id="Detail1.{normalize-space($dbID)}.pur_lead_time" maxlength="4" style='text-align: right; width: 90%' onchange='return isNumeric1(this)' />
</td> </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"> <td class="td_rightAlign" colspan="2">
<strong>Tax* :</strong><!--Changed by Parikshit Kumbhar on 22/06/2015 [D15CKAT031] [* added] --> <strong>Tax* :</strong><!--Changed by Parikshit Kumbhar on 22/06/2015 [D15CKAT031] [* added] -->
...@@ -539,13 +565,12 @@ ...@@ -539,13 +565,12 @@
<div style="width:3%; float: right;"> <div style="width:3%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','tax', 'Tax Codes', 0);" <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" > 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> </a>
</div> </div>
</td> </td>
</tr> </tr>
<!--Added by Parikshit Kumbhar on 26/05/2015 [Added Tax field] END --> <!-- Changed by wasim on 27-07-2016 to add tax chapter [END] -->
<!-- Ends.. -->
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_leftAlign" nowrap="true">
......
...@@ -73,6 +73,7 @@ ...@@ -73,6 +73,7 @@
{ width: 150, align: 'left' }, { width: 150, align: 'left' },
{ width: 250, align: 'left' }, { width: 250, align: 'left' },
{ width: 120, align: 'center' }, { width: 120, align: 'center' },
{ width: 120, align: 'center' },
{ width: 80, align: 'center' }, { width: 80, align: 'center' },
{ width: 80, align: 'center' }, { width: 80, align: 'center' },
{ width: 80, align: 'center' }, { width: 80, align: 'center' },
...@@ -182,6 +183,10 @@ ...@@ -182,6 +183,10 @@
<xsl:variable name="brand_descr"><xsl:value-of select="brand_descr"/></xsl:variable><!--brand descr--> <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 --> <!-- 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'"> <xsl:if test="$dbID = '0'">
<input type="hidden" name="Detail2.{normalize-space($dbID)}.login_code" id ="login_code" value="{$login_code}" ISCHANGED="false"/> <input type="hidden" name="Detail2.{normalize-space($dbID)}.login_code" id ="login_code" value="{$login_code}" ISCHANGED="false"/>
...@@ -287,6 +292,9 @@ ...@@ -287,6 +292,9 @@
<!--Changed by wasim on 15-03-2016 to set site code for prevoius button [START]--> <!--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" /> <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 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:if>
</xsl:for-each> </xsl:for-each>
</div> </div>
...@@ -313,6 +321,7 @@ ...@@ -313,6 +321,7 @@
<th>Category</th> <th>Category</th>
<th>Tax</th> <!--Added by Parikshit Kumbhar on 26/05/2015 [Added Tax field in SKU] --> <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>Length</th>
<th>Width</th> <th>Width</th>
<th>Height</th> <th>Height</th>
...@@ -366,6 +375,11 @@ ...@@ -366,6 +375,11 @@
<!--Changed by wasim on 14-07-2015 to get login site code [START] --> <!--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> <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 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'"> <xsl:if test="$dbIDs > '0'">
<tr> <tr>
<td > <td >
...@@ -450,6 +464,25 @@ ...@@ -450,6 +464,25 @@
</a> </a>
</div> </div>
</td> </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--> <!--Added by Parikshit Kumbhar on 26/05/2015 [Added Tax field in SKU] End-->
<td > <td >
<input type="text" class="editInputClass" size="8" value="{$item_length}" name="Detail2.{normalize-space($dbIDs)}.item_length" <input type="text" class="editInputClass" size="8" value="{$item_length}" name="Detail2.{normalize-space($dbIDs)}.item_length"
......
...@@ -117,6 +117,10 @@ function setActionVal( value ) ...@@ -117,6 +117,10 @@ function setActionVal( value )
<xsl:variable name="attr_value"><xsl:value-of select="attr_value"/></xsl:variable> <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 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> <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" <input type="hidden" name="Detail2.{normalize-space($dbID)}.login_code" id="Detail2.{normalize-space($dbID)}.login_code"
...@@ -378,6 +382,29 @@ function setActionVal( value ) ...@@ -378,6 +382,29 @@ function setActionVal( value )
id="Detail2.{normalize-space($dbID)}.tax" maxlength="10" ISCHANGED="false" readOnly = "1"/> id="Detail2.{normalize-space($dbID)}.tax" maxlength="10" ISCHANGED="false" readOnly = "1"/>
</td> </td>
</tr> </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 style="height: 10px;">
</tr> </tr>
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
{ width: 150, align: 'left' }, { width: 150, align: 'left' },
{ width: 250, align: 'left' }, { width: 250, align: 'left' },
{ width: 120, align: 'center' }, { 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' }, { width: 80, align: 'center' },
{ width: 80, align: 'center' }, { width: 80, align: 'center' },
...@@ -137,6 +138,7 @@ ...@@ -137,6 +138,7 @@
<th>Category</th> <th>Category</th>
<th>Tax</th> <th>Tax</th>
<th>Tax&#160;Chapter</th>
<th>Length</th> <th>Length</th>
<th>Width</th> <th>Width</th>
<th>Height</th> <th>Height</th>
...@@ -197,7 +199,11 @@ ...@@ -197,7 +199,11 @@
<xsl:variable name="usage_type"><xsl:value-of select="usage_type"/></xsl:variable> <!--limited edition--> <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--> <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--> <!--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'"> <xsl:if test="$dbIDs > '0'">
<!-- Changed by Sneha on 30-03-2016, maximum no of rows [Start] --> <!-- Changed by Sneha on 30-03-2016, maximum no of rows [Start] -->
...@@ -350,6 +356,25 @@ ...@@ -350,6 +356,25 @@
</div> </div>
</td> </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 > <td >
<input type="text" class="editInputClass" value="{$length}" name="Detail3.{normalize-space($dbIDs)}.length" <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%' 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