Commit dcae34f0 authored by kdabholkar's avatar kdabholkar

commited new changes regarding scheme point

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@179610 ce508802-f39f-4f6c-b175-0d175dae99d5
parent fb306f45
...@@ -25,24 +25,6 @@ ...@@ -25,24 +25,6 @@
<script language="Javascript" src="/ibase/webitm/js/jquery.datetimepicker.full.js"></script> <script language="Javascript" src="/ibase/webitm/js/jquery.datetimepicker.full.js"></script>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/jquery.datetimepicker.css"/> <link type="text/css" rel="stylesheet" href="/ibase/webitm/css/jquery.datetimepicker.css"/>
<script>
<![CDATA[
$(function()
{
var isResetFromOther = localStorage.getItem('isResetFromOther');
console.log("isresetValue"+isResetFromOther);
if(isResetFromOther == 'true')
{
resetHeader();
localStorage.removeItem('isResetFromOther');
}
});
]]>
</script>
<style type="text/css"> <style type="text/css">
.editDisplayClass{ .editDisplayClass{
...@@ -55,9 +37,9 @@ border:none; ...@@ -55,9 +37,9 @@ border:none;
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/> <link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/sorderWiz.css"/> <link type="text/css" rel="stylesheet" href="/ibase/webitm/css/sorderWiz.css"/>
<body onload="pageLoadHeader();"> <body onload="pageLoadHeader();">
<!-- <form name="sorderWizFormI" id = "sorderWizFormI" onkeypress="return event.keyCode != 13" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet" style="background-color: #f7f8fa;"> --> <form name="sorderWizFormI" id = "sorderWizFormI" onkeypress="return event.keyCode != 13" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet" style="background-color: #f7f8fa;">
<form name="sorderWizFormI" id = "sorderWizFormI" onkeypress="myFunction(event)" onload="myFunction(event)" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet" style="background-color: #f7f8fa;">
<TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;"> <TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<TR> <TR>
<div class='contentHeaderLbl'><img src="/ibase/images/menuImages/web/salesorder.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/> <div class='contentHeaderLbl'><img src="/ibase/images/menuImages/web/salesorder.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/>
...@@ -121,7 +103,7 @@ border:none; ...@@ -121,7 +103,7 @@ border:none;
</div> </div>
<div class="pageContentWrapper" style="height:calc(100% - 80px);overflow:auto;"> <div class="pageContentWrapper" style="height:72%;overflow:auto;">
<!-- <div style="height:75%; width:100%;margin-top:2px;margin-left:0px;margin-bottom:0px;overflow:-moz-scrollbars-vertical;overflow-x:auto;overflow-y:auto;white-space:nowrap;border:thin ridge lightgray;"> --> <!-- <div style="height:75%; width:100%;margin-top:2px;margin-left:0px;margin-bottom:0px;overflow:-moz-scrollbars-vertical;overflow-x:auto;overflow-y:auto;white-space:nowrap;border:thin ridge lightgray;"> -->
<table id="activityTable" Class="editDisplayColumnClass" border="0" cellSpacing="0" width="99%" cellPadding="5"> <table id="activityTable" Class="editDisplayColumnClass" border="0" cellSpacing="0" width="99%" cellPadding="5">
<xsl:for-each select="//Detail1"> <xsl:for-each select="//Detail1">
...@@ -153,28 +135,26 @@ border:none; ...@@ -153,28 +135,26 @@ border:none;
<xsl:variable name="udf__str2"><xsl:value-of select="udf__str2"/></xsl:variable> <xsl:variable name="udf__str2"><xsl:value-of select="udf__str2"/></xsl:variable>
<xsl:variable name="emp_code__ord"><xsl:value-of select="emp_code__ord"/></xsl:variable> <xsl:variable name="emp_code__ord"><xsl:value-of select="emp_code__ord"/></xsl:variable>
<xsl:variable name="udf__num2"><xsl:value-of select="udf__num2"/></xsl:variable> <xsl:variable name="udf__num2"><xsl:value-of select="udf__num2"/></xsl:variable>
<xsl:variable name="dlv_add1"><xsl:value-of select="dlv_add1"/></xsl:variable> <xsl:variable name="dlv_add1"><xsl:value-of select="dlv_add1"/></xsl:variable>
<xsl:variable name="dlv_add2"><xsl:value-of select="dlv_add2"/></xsl:variable> <xsl:variable name="dlv_add2"><xsl:value-of select="dlv_add2"/></xsl:variable>
<xsl:variable name="dlv_city"><xsl:value-of select="dlv_city"/></xsl:variable> <xsl:variable name="dlv_city"><xsl:value-of select="dlv_city"/></xsl:variable>
<xsl:variable name="dlv_pin"><xsl:value-of select="dlv_pin"/></xsl:variable> <xsl:variable name="dlv_pin"><xsl:value-of select="dlv_pin"/></xsl:variable>
<xsl:variable name="state_code__dlv"><xsl:value-of select="state_code__dlv"/></xsl:variable> <xsl:variable name="state_code__dlv"><xsl:value-of select="state_code__dlv"/></xsl:variable>
<xsl:variable name="count_code__dlv"><xsl:value-of select="count_code__dlv"/></xsl:variable> <xsl:variable name="count_code__dlv"><xsl:value-of select="count_code__dlv"/></xsl:variable>
<xsl:variable name="dlv_add3"><xsl:value-of select="dlv_add3"/></xsl:variable> <xsl:variable name="dlv_add3"><xsl:value-of select="dlv_add3"/></xsl:variable>
<xsl:variable name="tel1__dlv"><xsl:value-of select="tel1__dlv"/></xsl:variable> <xsl:variable name="tel1__dlv"><xsl:value-of select="tel1__dlv"/></xsl:variable>
<xsl:variable name="tel2__dlv"><xsl:value-of select="tel2__dlv"/></xsl:variable> <xsl:variable name="tel2__dlv"><xsl:value-of select="tel2__dlv"/></xsl:variable>
<xsl:variable name="part_qty"><xsl:value-of select="part_qty"/></xsl:variable> <xsl:variable name="part_qty"><xsl:value-of select="part_qty"/></xsl:variable>
<xsl:variable name="due_date"><xsl:value-of select="due_date"/></xsl:variable> <xsl:variable name="due_date"><xsl:value-of select="due_date"/></xsl:variable>
<xsl:variable name="udf__str1"><xsl:value-of select="udf__str1"/></xsl:variable> <xsl:variable name="udf__str1"><xsl:value-of select="udf__str1"/></xsl:variable>
<xsl:variable name="price_list"><xsl:value-of select="price_list"/></xsl:variable>
<xsl:variable name="price_list__clg"><xsl:value-of select="price_list__clg"/></xsl:variable>
<xsl:variable name="tax_chap"><xsl:value-of select="tax_chap"/></xsl:variable>
<xsl:variable name="tax_class"><xsl:value-of select="tax_class"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable> <xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<tr> <tr>
<td class="td_rightAlign" nowrap="true" id = "sale_order_label"> <td class="td_rightAlign" nowrap="true">
<strong>Sales Order :</strong> <strong>Sales Order :</strong>
</td> </td>
...@@ -208,26 +188,21 @@ border:none; ...@@ -208,26 +188,21 @@ border:none;
<div style="width: 20%;float: left;"> <div style="width: 20%;float: left;">
<input type="text" value="{$cust_code}" name="Detail1.{normalize-space($dbID)}.cust_code" id="Detail1.{normalize-space($dbID)}.cust_code" <input type="text" value="{$cust_code}" name="Detail1.{normalize-space($dbID)}.cust_code" id="Detail1.{normalize-space($dbID)}.cust_code"
class="input_editable" style="width: 100%;" MINLENGTHAUTO="3" class="input_editable" style="width: 100%;" MINLENGTHAUTO="3"
onblur="javascript:callItemChange('cust_code')" onblur="javascript:itemChange('cust_code')"
onkeyup="getAutocompleteData(this,'cust_code');" onkeyup="getAutocompleteData(this,'cust_code');"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','','cust_code', 'Customer Code', 0);" onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','','cust_code', 'Customer Code', 0);"
onfocus="javascript:setCurrData('Detail1.{normalize-space($dbID)}.cust_code')" /> onfocus="javascript:setCurrData('Detail1.{normalize-space($dbID)}.cust_code')" />
</div> </div>
<div style="width:2%;float: left;padding-left:2px"> <div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','','cust_code', 'Customer Code', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','','cust_code', 'Customer Code', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.cust_code_pophelp" tabindex="-1"> style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.cust_code_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Customer Code"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Customer Code"/>
</a> </a>
</div> </div>
<div style="float: left;width: 70%;padding-left:9px" > <div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.cust_name" id="Detail1.{normalize-space($dbID)}.cust_name" <input type="text" name="Detail1.{normalize-space($dbID)}.cust_name" id="Detail1.{normalize-space($dbID)}.cust_name"
value="{$cust_name}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" tabindex="-1"/> value="{$cust_name}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div> </div>
<!-- <input type="button" style="cursor:hand" value="Details" class="button" title='View Customer Details' id="cust_details" onclick ="javascript:return callCustJSP('Detail1.{normalize-space($dbID)}.cust_code')"/> -->
<a href="javascript:callCustJSP('Detail1.{normalize-space($dbID)}.cust_code')"
style="float: left;text-decoration: none;" id="cust_code_details" tabindex="-1" >
<img src="/ibase/webitm/images/customerInfo.png" style="height:24px;width:24px;" title="View Customer Details"/>
</a>
</div> </div>
</td> </td>
<td> <td>
...@@ -245,24 +220,20 @@ border:none; ...@@ -245,24 +220,20 @@ border:none;
<input type="text" value="{$cust_code__dlv}" name="Detail1.{normalize-space($dbID)}.cust_code__dlv" id="Detail1.{normalize-space($dbID)}.cust_code__dlv" <input type="text" value="{$cust_code__dlv}" name="Detail1.{normalize-space($dbID)}.cust_code__dlv" id="Detail1.{normalize-space($dbID)}.cust_code__dlv"
style="width: 100%;" class="input_editable" MINLENGTHAUTO="3" style="width: 100%;" class="input_editable" MINLENGTHAUTO="3"
onkeyup="getAutocompleteData(this,'cust_code__dlv');" onkeyup="getAutocompleteData(this,'cust_code__dlv');"
onblur="javascript:callItemChange('cust_code__dlv')" onblur="javascript:itemChange('cust_code__dlv')"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','','cust_code__dlv', 'Customer Code Delivery', 0);" onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','','cust_code__dlv', 'Customer Code Delivery', 0);"
onfocus="javascript:setCurrData('Detail1.{normalize-space($dbID)}.cust_code__dlv')" /> onfocus="javascript:setCurrData('Detail1.{normalize-space($dbID)}.cust_code__dlv')" />
</div> </div>
<div style="width:2%;float: left;padding-left:2px"> <div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','','cust_code__dlv', 'Customer Code Delivery', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','','cust_code__dlv', 'Customer Code Delivery', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.cust_code__dlv_pophelp" tabindex="-1"> style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.cust_code__dlv_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Select Customer Code Delivery"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Select Customer Code Delivery"/>
</a> </a>
</div> </div>
<div style="float: left;width: 70%;padding-left:9px" > <div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.dlv_to" id="Detail1.{normalize-space($dbID)}.dlv_to" <input type="text" name="Detail1.{normalize-space($dbID)}.dlv_to" id="Detail1.{normalize-space($dbID)}.dlv_to"
value="{$dlv_to}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" tabindex="-1"/> value="{$dlv_to}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div> </div>
<a href="javascript:callCustJSP('Detail1.{normalize-space($dbID)}.cust_code__dlv')"
style="float: left;text-decoration: none;" id="cust_code__dlv_details" tabindex="-1">
<img src="/ibase/webitm/images/customerInfo.png" style="height:24px;width:24px;" title="View Customer Details"/>
</a>
</div> </div>
</td> </td>
<td> <td>
...@@ -280,24 +251,20 @@ border:none; ...@@ -280,24 +251,20 @@ border:none;
<input type="text" value="{$cust_code__bil}" name="Detail1.{normalize-space($dbID)}.cust_code__bil" id="Detail1.{normalize-space($dbID)}.cust_code__bil" <input type="text" value="{$cust_code__bil}" name="Detail1.{normalize-space($dbID)}.cust_code__bil" id="Detail1.{normalize-space($dbID)}.cust_code__bil"
style="width: 100%;" class="input_editable" MINLENGTHAUTO="3" style="width: 100%;" class="input_editable" MINLENGTHAUTO="3"
onkeyup="getAutocompleteData(this,'cust_code__bil');" onkeyup="getAutocompleteData(this,'cust_code__bil');"
onblur="javascript:callItemChange('cust_code__bil')" onblur="javascript:itemChange('cust_code__bil')"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','','cust_code__bil', 'Customer Code Bill', 0);" onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','','cust_code__bil', 'Customer Code Bill', 0);"
onfocus="javascript:setCurrData('Detail1.{normalize-space($dbID)}.cust_code__bil')" /> onfocus="javascript:setCurrData('Detail1.{normalize-space($dbID)}.cust_code__bil')" />
</div> </div>
<div style="width:2%;float: left;padding-left:2px"> <div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','','cust_code__bil', 'Customer Code Bill', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','','cust_code__bil', 'Customer Code Bill', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.cust_code__bil_pophelp" tabindex="-1"> style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.cust_code__bil_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Select Customer Code Bill"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Select Customer Code Bill"/>
</a> </a>
</div> </div>
<div style="float: left;width: 70%;padding-left:9px" > <div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.cust_name__bil" id="Detail1.{normalize-space($dbID)}.cust_name__bil" <input type="text" name="Detail1.{normalize-space($dbID)}.cust_name__bil" id="Detail1.{normalize-space($dbID)}.cust_name__bil"
value="{$cust_name__bil}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" tabindex="-1"/> value="{$cust_name__bil}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div> </div>
<a href="javascript:callCustJSP('Detail1.{normalize-space($dbID)}.cust_code__bil')"
style="float: left;text-decoration: none;" id="cust_code__bil_details" tabindex="-1">
<img src="/ibase/webitm/images/customerInfo.png" style="height:24px;width:24px;" title="View Customer Details"/>
</a>
</div> </div>
</td> </td>
<td> <td>
...@@ -373,7 +340,7 @@ border:none; ...@@ -373,7 +340,7 @@ border:none;
</div> </div>
<div style="width:14%;float: left;padding-left:2px"> <div style="width:14%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($stan_code)}','stan_code', 'Station', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($stan_code)}','stan_code', 'Station', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.stan_code_pophelp" tabindex="-1"> style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.stan_code_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Station"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Station"/>
</a> </a>
</div> </div>
...@@ -392,7 +359,7 @@ border:none; ...@@ -392,7 +359,7 @@ border:none;
</div> </div>
<div style="width:2%;float: left;padding-left:2px"> <div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($state_code__dlv)}','state_code__dlv', 'State', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($state_code__dlv)}','state_code__dlv', 'State', 0);"
id="Detail1.{normalize-space($dbID)}.state_code__dlv_pophelp" tabindex="-1"> id="Detail1.{normalize-space($dbID)}.state_code__dlv_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="State"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="State"/>
</a> </a>
</div> </div>
...@@ -415,7 +382,7 @@ border:none; ...@@ -415,7 +382,7 @@ border:none;
</div> </div>
<div style="width:2%;float: left;padding-left:2px"> <div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($count_code__dlv)}','count_code__dlv', 'Country', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($count_code__dlv)}','count_code__dlv', 'Country', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.count_code__dlv_pophelp" tabindex="-1"> style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.count_code__dlv_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Country"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Country"/>
</a> </a>
</div> </div>
...@@ -440,13 +407,13 @@ border:none; ...@@ -440,13 +407,13 @@ border:none;
</div> </div>
<div style="width:2%;float: left;padding-left:2px"> <div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($dlv_term)}','dlv_term', 'Delivery Term', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($dlv_term)}','dlv_term', 'Delivery Term', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.dlv_term_pophelp" tabindex="-1"> style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.dlv_term_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Delivery Term"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Delivery Term"/>
</a> </a>
</div> </div>
<div style="float: left;width: 70%;padding-left:9px" > <div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.delivery_term_descr" id="Detail1.{normalize-space($dbID)}.delivery_term_descr" <input type="text" name="Detail1.{normalize-space($dbID)}.delivery_term_descr" id="Detail1.{normalize-space($dbID)}.delivery_term_descr"
value="{$delivery_term_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" tabindex="-1"/> value="{$delivery_term_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div> </div>
</div> </div>
</td> </td>
...@@ -469,7 +436,7 @@ border:none; ...@@ -469,7 +436,7 @@ border:none;
</div> </div>
<div style="width:2%;float: left;padding-left:2px"> <div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($cr_term)}','cr_term', 'Credit Term', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($cr_term)}','cr_term', 'Credit Term', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.cr_term_pophelp" tabindex="-1"> style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.cr_term_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Credit Term"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Credit Term"/>
</a> </a>
</div> </div>
...@@ -511,13 +478,13 @@ border:none; ...@@ -511,13 +478,13 @@ border:none;
</div> </div>
<div style="width:2%;float: left;padding-left:2px"> <div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($tran_code)}','tran_code', 'Transporter', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($tran_code)}','tran_code', 'Transporter', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.tran_code_pophelp" tabindex="-1"> style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.tran_code_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Transporter"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Transporter"/>
</a> </a>
</div> </div>
<div style="float: left;width: 70%;padding-left:9px" > <div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.trans_mode" id="Detail1.{normalize-space($dbID)}.trans_mode" <input type="text" name="Detail1.{normalize-space($dbID)}.trans_mode" id="Detail1.{normalize-space($dbID)}.trans_mode"
value="T" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" tabindex="-1"/> value="T" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div> </div>
</div> </div>
</td> </td>
...@@ -532,13 +499,13 @@ border:none; ...@@ -532,13 +499,13 @@ border:none;
<strong>Order Date :</strong> <strong>Order Date :</strong>
</td> </td>
<td> <td>
<input type="text" class="input_editable" size="8" value="{$order_date}" name="Detail1.{normalize-space($dbID)}.order_date" id="orderdate" onkeydown = "return false;" maxlength="8" placeholder = "DD/MM/YY" tabindex="-1"/> <input type="text" class="input_editable" size="8" value="{$order_date}" name="Detail1.{normalize-space($dbID)}.order_date" id="orderdate" onkeydown = "return false;" maxlength="8" placeholder = "DD/MM/YY"/>
<img border="0" src="/ibase/webitm/images/calender.png" style = "margin-bottom:-5px;margin-left:3px;cursor: hand;" id="orderdate" name="orderdate" onClick="javascript:setDate('orderdate');"/> <img border="0" src="/ibase/webitm/images/calender.png" style = "margin-bottom:-5px;margin-left:3px;cursor: hand;" id="orderdate" name="orderdate" onClick="javascript:setDate('orderdate');"/>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign">
<strong>Due Date :</strong> <strong>Due Date :</strong>
<input type="text" class="input_editable" size="8" value="{$due_date}" name="Detail1.{normalize-space($dbID)}.due_date" id="duedate" onkeydown = "return false;" maxlength="8" placeholder = "DD/MM/YY" tabindex="-1"/> <input type="text" class="input_editable" size="8" value="{$due_date}" name="Detail1.{normalize-space($dbID)}.due_date" id="duedate" onkeydown = "return false;" maxlength="8" placeholder = "DD/MM/YY"/>
<img border="0" src="/ibase/webitm/images/calender.png" style = "margin-bottom:-5px;margin-left:3px;cursor: hand;" id="duedate" name="duedate" onClick="javascript:setDate('duedate');"/> <img border="0" src="/ibase/webitm/images/calender.png" style = "margin-bottom:-5px;margin-left:3px;cursor: hand;" id="duedate" name="duedate" onClick="javascript:setDate('duedate');"/>
</td> </td>
...@@ -560,13 +527,13 @@ border:none; ...@@ -560,13 +527,13 @@ border:none;
</div> </div>
<div style="width:2%;float: left;padding-left:2px"> <div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($site_code)}','site_code', 'Order Site', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($site_code)}','site_code', 'Order Site', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.site_code_pophelp" tabindex="-1"> style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.site_code_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Order Site"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Order Site"/>
</a> </a>
</div> </div>
<div style="float: left;width: 70%;padding-left:9px" > <div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.site_descr" id="Detail1.{normalize-space($dbID)}.site_descr" <input type="text" name="Detail1.{normalize-space($dbID)}.site_descr" id="Detail1.{normalize-space($dbID)}.site_descr"
value="{$site_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" tabindex="-1"/> value="{$site_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div> </div>
</div> </div>
</td> </td>
...@@ -588,13 +555,13 @@ border:none; ...@@ -588,13 +555,13 @@ border:none;
</div> </div>
<div style="width:2%;float: left;padding-left:2px"> <div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($order_type)}','order_type', 'Order Type', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($order_type)}','order_type', 'Order Type', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.order_type_pophelp" tabindex="-1"> style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.order_type_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Order Type"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Order Type"/>
</a> </a>
</div> </div>
<div style="float: left;width: 70%;padding-left:9px" > <div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.sordertype_descr" id="Detail1.{normalize-space($dbID)}.sordertype_descr" <input type="text" name="Detail1.{normalize-space($dbID)}.sordertype_descr" id="Detail1.{normalize-space($dbID)}.sordertype_descr"
value="{$sordertype_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" tabindex="-1"/> value="{$sordertype_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div> </div>
</div> </div>
</td> </td>
...@@ -616,13 +583,13 @@ border:none; ...@@ -616,13 +583,13 @@ border:none;
</div> </div>
<div style="width:2%;float: left;padding-left:2px"> <div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($item_ser)}','item_ser', 'Item Series', 0);" <a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($item_ser)}','item_ser', 'Item Series', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.item_ser_pophelp" tabindex="-1"> style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.item_ser_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Item Series"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Item Series"/>
</a> </a>
</div> </div>
<div style="float: left;width: 70%;padding-left:9px" > <div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.itemser_descr" id="Detail1.{normalize-space($dbID)}.itemser_descr" <input type="text" name="Detail1.{normalize-space($dbID)}.itemser_descr" id="Detail1.{normalize-space($dbID)}.itemser_descr"
value="{$itemser_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" tabindex="-1"/> value="{$itemser_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div> </div>
</div> </div>
</td> </td>
...@@ -636,55 +603,9 @@ border:none; ...@@ -636,55 +603,9 @@ border:none;
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign">
<div style="position:relative; width: 90%;"> <div style="position:relative; width: 90%;">
<select name="Detail1.{normalize-space($dbID)}.part_qty" class="input_editable" id="Detail1.{normalize-space($dbID)}.part_qty"> <select name="Detail1.{normalize-space($dbID)}.part_qty" class="input_editable" id="Detail1.{normalize-space($dbID)}.part_qty" value="{$part_qty}">
<!-- <select class="input_editable" onchange = "setPartQty()" id = "partQty"> -->
<option value="0">
<xsl:choose>
<xsl:when test="part_qty = '0'">
<option value='0' selected = "selected">Ship Available</option>
<option value='1'>Ship Complete Order</option>
<option value='2'>Ship Part Order</option>
</xsl:when>
<xsl:when test="part_qty = '1'">
<option value='0'>Ship Available</option>
<option value='1' selected = "selected">Ship Complete Order</option>
<option value='2'>Ship Part Order</option>
</xsl:when>
<xsl:when test="part_qty = '2'">
<option value='0'>Ship Available</option>
<option value='1'>Ship Complete Order</option>
<option value='2' selected = "selected">Ship Part Order</option>
</xsl:when>
<xsl:otherwise>
<option value='0' selected = "selected">Ship Available</option>
<option value='1'>Ship Complete Order</option>
<option value='2'>Ship Part Order</option>
</xsl:otherwise>
</xsl:choose>
<!-- <xsl:choose>
<xsl:when test="$part_qty ='0'">
<option value='0' selected = "selected">Ship Available</option>
<option value='1'>Ship Complete Order</option>
<option value='2'>Ship Part Order</option>
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="$part_qty ='1'">
<option value='0'>Ship Available</option>
<option value='1' selected = "selected" >Ship Complete Order</option>
<option value='2'>Ship Part Order</option>
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="$part_qty ='2'">
<option value='0'>Ship Available</option>
<option value='1'>Ship Complete Order</option>
<option value='2' selected = "selected">Ship Part Order</option>
</xsl:when>
</xsl:choose> -->
<!-- <option value="0">
<xsl:if test="$part_qty = '0'"> <xsl:if test="$part_qty = '0'">
<xsl:attribute name="selected">true</xsl:attribute> <xsl:attribute name="selected">true</xsl:attribute>
</xsl:if> </xsl:if>
...@@ -703,7 +624,8 @@ border:none; ...@@ -703,7 +624,8 @@ border:none;
<xsl:attribute name="selected">true</xsl:attribute> <xsl:attribute name="selected">true</xsl:attribute>
</xsl:if> </xsl:if>
Ship Part Order Ship Part Order
</option> --> </option>
</select> </select>
</div> </div>
</td> </td>
...@@ -734,12 +656,8 @@ border:none; ...@@ -734,12 +656,8 @@ border:none;
<input type="hidden" value="{$udf__str2}" name="Detail1.{normalize-space($dbID)}.udf__str2" id="Detail1.{normalize-space($dbID)}.udf__str2" /> <input type="hidden" value="{$udf__str2}" name="Detail1.{normalize-space($dbID)}.udf__str2" id="Detail1.{normalize-space($dbID)}.udf__str2" />
<input type="hidden" value="{$emp_code__ord}" name="Detail1.{normalize-space($dbID)}.emp_code__ord" id="Detail1.{normalize-space($dbID)}.emp_code__ord" /> <input type="hidden" value="{$emp_code__ord}" name="Detail1.{normalize-space($dbID)}.emp_code__ord" id="Detail1.{normalize-space($dbID)}.emp_code__ord" />
<input type="hidden" value="{$udf__num2}" name="Detail1.{normalize-space($dbID)}.udf__num2" id="Detail1.{normalize-space($dbID)}.udf__num2" /> <input type="hidden" value="{$udf__num2}" name="Detail1.{normalize-space($dbID)}.udf__num2" id="Detail1.{normalize-space($dbID)}.udf__num2" />
<input type="hidden" value="{$udf__str1}" name="Detail1.{normalize-space($dbID)}.udf__str1" id="udf__str1" />
<input type="hidden" value="{$price_list}" name="Detail1.{normalize-space($dbID)}.price_list" id="Detail1.{normalize-space($dbID)}.price_list" /> <input type="hidden" value="{$udf__str1}" name="Detail1.{normalize-space($dbID)}.udf__str1" id="udf__str1" />
<input type="hidden" value="{$price_list__clg}" name="Detail1.{normalize-space($dbID)}.price_list__clg" id="Detail1.{normalize-space($dbID)}.price_list__clg" />
<input type="hidden" value="{$tax_chap}" name="Detail1.{normalize-space($dbID)}.tax_chap" id="Detail1.{normalize-space($dbID)}.tax_chap" />
<input type="hidden" value="{$tax_class}" name="Detail1.{normalize-space($dbID)}.tax_class" id="Detail1.{normalize-space($dbID)}.tax_class" />
<tr style="height: 10px;"> <tr style="height: 10px;">
</tr> </tr>
...@@ -748,19 +666,17 @@ border:none; ...@@ -748,19 +666,17 @@ border:none;
</div> </div>
<div style = "margin-top:5px" > <div style = "margin-top:5px">
<table cellSpacing="1" cellPadding="1" width="100%" border="0"> <table cellSpacing="1" cellPadding="1" width="100%" border="0">
<tr> <tr>
<td > <td align = "right" >
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" /> <input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="sorderWiz" name="OBJ_NAME" id="OBJ_NAME"/> <input type="hidden" value="sorderWiz" name="OBJ_NAME" id="OBJ_NAME"/>
<input type="hidden" value="next" name="action" id="action" /> <input type="hidden" value="next" name="action" id="action" />
<input type="button" style="cursor:hand" value="Reset" class="button" title='Reset' id="reset1" onclick ="javascript:return resetHeader()"/> <input type="button" style="cursor:hand" value="Reset" class="button" title='Reset' id="reset" onclick ="javascript:return resetHeader()"/>
<input type="submit" style="cursor:hand" value="Next" class="button" title='Next' id="next" onclick ="javascript:return checkNullvalidation()"/> <input type="submit" style="cursor:hand" value="Next" class="button" title='Next' id="next" onclick ="javascript:return checkNullvalidation()"/>
<!-- <input type="text" size="50" onkeypress="myFunction1(event)"/> -->
<div id="buttonreplacement" align="center" style="display:none;"> <div id="buttonreplacement" align="center" style="display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" > <img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
Please wait...... Please wait......
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
$('#itemParentImage').draggable().resizable(); $('#itemParentImage').draggable().resizable();
pageLoad(); pageLoad();
getFom2Tables();
setImagesMain(); setImagesMain();
$('body').click(function(event) $('body').click(function(event)
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
background-color: #fff7d4 !important; background-color: #fff7d4 !important;
border-bottom : 1px solid #ccc; border-bottom : 1px solid #ccc;
} }
.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl remarks .ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl
{ {
border-radius: 0px !important border-radius: 0px !important
} }
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
</style> </style>
<body> <body>
<form name="sorderWizFormII" id="sorderWizFormII" METHOD="post" onkeypress="return event.keyCode != 13;" > <form name="sorderWizFormII" id="sorderWizFormII" METHOD="post" onkeypress="return event.keyCode != 13;" ACTION="/ibase/ITMWizardHandlerServlet">
<!-- <input type="text" value="1" name="TAB" ID="tabs" /> <!-- <input type="text" value="1" name="TAB" ID="tabs" />
<input type="text" value="1" name="active" ID="active" /> --> <input type="text" value="1" name="active" ID="active" /> -->
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
</xsl:for-each> </xsl:for-each>
<div class="pageContentWrapper" id = "pageContentWrapper" style="height:calc(100% - 80px);overflow:auto;"> <div class="pageContentWrapper" id = "pageContentWrapper" style="height:75%;overflow:auto;">
<table> <table>
<xsl:for-each select="//Detail2"> <xsl:for-each select="//Detail2">
...@@ -193,22 +193,6 @@ ...@@ -193,22 +193,6 @@
<xsl:variable name="dbIDs"><xsl:value-of select="@domID"/></xsl:variable> <xsl:variable name="dbIDs"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable> <xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable>
<xsl:variable name="price_list"><xsl:value-of select="price_list"/></xsl:variable>
<xsl:variable name="price_list__clg"><xsl:value-of select="price_list__clg"/></xsl:variable>
<xsl:variable name="tax_chap"><xsl:value-of select="tax_chap"/></xsl:variable>
<xsl:variable name="tax_class"><xsl:value-of select="tax_class"/></xsl:variable>
<!-- Added by kaustubh on 4 dec 2017 start -->
<xsl:variable name="tax_amt"><xsl:value-of select="tax_amt"/></xsl:variable>
<xsl:variable name="tax_env"><xsl:value-of select="tax_env"/></xsl:variable>
<xsl:variable name="tax_amount"><xsl:value-of select="tax_amount"/></xsl:variable>
<!-- Added by kaustubh on 4 dec 2017 end -->
<!-- Added by kaustubh on 21 dec 2017 start -->
<xsl:variable name="schemeCode"><xsl:value-of select="schemeCode"/></xsl:variable>
<xsl:variable name="schemeDescr"><xsl:value-of select="schemeDescr"/></xsl:variable>
<!-- Added by kaustubh on 21 dec 2017 end -->
<xsl:if test="$dbIDs = '0'"> <xsl:if test="$dbIDs = '0'">
<input type="hidden" value="{$sale_order}" name="Detail2.{normalize-space($dbIDs)}.sale_order" id="sale_order" /> <input type="hidden" value="{$sale_order}" name="Detail2.{normalize-space($dbIDs)}.sale_order" id="sale_order" />
<input type="hidden" value="{$order_date}" name="Detail2.{normalize-space($dbIDs)}.order_date" id="order_date" /> <input type="hidden" value="{$order_date}" name="Detail2.{normalize-space($dbIDs)}.order_date" id="order_date" />
...@@ -228,6 +212,7 @@ ...@@ -228,6 +212,7 @@
<input type="hidden" value="{$delivery_term_descr}" name="Detail2.{normalize-space($dbIDs)}.delivery_term_descr" id="delivery_term_descr" /> <input type="hidden" value="{$delivery_term_descr}" name="Detail2.{normalize-space($dbIDs)}.delivery_term_descr" id="delivery_term_descr" />
<input type="hidden" value="{$cr_term}" name="Detail2.{normalize-space($dbIDs)}.cr_term" id="cr_term" /> <input type="hidden" value="{$cr_term}" name="Detail2.{normalize-space($dbIDs)}.cr_term" id="cr_term" />
<input type="hidden" value="{$curr_code}" name="Detail2.{normalize-space($dbIDs)}.curr_code" id="curr_code" /> <input type="hidden" value="{$curr_code}" name="Detail2.{normalize-space($dbIDs)}.curr_code" id="curr_code" />
<input type="hidden" value="{$stan_code}" name="Detail2.{normalize-space($dbIDs)}.stan_code" id="stan_code" /> <input type="hidden" value="{$stan_code}" name="Detail2.{normalize-space($dbIDs)}.stan_code" id="stan_code" />
<input type="hidden" value="{$tran_code}" name="Detail2.{normalize-space($dbIDs)}.tran_code" id="tran_code" /> <input type="hidden" value="{$tran_code}" name="Detail2.{normalize-space($dbIDs)}.tran_code" id="tran_code" />
<input type="hidden" value="{$trans_mode}" name="Detail2.{normalize-space($dbIDs)}.trans_mode" id="trans_mode" /> <input type="hidden" value="{$trans_mode}" name="Detail2.{normalize-space($dbIDs)}.trans_mode" id="trans_mode" />
...@@ -236,36 +221,22 @@ ...@@ -236,36 +221,22 @@
<input type="hidden" value="{$udf__str2}" name="Detail2.{normalize-space($dbIDs)}.udf__str2" id="udf__str2" /> <input type="hidden" value="{$udf__str2}" name="Detail2.{normalize-space($dbIDs)}.udf__str2" id="udf__str2" />
<input type="hidden" value="{$emp_code__ord}" name="Detail2.{normalize-space($dbIDs)}.emp_code__ord" id="emp_code__ord" /> <input type="hidden" value="{$emp_code__ord}" name="Detail2.{normalize-space($dbIDs)}.emp_code__ord" id="emp_code__ord" />
<input type="hidden" value="{$udf__num2}" name="Detail2.{normalize-space($dbIDs)}.udf__num2" id="udf__num2" /> <input type="hidden" value="{$udf__num2}" name="Detail2.{normalize-space($dbIDs)}.udf__num2" id="udf__num2" />
<input type="hidden" value="{$dlv_add1}" name="Detail2.{normalize-space($dbIDs)}.dlv_add1" id="dlv_add1" /> <input type="hidden" value="{$dlv_add1}" name="Detail2.{normalize-space($dbIDs)}.dlv_add1" id="dlv_add1" />
<input type="hidden" value="{$dlv_add2}" name="Detail2.{normalize-space($dbIDs)}.dlv_add2" id="dlv_add2" /> <input type="hidden" value="{$dlv_add2}" name="Detail2.{normalize-space($dbIDs)}.dlv_add2" id="dlv_add2" />
<input type="hidden" value="{$dlv_city}" name="Detail2.{normalize-space($dbIDs)}.dlv_city" id="dlv_city" /> <input type="hidden" value="{$dlv_city}" name="Detail2.{normalize-space($dbIDs)}.dlv_city" id="dlv_city" />
<input type="hidden" value="{$dlv_pin}" name="Detail2.{normalize-space($dbIDs)}.dlv_pin" id="dlv_pin" /> <input type="hidden" value="{$dlv_pin}" name="Detail2.{normalize-space($dbIDs)}.dlv_pin" id="dlv_pin" />
<input type="hidden" value="{$state_code__dlv}" name="Detail2.{normalize-space($dbIDs)}.state_code__dlv" id="state_code__dlv" /> <input type="hidden" value="{$state_code__dlv}" name="Detail2.{normalize-space($dbIDs)}.state_code__dlv" id="state_code__dlv" />
<input type="hidden" value="{$count_code__dlv}" name="Detail2.{normalize-space($dbIDs)}.count_code__dlv" id="count_code__dlv" /> <input type="hidden" value="{$count_code__dlv}" name="Detail2.{normalize-space($dbIDs)}.count_code__dlv" id="count_code__dlv" />
<input type="hidden" value="{$dlv_to}" name="Detail2.{normalize-space($dbIDs)}.dlv_to" id="dlv_to" /> <input type="hidden" value="{$dlv_to}" name="Detail2.{normalize-space($dbIDs)}.dlv_to" id="dlv_to" />
<input type="hidden" value="{$dlv_add3}" name="Detail2.{normalize-space($dbIDs)}.dlv_add3" id="dlv_add3" /> <input type="hidden" value="{$dlv_add3}" name="Detail2.{normalize-space($dbIDs)}.dlv_add3" id="dlv_add3" />
<input type="hidden" value="{$tel1__dlv}" name="Detail2.{normalize-space($dbIDs)}.tel1__dlv" id="tel1__dlv" /> <input type="hidden" value="{$tel1__dlv}" name="Detail2.{normalize-space($dbIDs)}.tel1__dlv" id="tel1__dlv" />
<input type="hidden" value="{$tel2__dlv}" name="Detail2.{normalize-space($dbIDs)}.tel2__dlv" id="tel2__dlv" /> <input type="hidden" value="{$tel2__dlv}" name="Detail2.{normalize-space($dbIDs)}.tel2__dlv" id="tel2__dlv" />
<input type="hidden" value="{$prt_qty}" name="Detail2.{normalize-space($dbIDs)}.prt_qty" id="prt_qty" /> <input type="hidden" value="{$prt_qty}" name="Detail2.{normalize-space($dbIDs)}.prt_qty" id="prt_qty" />
<input type="hidden" value="{$due_date}" name="Detail2.{normalize-space($dbIDs)}.due_date" id="due_date" /> <input type="hidden" value="{$due_date}" name="Detail2.{normalize-space($dbIDs)}.due_date" id="due_date" />
<input type="hidden" value="{$udf__str1}" name="Detail2.{normalize-space($dbIDs)}.udf__str1" id="udf__str1" /> <input type="hidden" value="{$udf__str1}" name="Detail2.{normalize-space($dbIDs)}.udf__str1" id="udf__str1" />
<input type="hidden" value="{$price_list}" name="Detail2.{normalize-space($dbIDs)}.price_list" id="price_list" />
<input type="hidden" value="{$price_list__clg}" name="Detail2.{normalize-space($dbIDs)}.price_list__clg" id="price_list__clg" />
<input type="hidden" value="{$tax_chap}" name="Detail2.{normalize-space($dbIDs)}.tax_chap" id="tax_chap" />
<input type="hidden" value="{$tax_class}" name="Detail2.{normalize-space($dbIDs)}.tax_class" id="tax_class" />
<!-- Added by kaustubh on 4 dec 2017 start -->
<input type="hidden" value="{$tax_amt}" name="Detail2.{normalize-space($dbIDs)}.tax_amt" id="tax_amt" />
<input type="hidden" value="{$tax_env}" name="Detail2.{normalize-space($dbIDs)}.tax_env" id="tax_env" />
<input type="hidden" value="{$tax_amount}" name="Detail2.{normalize-space($dbIDs)}.tax_amount" id="tax_amount" />
<!-- Added by kaustubh on 4 dec 2017 end -->
<!-- Added by kaustubh on 21 dec 2017 start -->
<input type="hidden" value="{$schemeCode}" name="Detail2.{normalize-space($dbIDs)}.schemeCode" id="schemeCode" />
<input type="hidden" value="{$schemeDescr}" name="Detail2.{normalize-space($dbIDs)}.schemeDescr" id="schemeDescr" />
</xsl:if> </xsl:if>
</xsl:for-each> </xsl:for-each>
</table> </table>
...@@ -285,13 +256,13 @@ ...@@ -285,13 +256,13 @@
<img src="" id = "cloths1" height="40" width="40" style="float: left;border-radius: 90%;margin-left: -20px;visibility:hidden" onmouseover="openImage(event,'1')" ></img> <img src="" id = "cloths1" height="40" width="40" style="float: left;border-radius: 90%;margin-left: -20px;visibility:hidden" onmouseover="openImage(event,'1')" ></img>
</td> </td>
<td style="width:98%;"> <td style="width:98%;">
<table style = "font-size:14px; width:95%;"> <table style = "font-size:14px">
<tr> <tr>
<td><label id='main1' style='background-color: transparent;'></label></td> <td align="right"><b><label align="right" id = "pieces1"></label></b> piece(s) @<b><label id = "rate1"></label></b></td> <td><label id='main1' style='background-color: transparent;'></label></td>
<input type='hidden' id='display' value='0' /> <input type='hidden' id='display' value='0' />
</tr> </tr>
<tr> <tr>
<!-- <td align="right" style="width:95%;"><label align="right" id = "pieces1"></label><label id = "rate1"></label></td> --> <td><label id = "pieces1"></label><label id = "rate1"></label></td>
</tr> </tr>
</table> </table>
</td> </td>
...@@ -315,7 +286,7 @@ ...@@ -315,7 +286,7 @@
</table> </table>
</h3> </h3>
<div style="padding: 2px 5px 7px"> <div style="padding: 2px 5px 7px">
<div id="suppDtlDiv1" style="height:auto;overflow: auto; margin-left: 0px; width:100%; max-height: 400px;"> <div id="suppDtlDiv1" style="height:auto;overflow: auto; margin-left: 0px; width:100%;">
<table id="activityTable" style="width:100%;font-size:14px;"> <table id="activityTable" style="width:100%;font-size:14px;">
<div > <div >
<tr> <tr>
...@@ -332,45 +303,25 @@ ...@@ -332,45 +303,25 @@
<input type='hidden' id='multisel1' class='editDisplayClass' maxlength='0' ISCHANGED='false' readOnly = '1' style='margin-left: -9px;width: 400px' value='' /> <input type='hidden' id='multisel1' class='editDisplayClass' maxlength='0' ISCHANGED='false' readOnly = '1' style='margin-left: -9px;width: 400px' value='' />
<div style="float: right;"> <div style="float: right;">
<a href="javascript:callItemPopup(1);" style="float: left;text-decoration: none;" tabindex="-1"> <a href="javascript:callItemPopup(1);" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;margin-top: 3px;" title="Select Product"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;margin-top: 3px;" title="Select Product"/>
</a> </a>
</div> </div>
</div> </div>
</td> </td>
<!-- <td style="visibility:hidden" align="right" width = "10%" > --> <td align="right" width = "10%">
<td align="right" width = "10%" >
In Stock :
</td>
<td width = "10%">
<!-- <label style="visibility:hidden" id = "item_parent_totalQuantity1"></label> -->
<b><label id = "item_parent_totalQuantity1"></label></b>
<input type="hidden" id="totalquantity1" value="{item_code}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 400px" />
</td>
<!-- <td align="right" width = "10%">
Rate: Rate:
</td> </td>
<td width = "10%"> <td width = "10%">
<label id = "Ind_rate1"></label> <label id = "item_parent_rate1"></label>
<input type="hidden" id="indrate1" value="{item_code}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 400px" />
</td> -->
<!-- <td align="right" width = "10%">
Rate:
</td> -->
<td width = "10%">
<label style="visibility:hidden" id = "item_parent_rate1"></label>
<input type="hidden" id="itmdescription1" value="{item_code}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 400px" /> <input type="hidden" id="itmdescription1" value="{item_code}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 400px" />
</td> </td>
<td align = 'right' width = "20%"> <td align = 'right' width = "20%">
<!-- <strong>Due Date: <span id="dlv_date_span1"> <xsl:value-of select="due_date"/> </span></strong> <!-- <strong>Due Date: <span id="dlv_date_span1"> <xsl:value-of select="due_date"/> </span></strong>
<input type="hidden" name="dlv_date1" readOnly = "1" id="dlv_date1" value="{$ord_date_m}" style="width:28%;font-size:12px" /> <input type="hidden" name="dlv_date1" readOnly = "1" id="dlv_date1" value="{$ord_date_m}" style="width:28%;font-size:12px" />
--> -->
Despatch Date: <input type="hidden" name="dlv_date1" readOnly = "1" id="dlv_date1" value="{$ord_date_m}" style="width:28%;font-size:12px" /> Despatch Date: <input type="hidden" name="dlv_date1" readOnly = "1" id="dlv_date1" value="{$ord_date_m}" style="width:28%;font-size:12px" />
<!-- <input type="text" class="input_editable" size="8" value="{$ord_date_m}" name="dspdate1" id="dspdate1" onkeydown = 'return false;' maxlength="8" placeholder = "DD/MM/YY" onchange="javascript:setDespDate('1');"/>--> <input type="text" class="input_editable" size="8" value="{$ord_date_m}" name="dspdate1" id="dspdate1" onkeydown = 'return false;' maxlength="8" placeholder = "DD/MM/YY" onchange="javascript:setDespDate('1');"/>
<input type="text" class="input_editable" size="8" value="{$ord_date_m}" name="dspdate1" id="dspdate1" maxlength="8" placeholder = "DD/MM/YY" onkeydown="javascript:setDate('dspdate1');"/>
<img border="0" src="/ibase/webitm/images/calender.png" style = "margin-bottom:-5px;margin-left:3px;cursor: hand;" id="dspdate1" name="dspdate1" onClick="javascript:setDate('dspdate1');"/> <img border="0" src="/ibase/webitm/images/calender.png" style = "margin-bottom:-5px;margin-left:3px;cursor: hand;" id="dspdate1" name="dspdate1" onClick="javascript:setDate('dspdate1');"/>
</td> </td>
...@@ -379,12 +330,9 @@ ...@@ -379,12 +330,9 @@
</table> </table>
</div> </div>
<input type ="hidden" id="deleteAccordian1"></input> <input type ="hidden" id="deleteAccordian1"></input>
<div class = 'totalQuantity' align = "right"> <div class = 'totalQuantity' align = "right">
<!-- <b>Total Quantity: </b> --> <b>Total Quantity: </b><span id= "sum1"></span>
<span style="visibility:hidden" id= "sum1"></span>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
...@@ -408,7 +356,7 @@ ...@@ -408,7 +356,7 @@
<span></span> <span></span>
<div id="itemParentImage" style="visibility: hidden"> <div id="itemParentImage" style="visibility: hidden">
<div id = "DBImage1" style="overflow: auto; height: 100%;"> <div id = "DBImage1" style="overflow: auto; height: 100%">
</div> </div>
</div> </div>
...@@ -460,15 +408,8 @@ ...@@ -460,15 +408,8 @@
<div style="width=20%;height:6px;margin-left=-12px;margin-top:3px;margin-bottom:0px;"> <div style="width=20%;height:6px;margin-left=-12px;margin-top:3px;margin-bottom:0px;">
<table cellSpacing="1" cellPadding="1" width="50%" border="0"> <table cellSpacing="1" cellPadding="1" width="50%" border="0">
<tr> <tr>
<!-- <input type="button" style="cursor:hand" value="Reset" class="button" title='Reset' id="reset" onclick ="event.stopPropagation();javascript:closeAccordian('1')"/> --> <input type="submit" style="cursor:hand" class="button" value="Previous" title='Previous' id="previous" onclick="javascript:createXMLString()"/>
<input type="submit" style="cursor:hand" class="button" value="Next" title='Next' id="next" onclick="javascript:return setCheckedTrue();"/>
<input type="submit" style="cursor:hand" class="savebutton" value="Previous" title='Previous' id="previous" onclick="javascript:createXMLString()"/>
<input type="submit" style="cursor:hand" class="savebutton" value="Next" title='Next' id="next" onclick="javascript:return setCheckedTrue();"/>
<input type="button" style="cursor:hand" value="Reset" class="tabButton" title='Reset' id="reset" onclick ="javascript:createXMLString1('sorderWiz');"/>
<span title="Add New" class="addNewDetailBtn" id="AddButton" name="AddButton" onclick="createAccordian()" > <span title="Add New" class="addNewDetailBtn" id="AddButton" name="AddButton" onclick="createAccordian()" >
<p class="plus">+</p> <p class="plus">+</p>
</span> </span>
...@@ -479,12 +420,8 @@ ...@@ -479,12 +420,8 @@
</div> </div>
</tr> </tr>
</table> </table>
<div id="BgGlass" class="bgGlass" style="display: none"></div>
<div id='taxCalDiv' class="popUpContainerForTax"></div>
</div> </div>
<!-- <div class = "buttonDiv" style="width=20%;margin-left=-12px;margin-top:5px;margin-bottom:0px;"> <!-- <div class = "buttonDiv" style="width=20%;margin-left=-12px;margin-top:5px;margin-bottom:0px;">
<input type="submit" style="cursor:hand" class="button" value="Previous" title='Previous' id="previous" onclick="javascript:createXMLString()"/> <input type="submit" style="cursor:hand" class="button" value="Previous" title='Previous' id="previous" onclick="javascript:createXMLString()"/>
<input type="submit" style="cursor:hand" class="button" value="Next" title='Next' id="next" onclick="javascript:return setCheckedTrue();"/> <input type="submit" style="cursor:hand" class="button" value="Next" title='Next' id="next" onclick="javascript:return setCheckedTrue();"/>
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
$('#Details').fxdHdrCol({ $('#Details').fxdHdrCol({
fixedCols: 0, fixedCols: 0,
width: "200%", width: "100%",
height: "85%", height: "85%",
colModal: [ colModal: [
{ width: 5, align: 'center' }, { width: 5, align: 'center' },
...@@ -45,7 +45,6 @@ ...@@ -45,7 +45,6 @@
{ width: 70, align: 'center' }, { width: 70, align: 'center' },
{ width: 70, align: 'center' }, { width: 70, align: 'center' },
{ width: 70, align: 'center' }, { width: 70, align: 'center' },
{ width: 50, align: 'center' },
{ width: 200, align: 'center' }, { width: 200, align: 'center' },
{ width: 70, align: 'center' }, { width: 70, align: 'center' },
{ width: 70, align: 'center' }, { width: 70, align: 'center' },
...@@ -76,6 +75,18 @@ ...@@ -76,6 +75,18 @@
<body> <body>
<form name="sorderWizFormIII" id="sorderWizFormIII" onkeypress="return event.keyCode != 13;" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet"> <form name="sorderWizFormIII" id="sorderWizFormIII" onkeypress="return event.keyCode != 13;" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<!--<div class="pageContentWrapper" style="height:80%;overflow:auto;">-->
<!-- <TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;border-bottom: #6cf 3px solid">
<TR>
<div class='contentHeaderLbl'><img src="/ibase/images/menuImages/web/Dailyactivityreport.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Summary
</TD>
</div>
</TR>
</TABLE> -->
<xsl:for-each select="//Detail3"> <xsl:for-each select="//Detail3">
<xsl:if test="position() = 1"> <xsl:if test="position() = 1">
<TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;"> <TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
...@@ -105,7 +116,7 @@ ...@@ -105,7 +116,7 @@
</xsl:for-each> </xsl:for-each>
<div id="innerDiv" style="overflow-y:hidden;overflow-x:auto;max-height:80%;"> <div id="innerDiv" style="overflow-y:hidden;overflow-x:auto;max-height:80%;">
<table id="errorActivityTable" width="100%" height="13%" class="tableClass" style="margin: 0px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="0" cellspacing="0" cellpadding="0"> <table id="errorActivityTable" width="100%" height="10%" class="tableClass" style="margin: 0px 0px 0px 0px;position: relative;width: calc(literal('100% - 15px'));width: -moz-calc(literal('100% - 15px'));padding-right:0px; padding-left:5xp; width: -webkit-calc(literal('100% - 15px'));box-shadow: 3px 3px 3px gray;-moz-box-shadow:3px 3px 3px gray;-webkit-box-shadow: 3px 3px 3px gray;-o-box-shadow: 3px 3px 3px gray;background: rgba(255, 204, 0, 0.66);min-height: 50px;bottom:10px" border="0" cellspacing="0" cellpadding="0">
<xsl:for-each select="//error"> <xsl:for-each select="//error">
<xsl:if test="position() = 1"> <xsl:if test="position() = 1">
<tr> <tr>
...@@ -131,8 +142,6 @@ ...@@ -131,8 +142,6 @@
</td> </td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true"> <td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="description"/> <xsl:value-of select="description"/>
<br></br>
<xsl:value-of select="trace"/>
</td> </td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true"> <td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
</td> </td>
...@@ -250,8 +259,8 @@ ...@@ -250,8 +259,8 @@
</xsl:if> </xsl:if>
</xsl:for-each> </xsl:for-each>
<div style="height:calc(100% - 80px); width:100%;margin-top:2px;margin-left:2px;overflow:-moz-scrollbars-vertical;overflow-x:auto;overflow-y:auto;white-space:nowrap;border:thin ridge lightgray;"> <div style="height:75%; width:100%;margin-top:2px;margin-left:2px;overflow:-moz-scrollbars-vertical;overflow-x:auto;overflow-y:auto;white-space:nowrap;border:thin ridge lightgray;">
<table id="Details" class="headertableClass" border="0" cellspacing="0" cellpadding="0" width='100%' style = "color: #333 !important;"> <table id="Details" class="headertableClass" border="0" cellspacing="0" cellpadding="0" width='100%'>
<thead class="table-head"> <thead class="table-head">
<tr> <tr>
<th class="tHeader" nowrap="true" style="width:20px;display:none"> <th class="tHeader" nowrap="true" style="width:20px;display:none">
...@@ -275,16 +284,6 @@ ...@@ -275,16 +284,6 @@
<th class="tHeader" nowrap="true" valign="bottom"> <th class="tHeader" nowrap="true" valign="bottom">
Rate Rate
</th> </th>
<!-- Added by Sneha on 20-01-2017, to add discount field [Start] -->
<th class="tHeader" nowrap="true" valign="bottom">
Discount(%)
</th>
<!-- Added by Sneha on 20-01-2017, to add discount field [End] -->
<!-- <th class="thClass" nowrap="true" > <!-- <th class="thClass" nowrap="true" >
<strong>Currency</strong> <strong>Currency</strong>
</th> --> </th> -->
...@@ -301,10 +300,6 @@ ...@@ -301,10 +300,6 @@
<strong>Supplier Code</strong> <strong>Supplier Code</strong>
</th> --> </th> -->
<th class="tHeader" nowrap="true" valign="bottom">
Tax Amount
</th>
<th class="tHeader" nowrap="true" valign="bottom"> <th class="tHeader" nowrap="true" valign="bottom">
Tax Chap Tax Chap
</th> </th>
...@@ -330,7 +325,6 @@ ...@@ -330,7 +325,6 @@
<xsl:variable name="quantity"><xsl:value-of select="quantity"/></xsl:variable> <xsl:variable name="quantity"><xsl:value-of select="quantity"/></xsl:variable>
<xsl:variable name="unit"><xsl:value-of select="unit"/></xsl:variable> <xsl:variable name="unit"><xsl:value-of select="unit"/></xsl:variable>
<xsl:variable name="rate"><xsl:value-of select="rate"/></xsl:variable> <xsl:variable name="rate"><xsl:value-of select="rate"/></xsl:variable>
<xsl:variable name="discount"><xsl:value-of select="discount"/></xsl:variable> <!-- Added by Sneha on 20-01-2017, to add discount field -->
<xsl:variable name="rate__std"><xsl:value-of select="rate__std"/></xsl:variable> <xsl:variable name="rate__std"><xsl:value-of select="rate__std"/></xsl:variable>
<xsl:variable name="net_amt"><xsl:value-of select="net_amt"/></xsl:variable> <xsl:variable name="net_amt"><xsl:value-of select="net_amt"/></xsl:variable>
<xsl:variable name="tax_class"><xsl:value-of select="tax_class"/></xsl:variable> <xsl:variable name="tax_class"><xsl:value-of select="tax_class"/></xsl:variable>
...@@ -340,25 +334,12 @@ ...@@ -340,25 +334,12 @@
<xsl:variable name="item_flg"><xsl:value-of select="item_flg"/></xsl:variable> <xsl:variable name="item_flg"><xsl:value-of select="item_flg"/></xsl:variable>
<xsl:variable name="line_no__contr"><xsl:value-of select="line_no__contr"/></xsl:variable> <xsl:variable name="line_no__contr"><xsl:value-of select="line_no__contr"/></xsl:variable>
<xsl:variable name="phy_attrib_4"><xsl:value-of select="phy_attrib_4"/></xsl:variable> <xsl:variable name="phy_attrib_4"><xsl:value-of select="phy_attrib_4"/></xsl:variable>
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="rate__clg"><xsl:value-of select="rate__clg"/></xsl:variable>
<xsl:variable name="tax_amt"><xsl:value-of select="tax_amt"/></xsl:variable>
<!-- added By kaustubh on 21 dec start -->
<xsl:variable name="schemeCode"><xsl:value-of select="schemeCode"/></xsl:variable>
<xsl:variable name="schemeDescr"><xsl:value-of select="schemeDescr"/></xsl:variable>
<!-- added By kaustubh on 5 jan 2018 end -->
<!-- <xsl:variable name="tax_xml"><xsl:value-of select="tax_xml"/></xsl:variable> -->
<!-- added By kaustubh on 5 jan 2018 start -->
<!-- added By kaustubh on 21 dec start -->
<xsl:variable name="dbIDs"><xsl:value-of select="@domID"/></xsl:variable> <xsl:variable name="dbIDs"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable> <xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable>
<xsl:if test="$dbIDs != '0'"> <xsl:if test="$dbIDs != '0'">
<tr class="trClass" id="itemRow{$dbIDs}"> <tr class="trClass">
<td style = "display:none"> <td style = "display:none">
<xsl:choose> <xsl:choose>
<xsl:when test="$chkbox ='Y'"> <xsl:when test="$chkbox ='Y'">
...@@ -373,87 +354,59 @@ ...@@ -373,87 +354,59 @@
</td> </td>
<input type="hidden" value="{$item_parnt}" name="Detail3.{normalize-space($dbIDs)}.item_parnt" id="Detail3.{normalize-space($dbIDs)}.item_parnt" /> <input type="hidden" value="{$item_parnt}" name="Detail3.{normalize-space($dbIDs)}.item_parnt" id="Detail3.{normalize-space($dbIDs)}.item_parnt" />
<!-- <input type="hidden" value="{$item_code}" name="Detail3.{normalize-space($dbIDs)}.item_code" id="Detail3.{normalize-space($dbIDs)}.item_code" /> --> <input type="hidden" value="{$item_code}" name="Detail3.{normalize-space($dbIDs)}.item_code" id="Detail3.{normalize-space($dbIDs)}.item_code" />
<!-- <input type="hidden" value="{$dsp_date}" name="Detail3.{normalize-space($dbIDs)}.dsp_date" id="Detail3.{normalize-space($dbIDs)}.dsp_date" /> --> <!-- <input type="hidden" value="{$dsp_date}" name="Detail3.{normalize-space($dbIDs)}.dsp_date" id="Detail3.{normalize-space($dbIDs)}.dsp_date" /> -->
<td style="width:90px" nowrap="true"> <td style="width:90px">
<xsl:value-of select="item_parnt"/> <xsl:value-of select="item_parnt"/>
</td> </td>
<xsl:choose> <td style="width:100px">
<xsl:when test="$schemeCode =''"> <xsl:value-of select="item_code"/>
<td style="width:100px" nowrap="true">
<!-- <xsl:value-of select="item_code"/> -->
<input id="Detail3.{normalize-space($dbIDs)}.item_code" name="Detail3.{normalize-space($dbIDs)}.item_code" value="{$item_code}" type="text" style="border: none;outline: none;color: #555;font-size: 12px;" readonly=""/>
</td> </td>
</xsl:when>
<xsl:otherwise>
<td style="width:100px; background:#e3fef1;" nowrap="true">
<!-- <xsl:value-of select="item_code"/> -->
<input id="Detail3.{normalize-space($dbIDs)}.item_code" name="Detail3.{normalize-space($dbIDs)}.item_code" value="{$item_code}" type="text" style="border: none;outline: none;color: #555;font-size: 12px;background:#e3fef1;" readonly=""/>
<td style="width:200px">
<xsl:value-of select="item_descr"/>
</td> </td>
</xsl:otherwise>
</xsl:choose>
<td nowrap="true">
<!-- <xsl:value-of select="item_descr"/> -->
<input id="Detail3.{normalize-space($dbIDs)}.item_descr" name="Detail3.{normalize-space($dbIDs)}.item_descr" value="{$item_descr}" type="text" style="border: none;outline: none;color: #555;font-size: 12px;width:232px;" readonly=""/>
</td> <td style="width:100px">
<td style="width:100px" nowrap="true">
&#160; &#160;
<xsl:value-of select="phy_attrib_4"/> <xsl:value-of select="phy_attrib_4"/>
</td> </td>
<td class="td_rightAlign editTdClass" style="width:75px;" onclick='gotoChildTextbox(this);' nowrap="true"> <td class="td_rightAlign" style="width:75px;">
<input type="text" class="editInputClass editInputCur" value="{$quantity}" name="Detail3.{normalize-space($dbIDs)}.quantity" id="Detail3.{normalize-space($dbIDs)}.quantity" <!-- <xsl:value-of select="quantity"/> -->
style="width:100%;border:none;text-align: right; outline:none" maxlength="10" <input type="text" class="editInputClass" value="{$quantity}" name="Detail3.{normalize-space($dbIDs)}.quantity" id="Detail3.{normalize-space($dbIDs)}.quantity"
onchange='changeAmount({$dbIDs});sendInfo("Detail3.{normalize-space($dbIDs)}.quantity");' style="text-align: right;width:60px;" maxlength="40"
onkeypress='return isQuantity(event)' onfocus='setActiveTD(this);' /> onkeyup='changeAmount({$dbIDs});' onkeypress='return isQuantity(event)' />
</td> </td>
<!-- <input type="hidden" value="{$item_descr}" name="Detail3.{normalize-space($dbIDs)}.item_descr" id="Detail3.{normalize-space($dbIDs)}.item_descr" /> --> <input type="hidden" value="{$item_descr}" name="Detail3.{normalize-space($dbIDs)}.item_descr" id="Detail3.{normalize-space($dbIDs)}.item_descr" />
<!-- Added by Sneha 20-01-2017, to add discount field [Start] --> <td class="td_rightAlign" style="width:75px;">
<td class="td_rightAlign editTdClass" style="width:75px;" onclick='gotoChildTextbox(this);' nowrap="true">
<!-- <xsl:value-of select="rate"/> --> <!-- <xsl:value-of select="rate"/> -->
<input type="text" class="editInputClass editInputCur" value="{$rate}" name="Detail3.{normalize-space($dbIDs)}.rate" id="Detail3.{normalize-space($dbIDs)}.rate" <input type="text" class="editInputClass" value="{$rate}" name="Detail3.{normalize-space($dbIDs)}.rate" id="Detail3.{normalize-space($dbIDs)}.rate"
style="width:100%;border:none;text-align: right; outline:none" maxlength="10" style="text-align: right;width:60px;" maxlength="4"
onchange='changeAmount({$dbIDs});' onkeyup='changeAmount({$dbIDs});' onkeypress='return isNumeric(event)' />
onkeypress='return isQuantity(event)' onfocus='setActiveTD(this);' />
</td>
<!-- Added by Sneha 20-01-2017, to add discount field [End] -->
<td class="td_rightAlign editTdClass" style="width:75px;" onclick='gotoChildTextbox(this);' nowrap="true">
<input type="text" class="editInputClass editInputCur" value="{$discount}" name="Detail3.{normalize-space($dbIDs)}.discount" id="Detail3.{normalize-space($dbIDs)}.discount"
style="width:100%;border:none;text-align: right; outline:none" maxlength="10"
onchange=' chgAmtOnDiscount({$dbIDs}); sendInfo("Detail3.{normalize-space($dbIDs)}.quantity")'
onkeypress='return isQuantity(event);' onfocus='setActiveTD(this);'/>
</td> </td>
<!-- <td style="width:75px"> <!-- <td style="width:75px">
<xsl:value-of select="item_parnt"/> <xsl:value-of select="item_parnt"/>
</td> --> </td> -->
<td class="td_rightAlign" style="width:75px;" nowrap="true"> <td class="td_rightAlign" style="width:75px;">
<!-- <xsl:value-of select="net_amt"/> --> <!-- <xsl:value-of select="net_amt"/> -->
<input type="text" maxlength="4" readOnly = "1" <input type="text" maxlength="4" readOnly = "1"
value="{$net_amt}" name="Detail3.{normalize-space($dbIDs)}.net_amt" id="Detail3.{normalize-space($dbIDs)}.net_amt" value="{$net_amt}" name="Detail3.{normalize-space($dbIDs)}.net_amt" id="Detail3.{normalize-space($dbIDs)}.net_amt"
style="text-align: right;width:60px;background-color: transparent;border: none;color:#666666;" tabindex="-1"/> style="text-align: right;width:60px;background-color: transparent;border: none;"/>
</td> </td>
<td align = 'center' nowrap="true"> <td align = 'center'>
<!-- <xsl:value-of select="dsp_date"/> --> <!-- <xsl:value-of select="dsp_date"/> -->
<!-- <input type="text" class="input_editable" size="8" value="{$dsp_date}" name="Detail3.{normalize-space($dbIDs)}.dsp_date" id="Detail3.{normalize-space($dbIDs)}.dsp_date" onchange = "javascript:checkDateFormat('dsp_date',this.id);" maxlength="8" ISCHANGED="false" /> ( DD/MM/YY ) <!-- <input type="text" class="input_editable" size="8" value="{$dsp_date}" name="Detail3.{normalize-space($dbIDs)}.dsp_date" id="Detail3.{normalize-space($dbIDs)}.dsp_date" onchange = "javascript:checkDateFormat('dsp_date',this.id);" maxlength="8" ISCHANGED="false" /> ( DD/MM/YY )
<img border="0" src="/ibase/webitm/images/calender.png" id="dsp_date" name="dsp_date" onClick="selectedObj = 'Detail3.{normalize-space($dbIDs)}.dsp_date'; javascript:show_calendar('Detail3.{normalize-space($dbIDs)}.dsp_date','','','dd/MM/yy');"/> --> <img border="0" src="/ibase/webitm/images/calender.png" id="dsp_date" name="dsp_date" onClick="selectedObj = 'Detail3.{normalize-space($dbIDs)}.dsp_date'; javascript:show_calendar('Detail3.{normalize-space($dbIDs)}.dsp_date','','','dd/MM/yy');"/> -->
<input type="text" class="input_editable" size="8" value="{$dsp_date}" name="Detail3.{normalize-space($dbIDs)}.dsp_date" id="dsp_date{normalize-space($dbIDs)}" onkeydown = 'return false;' maxlength="8" placeholder = "DD/MM/YY" tabindex="-1"/> <input type="text" class="input_editable" size="8" value="{$dsp_date}" name="Detail3.{normalize-space($dbIDs)}.dsp_date" id="dsp_date{normalize-space($dbIDs)}" onkeydown = 'return false;' maxlength="8" placeholder = "DD/MM/YY"/>
<img border="0" src="/ibase/webitm/images/calender.png" style = "margin-bottom:-5px;margin-left:3px;cursor: hand;" id="dsp_date" name="dsp_date" onClick="javascript:setDate('dsp_date{normalize-space($dbIDs)}');"/> <img border="0" src="/ibase/webitm/images/calender.png" style = "margin-bottom:-5px;margin-left:3px;cursor: hand;" id="dsp_date" name="dsp_date" onClick="javascript:setDate('dsp_date{normalize-space($dbIDs)}');"/>
</td> </td>
...@@ -466,54 +419,20 @@ ...@@ -466,54 +419,20 @@
<xsl:value-of select="item_parnt"/> <xsl:value-of select="item_parnt"/>
</td> --> </td> -->
<td class="td_rightAlign" style="width:75px;" nowrap="true"> <td class="td_leftAlign">
<!-- <xsl:value-of select="net_amt"/> -->
<input type="text" class ="taxAmountClass" maxlength="4" readOnly = "1"
value="{$tax_amt}" name="Detail3.{normalize-space($dbIDs)}.tax_amt" id="Detail3.{normalize-space($dbIDs)}.tax_amt" onchange= "sendTaxInfo();" onclick="getxmlData(({$line_no__contr}),({normalize-space($dbIDs)}));"
style="text-align: right;width:60px;background-color: transparent;border: none;color:#666666;" tabindex="-1"/>
</td>
<td class="td_rightAlign" style="width:75px;" nowrap="true">
<!-- <xsl:value-of select="net_amt"/> -->
<input type="text" maxlength="4" readOnly = "1"
value="{$tax_chap}" name="Detail3.{normalize-space($dbIDs)}.tax_chap" id="Detail3.{normalize-space($dbIDs)}.tax_chap"
style="text-align: right;width:60px;background-color: transparent;border: none;color:#666666;" tabindex="-1"/>
</td>
<td class="td_rightAlign" style="width:75px;" nowrap="true">
<!-- <xsl:value-of select="net_amt"/> -->
<input type="text" maxlength="4" readOnly = "1"
value="{$tax_class}" name="Detail3.{normalize-space($dbIDs)}.tax_class" id="Detail3.{normalize-space($dbIDs)}.tax_class"
style="text-align: right;width:60px;background-color: transparent;border: none;color:#666666;" tabindex="-1"/>
</td>
<td class="td_rightAlign" style="width:75px;" nowrap="true">
<!-- <xsl:value-of select="net_amt"/> -->
<input type="text" maxlength="4" readOnly = "1"
value="{$tax_env}" name="Detail3.{normalize-space($dbIDs)}.tax_env" id="Detail3.{normalize-space($dbIDs)}.tax_env"
style="text-align: right;width:60px;background-color: transparent;border: none;color:#666666;" tabindex="-1"/>
</td>
<!-- <td class="td_leftAlign" nowrap="true">
&#160; &#160;
<xsl:value-of select="tax_chap"/> <xsl:value-of select="tax_chap"/>
</td> --> </td>
<!-- <td class="td_leftAlign" nowrap="true"> <td class="td_leftAlign">
&#160; &#160;
<xsl:value-of select="tax_class"/> <xsl:value-of select="tax_class"/>
</td> --> </td>
<!-- <td class="td_leftAlign" nowrap="true"> <td class="td_leftAlign">
&#160; &#160;
<xsl:value-of select="tax_env"/> <xsl:value-of select="tax_env"/>
</td> --> </td>
<!-- <input type="hidden" value="{$item_parnt}" name="Detail3.{normalize-space($dbIDs)}.item_parnt" id="Detail3.{normalize-space($dbIDs)}.item_parnt" /> <!-- <input type="hidden" value="{$item_parnt}" name="Detail3.{normalize-space($dbIDs)}.item_parnt" id="Detail3.{normalize-space($dbIDs)}.item_parnt" />
<input type="hidden" value="{$item_code}" name="Detail3.{normalize-space($dbIDs)}.item_code" id="Detail3.{normalize-space($dbIDs)}.item_code" /> <input type="hidden" value="{$item_code}" name="Detail3.{normalize-space($dbIDs)}.item_code" id="Detail3.{normalize-space($dbIDs)}.item_code" />
...@@ -530,24 +449,6 @@ ...@@ -530,24 +449,6 @@
<input type="hidden" value="{$unit__rate}" name="Detail3.{normalize-space($dbIDs)}.unit__rate" id="Detail3.{normalize-space($dbIDs)}.unit__rate" /> <input type="hidden" value="{$unit__rate}" name="Detail3.{normalize-space($dbIDs)}.unit__rate" id="Detail3.{normalize-space($dbIDs)}.unit__rate" />
<input type="hidden" value="{$item_flg}" name="Detail3.{normalize-space($dbIDs)}.item_flg" id="Detail3.{normalize-space($dbIDs)}.item_flg" /> <input type="hidden" value="{$item_flg}" name="Detail3.{normalize-space($dbIDs)}.item_flg" id="Detail3.{normalize-space($dbIDs)}.item_flg" />
<input type="hidden" value="{$line_no__contr}" name="Detail3.{normalize-space($dbIDs)}.line_no__contr" id="Detail3.{normalize-space($dbIDs)}.line_no__contr" /> <input type="hidden" value="{$line_no__contr}" name="Detail3.{normalize-space($dbIDs)}.line_no__contr" id="Detail3.{normalize-space($dbIDs)}.line_no__contr" />
<input type="hidden" value="{$item_ser}" name="Detail3.{normalize-space($dbIDs)}.item_ser" id="Detail3.{normalize-space($dbIDs)}.item_ser" />
<input type="hidden" value="{$rate__clg}" name="Detail3.{normalize-space($dbIDs)}.rate__clg" id="Detail3.{normalize-space($dbIDs)}.rate__clg" />
<input type="hidden" value="{$tax_amt}" name="Detail3.{normalize-space($dbIDs)}.tax_amt" id="Detail3.{normalize-space($dbIDs)}.tax_amt" />
<input type="hidden" value="{$item_code}" name="Detail3.{normalize-space($dbIDs)}.item_code" id="Detail3.{normalize-space($dbIDs)}.item_code" />
<input type="hidden" value="" name="Detail3.{normalize-space($dbIDs)}.natue" id="Detail3.{normalize-space($dbIDs)}.nature" />
<!-- <input type="hidden" value="{$cust_code__dlv}" name="Detail3.{normalize-space($dbIDs)}.cust_code__dlv" id="Detail3.{normalize-space($dbIDs)}.cust_code__dlv" /> -->
<input type="hidden" value="{$discount}" name="Detail3.{normalize-space($dbIDs)}.discount" id="Detail3.{normalize-space($dbIDs)}.discount" />
<input type="hidden" value="" id="Detail3.{normalize-space($dbIDs)}.tax_xml" />
<!-- <input type="hidden" class="editInputClass editInputCur" value="{$discount}" name="Detail3.{normalize-space($dbIDs)}.discount" id="Detail3.{normalize-space($dbIDs)}.discount"
style="width:100%;border:none;text-align: right; outline:none" maxlength="10"
onchange='sendInfo("Detail3.{normalize-space($dbIDs)}.quantity");'
onkeypress='return isQuantity(event);' onfocus='setActiveTD(this);'/> -->
</tr> </tr>
</xsl:if> </xsl:if>
...@@ -556,40 +457,83 @@ ...@@ -556,40 +457,83 @@
</table> </table>
</div> </div>
<div style="width=20%;height:6px;margin-left=-12px;margin-top:5px;margin-bottom:0px;"> <!-- <table>
<table cellSpacing="1" cellPadding="1" width="50%" border="0"> <tr>
<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" />
<input type="hidden" value="sorderWiz" name="OBJ_NAME" /> <input type="hidden" value="sorderWiz" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" /> <input type="hidden" value="" name="action" id="action" />
<input type="hidden" value="2:MP" name="formType" id="formType" /> <input type="hidden" value="2:MP" name="formType" id="formType" />
<input type="hidden" name="PRE_FORM_VAL" ID="PRE_FORM_VAL" /> <input type="hidden" name="PRE_FORM_VAL" ID="PRE_FORM_VAL" />
<input type="hidden" name="PRE_FORM_VAL2" ID="PRE_FORM_VAL2" /> <input type="hidden" name="PRE_FORM_VAL2" ID="PRE_FORM_VAL2" />
<input type="hidden" name="EXISITING_COL_VALUES" ID="EXISITING_COL_VALUES" />
<!-- <input type="button" style="cursor:hand" value="Reset" class="button" title='Reset' id="reset" onclick ="createXMLString1('sorderWiz');"/> --> </td>
</tr>
</table> -->
<!-- <table id="errorActivityTable" class="tableClass" border="0" cellSpacing="2" cellPadding="1" width="98%">
<xsl:for-each select="//error">
<xsl:variable name="message"><xsl:value-of select="message"/></xsl:variable>
<xsl:variable name="description"><xsl:value-of select="description"/></xsl:variable>
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domId"/></xsl:variable>
<xsl:variable name="column_name"><xsl:value-of select="@column_name"/></xsl:variable>
<xsl:variable name="trace"><xsl:value-of select="trace"/></xsl:variable>
<tr>
<xsl:if test="position() = 1">
<td class="td_leftAlign" nowrap="true" valign="bottom" width="20%">
Message : <xsl:value-of select="message"/>
</td>
<td class="td_leftAlign" nowrap="true" valign="bottom" width="40%">
Description : <xsl:value-of select="description"/>
</td>
<td class="td_leftAlign" nowrap="true" valign="bottom" width="40%">
Trace : <xsl:value-of select="trace"/>
</td>
</xsl:if>
<xsl:if test="$type = 'W'">
<td class="td_leftAlign" nowrap="true" valign="bottom" width="20%">
Override Warnings :
<input type="checkbox" name="forceSave" value="false" onClick="setChecked(this)"/>
</td>
</xsl:if>
</tr>
<tr>
</tr>
</xsl:for-each>
</table> -->
<!-- </div> -->
<!-- <input type="submit" id="previous" style="cursor:hand" class="button" value="Previous" title='Previous' onclick="return form3Pre();"/>
<input type="submit" id="finish" style="cursor:hand" class="button" value="Finish" title='Finish' onclick="return checkRate();"/>
<div id="buttonreplacement" align="center" style="display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
Please wait......
</img>
</div> -->
<div style="width=20%;height:6px;margin-left=-12px;margin-top:1px;margin-bottom:0px;">
<table cellSpacing="1" cellPadding="1" width="50%" border="0">
<input type="hidden" value="3" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="sorderWiz" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type="hidden" value="2:MP" name="formType" id="formType" />
<input type="hidden" name="PRE_FORM_VAL" ID="PRE_FORM_VAL" />
<input type="hidden" name="PRE_FORM_VAL2" ID="PRE_FORM_VAL2" />
<input type="submit" id="previous" style="cursor:hand" class="button" value="Previous" title='Previous' onclick="return form3Pre();"/> <input type="submit" id="previous" style="cursor:hand" class="button" value="Previous" title='Previous' onclick="return form3Pre();"/>
<input type="submit" id="finish" style="cursor:hand" class="button" value="Finish" title='Finish' onclick="return checkRate();"/> <input type="submit" id="finish" style="cursor:hand" class="button" value="Finish" title='Finish' onclick="return checkRate();"/>
<input type="button" style="cursor:hand" value="Reset" class="tabButton" title='Reset' id="reset" onclick ="javascript:createXMLString1('sorderWiz');"/>
<input type="button" id="callScheme" style="cursor:hand" class="button" value="Schemes" title='Schemes' onclick="getScheme();"/>
<div id="buttonreplacement" align="center" style="display:none;"> <div id="buttonreplacement" align="center" style="display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" > <img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
Please wait...... Please wait......
</img> </img>
</div> </div>
</table> </table>
<div id="BgGlassLastPg" class="bgGlass" style="display: none"></div>
<div id='taxCalDivLastPg' class="popUpContainerForTax"></div>
<div id='SchemeDiv' class="popUpContainerForTax"></div>
</div> </div>
</form> </form>
</body> </body>
<script language="JavaScript" type="text/javascript"> <script language="JavaScript" type="text/javascript">
<![CDATA[ <![CDATA[
fixedTableHdr('Details', '', 'simpleTran') ; fixedTableHdr('Details', '', 'simpleTran') ;
]]> ]]>
......
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