Commit c1fcd335 authored by smestry's avatar smestry

Updated the xsl for Product Wizard


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@102966 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6ed655d7
......@@ -7,7 +7,7 @@
<html>
<body>
<body onload="pageLoadDtl1();" >
<script type="text/javascript" src="/ibase/webitm/js/porderWiz_Popup.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
......@@ -31,14 +31,17 @@
]]>
</script>
<form name="porderWizFormI" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<form name="porderWizFormI" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet" >
<div id="header">
<div id="headingText">Purchase Wizard</div>
</div>
<div class="mainPage-Container" style="overflow: auto;">
<!-- Changed by Sneha on 27-05-2016, for scroll on detail1 [Start] -->
<!-- <div class="mainPage-Container" style="overflow: auto;"> -->
<div class="mainPage-Container" style="overflow: auto; height: 90%;">
<!-- Changed by Sneha on 27-05-2016, for scroll on detail1 [End] -->
<div style="margin-top: 8px; width:100%; padding: 0px; float: left;">
<div style="float: left; width:50%; border: 0px solid; padding: 0px;">
......@@ -80,20 +83,36 @@
<xsl:variable name="udf_str__1"><xsl:value-of select="udf_str__1"/></xsl:variable>
<xsl:variable name="udf_str__3"><xsl:value-of select="udf_str__3"/></xsl:variable>
<xsl:variable name="delivery_term_descr"><xsl:value-of select="delivery_term_descr"/></xsl:variable>
<xsl:variable name="flag"><xsl:value-of select="flag"/></xsl:variable> <!-- Sneha -->
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<input type="hidden" value="{chg_user}" name="Detail1.{normalize-space($dbID)}.chg_user" id="Detail1.{normalize-space($dbID)}.chg_user" />
<input type="hidden" value="{chg_term}" name="Detail1.{normalize-space($dbID)}.chg_term" id="Detail1.{normalize-space($dbID)}.chg_term" />
<input type="hidden" value="{emp_code}" name="Detail1.{normalize-space($dbID)}.emp_code" id="Detail1.{normalize-space($dbID)}.emp_code" />
<input type="hidden" value="{udf_str__2}" name="Detail1.{normalize-space($dbID)}.udf_str__2" id="Detail1.{normalize-space($dbID)}.udf_str__2" />
<!-- <tr>
<input type="hidden" value="{udf_str__3}" name="Detail1.{normalize-space($dbID)}.udf_str__3" id="Detail1.{normalize-space($dbID)}.udf_str__3" />
<!-- Changed by Sneha on 27-05-2016, for purchase order text box [Start] -->
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Purchase Order :</strong>
</td>
<td class="td_leftAlign" colspan="3">
<input type="text" id="purc_order" value="{purc_order}" name="Detail1.{normalize-space($dbID)}.purc_order" class="editInputClass" style="width: 100%"/>
<td class="td_leftAlign">
<div style="width: 90%;">
<input type="text" value="{$purc_order}" id="purc_order" name="Detail1.{normalize-space($dbID)}.purc_order"
class="editInputClass" style="width: 90%" maxlength="10"
onchange="javascript:return validatePurcOrder();" />
<div style="width:5%; float: right;">
<a href="javascript:supp_pop('purc_order','purcorder','Purchase Order');">
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Purchase Order" id = "purcOrder_img" />
</a>
</div>
</div>
</td>
</tr> -->
</tr>
<!-- Changed by Sneha on 27-05-2016, for purchase order text box [End] -->
<tr>
<td class="td_leftAlign" nowrap="true">
......@@ -164,15 +183,16 @@
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Item Series :</strong>
<strong>Item Series* :</strong>
</td>
<td class="td_leftAlign">
<div style="width: 90%;">
<input type="text" class="editInputClass" value="{$item_ser}" id="itmser" name="Detail1.{normalize-space($dbID)}.item_ser"
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 95%;" />
<div style="width:5%; float: right;">
<a href="javascript:supp_pop('item_ser','itmser','Item Series');">
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Item Series"/>
<div style="width:5%; float: right;" >
<a href="javascript:supp_pop('item_ser','itmser','Item Series');" >
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Item Series" id = "itmser_img" />
</a>
</div>
</div>
......@@ -216,7 +236,7 @@
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Supplier Code :</strong>
<strong>Supplier Code* :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
......@@ -224,7 +244,7 @@
id="xyz" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 95%;" />
<div style="width:5%; float: right;">
<a href="javascript:supp_pop('supp_code','xyz','Supplier Code','{site_code__ord}');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Supplier Code"/>
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Supplier Code" id = "supp_img"/>
</a>
</div>
</div>
......@@ -245,7 +265,7 @@
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 95%;" />
<div style="width:5%; float: right;">
<a href="javascript:supp_pop('cr_term','crterm','Credit Term');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Credit Term"/>
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Credit Term" id = "crterm_img" />
</a>
</div>
</div>
......@@ -261,7 +281,8 @@
<strong>Remarks :</strong>
</td>
<td class="td_leftAlign" colspan="3">
<input type="text" value="{remarks}" name="Detail1.{normalize-space($dbID)}.remarks" maxlength="40" class="editInputClass" style="width: 100%"/>
<input type="text" value="{remarks}" name="Detail1.{normalize-space($dbID)}.remarks" id="remarks"
maxlength="40" class="editInputClass" style="width: 100%" onkeyup = "return specialCharValidate(this.id);" />
</td>
</tr>
......@@ -428,7 +449,7 @@
class="editDisplayClass" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 70%;" />
<div style="width:30%; float: right;">
<a href="javascript:supp_pop('curr_code','curr_code','Curr Code');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Currency Code"/>
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Currency Code" id = "curr_img" />
</a>
</div>
</div>
......@@ -441,7 +462,7 @@
</td>
<td class="td_leftAlign">
<input type="text" name="Detail1.{normalize-space($dbID)}.exch_rate" id="exch_rate" value="{$exch_rate}" onkeypress='return isNumberKey(event)'
class="editDisplayClass" maxlength="4" readOnly = "0" style='text-align: right; width: 70%'/>
class="editDisplayClass" maxlength="4" readOnly = "0" style='text-align: right; width: 70%' ISCHANGED="false"/>
</td>
</tr>
......@@ -473,11 +494,10 @@
<td class="td_leftAlign">
<div style="position:relative; width: 100%;">
<input type="text" class="editInputClass" value="{$term_table}" id="term_table" name="Detail1.{normalize-space($dbID)}.term_table"
maxlength="10" ISCHANGED="false" readOnly = "1"
style="width: 70%;" />
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 70%;" />
<div style="width:30%; float: right;">
<a href="javascript:supp_pop('term_table','term_table','Term table');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Term table"/>
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Term table" id="termtbl_img" />
</a>
</div>
</div>
......@@ -494,7 +514,7 @@
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 70%;" />
<div style="width:30%; float: right;">
<a href="javascript:supp_pop('udf_str__1','udf_str__1','Release Type');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Release Type"/>
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Release Type" id="rtype_img" />
</a>
</div>
</div>
......@@ -519,6 +539,7 @@
<tr>
<td>
<input type="submit" onclick="javascript: return validate()" id="NextButton" style="cursor:hand" value="Next" class="button" title='Next'/>
<input type="button" onclick="javascript: return resetDtl()" id="ResetButton" style="cursor:hand" value="Reset" class="button" title='Reset'/> <!-- Changed by Sneha on 27-07-2016, for Reset button -->
</td>
<!--<td>
......
......@@ -48,10 +48,15 @@
<!--//Changed by samadhan on 03/02/2015 for fixed matxix table header End-->
<!--//Changed by Santosh on 12-05-2016 for dummy call-->
<!--body-->
<body onload="dummyServletCall();">
<body onload="dummyServletCall();" >
<form name="porderWizFormII" id="porderWizFormII" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<div class="mainPage-Container">
<div style="overflow: auto;height:90%">
<!-- Changed by Sneha on 27-05-2016, for scroll on detail1 [Start] -->
<!-- <div style="overflow: auto;height:90%"> -->
<div style="overflow: auto;height:87%">
<!-- Changed by Sneha on 27-05-2016, for scroll on detail1 [End] -->
<div style="margin-top: 8px; width:100%; padding: 0px; float: left;">
<table id="activityTable" border="0" cellSpacing="1" cellPadding="0">
<div style="width: 99%; margin-top: 5px;">
......@@ -131,6 +136,8 @@
<input type="hidden" value="{$site_add1}" name="Detail2.0.site_add1" id="site_add1" />
<input type="hidden" value="{$delivery_term_descr}" name="Detail2.0.delivery_term_descr" id="delivery_term_descr" />
<input type="hidden" value="{$udf_str__3}" name="Detail2.0.udf_str__3" id="udf_str__3" /> <!-- Sneha -->
<!--<input type="hidden" value="{normalize-space($supp_code)}" id="supp_code" />
<input type="hidden" value="{normalize-space($purc_order)}" id="purc_order" />
<input type="hidden" value="{normalize-space($ord_date)}" id="ord_date" />
......@@ -156,6 +163,7 @@
</table>
</div>
<xsl:for-each select="//Detail2">
<xsl:variable name="dlv_date"><xsl:value-of select="dlv_date"/></xsl:variable>
<!--Change by samadhan on 19/11/2015 -->
<xsl:variable name="ord_date_m"><xsl:value-of select="ord_date"/></xsl:variable>
......@@ -213,6 +221,8 @@
<input type="hidden" value="1:MP:3" name="formType" id="formType" />
<!-- <input type="submit" style="cursor:hand" value="Next" class="button" title='' onclick="javascript:return checkNullvalidation()" /> -->
<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>
......@@ -241,7 +251,7 @@
</xsl:for-each>
</table>
</div>
<p id="demo"></p>
</div>
<div id="buttonreplacement" style="margin-left:450px;display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
......@@ -252,8 +262,14 @@
<!--<input type="submit" style="cursor:hand" id="NextButton" value="Next" class="button" title='Next' onclick="javascript:setActionVal('next');javascript: return setCheckedTrue()" />-->
<input type="button" style="cursor:hand" id="NextButton" value="Next" class="button" title='Next' onclick="javascript: return setCheckedTrue();" />
<input type="button" style="cursor:hand;float:right;margin-right:50px" id="AddButton" value="Add" class="button" title='Add' onclick="sidebar()" />
<!-- Changed by Sneha on 29-06-2016, for save button [Start]
<input type="button" style="cursor:hand;float:right;margin-right:5px" id="SaveButton" value="Save" class="button" title='Save'
onclick="javascript: savePO();"/>
Changed by Sneha on 29-06-2016, for save button [End] onclick="javascript:demo()"/>-->
</div>
</form>
</body>
</html>
......
......@@ -80,9 +80,7 @@
}
</style>
<!--//Changed by samadhan on 03/02/2015 for fixed matxix table header End-->
<!--//Changed by Santosh on 12-05-2016 for dummy call-->
<!--body-->
<body onload="dummyServletCall();">
<body>
<form name="porderWizFormIII" id="porderFormIII" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<!-- <div id="header" style="width:100%;height:100px">
......@@ -164,6 +162,8 @@
<input type="hidden" value="{$emp_code}" name="Detail3.{normalize-space($dbID)}.emp_code" id="emp_code" />
<input type="hidden" value="{$udf_str__2}" name="Detail3.{normalize-space($dbID)}.udf_str__2" id="udf_str__2" />
<input type="hidden" value="{$udf_str__1}" name="Detail3.{normalize-space($dbID)}.udf_str__1" id="udf_str__1" />
<input type="hidden" value="{$udf_str__3}" name="Detail3.{normalize-space($dbID)}.udf_str__3" id="udf_str__3" />
<input type="hidden" value="{$site_add1}" name="Detail3.{normalize-space($dbID)}.site_add1" id="site_add1" />
<input type="hidden" value="{$delivery_term_descr}" name="Detail3.{normalize-space($dbID)}.delivery_term_descr" id="delivery_term_descr" />
</xsl:if>
......@@ -172,7 +172,7 @@
<!-- Changed by samadhan on 13/07/2015 for previous button working End -->
<table class="mt" id="Details" border="0" cellspacing="1" cellpadding="1">
<thead class="table-head" style="text-align:center;position:relative; line-height: 25px;">
<thead class="table-head" style="text-align:left;position:relative; line-height: 25px;">
<tr class="thClass" >
<th class="thClass" nowrap="true" style="width:20px">
......@@ -276,7 +276,7 @@
<!-- Changed by samadhan on 13/07/2015 for previous button working -->
<xsl:if test="$dbID != '0'">
<tr class="tdClass" style="text-align:center">
<tr class="tdClass" style="text-align:left">
<!--<td style="width:20px">
<input type="checkbox" name="Detail3.{normalize-space($dbID)}.selectbox" id="Detail3.{normalize-space($dbID)}.selectbox" checked='true' value="true" onClick="setChecked(this)"/>
</td>-->
......
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