Commit d6f29a60 authored by wansari's avatar wansari

updated XSL for galaxy theme changes


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103910 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9f5169ac
...@@ -9,629 +9,583 @@ ...@@ -9,629 +9,583 @@
<body onload="pageLoadDtl1();" > <body onload="pageLoadDtl1();" >
<script type="text/javascript" src="/ibase/webitm/js/porderWiz_Popup.js"></script> <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> <script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script> <script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<link href="/ibase/webitm/css/DD/ProductWizard.css" rel="stylesheet"/> <script language="Javascript" src="/ibase/webitm/js/jquery.datetimepicker.full.js"></script>
<link href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/> <link type="text/css" rel="stylesheet" href="/ibase/webitm/css/jquery.datetimepicker.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/porderWiz.css"/>
<script> <script>
<![CDATA[ <![CDATA[
$(function() { $(function() {
$( "#orddate").datepicker({ changeDate: true, changeMonth: true, changeYear: true, dateFormat : "dd/mm/y"}); <!-- $( "#orddate").datepicker({ changeDate: true, changeMonth: true, changeYear: true, dateFormat : "dd/mm/y"});
$( "#accordion" ).accordion({ collapsible:true, active:false }); $( "#accordion" ).accordion({ collapsible:true, active:false }); -->
if(document.getElementById("curr_code").value != "GBP" && document.getElementById("xyz").value != "") if(document.getElementById("curr_code").value != "GBP" && document.getElementById("supp_code").value != "")
{ {
document.getElementById("exch_rate").className = "editInputClass"; document.getElementById("exch_rate").className = "input_editable";
document.getElementById("exch_rate").readOnly = false; document.getElementById("exch_rate").readOnly = false;
} }
}); });
]]> ]]>
</script> </script>
<form name="porderWizFormI" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet" > <style type="text/css">
<div id="header"> .editDisplayClass{
<div id="headingText">Purchase Wizard</div> background-color:rgba(166, 166, 166, 0.1);
</div> font-size: 14px;
border:none;
<!-- 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;"> </style>
<div style="float: left; width:50%; border: 0px solid; padding: 0px;">
<form name="porderWizFormI" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet" style="background-color: #f7f8fa;">
<table id="activityTable" border="0" cellSpacing="1" cellPadding="0">
<xsl:for-each select="//Detail1"> <TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<xsl:variable name="purc_order"><xsl:value-of select="purc_order"/></xsl:variable> <TR>
<xsl:variable name="ord_date"><xsl:value-of select="ord_date"/></xsl:variable> <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;"/>
<xsl:variable name="ind_no"><xsl:value-of select="ind_no"/></xsl:variable> <TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable> Purchase Order
<xsl:variable name="supp_code"><xsl:value-of select="supp_code"/></xsl:variable> </TD>
<xsl:variable name="supp_name"><xsl:value-of select="supp_name"/></xsl:variable> </div>
<xsl:variable name="cr_term"><xsl:value-of select="cr_term"/></xsl:variable> </TR>
<xsl:variable name="crterm_descr"><xsl:value-of select="crterm_descr"/></xsl:variable> </TABLE>
<xsl:variable name="remarks"><xsl:value-of select="remarks"/></xsl:variable>
<xsl:variable name="confirmed"><xsl:value-of select="confirmed"/></xsl:variable> <div class="pageContentWrapper" style="height:75%;overflow:auto;">
<xsl:variable name="dlv_term"><xsl:value-of select="dlv_term"/></xsl:variable> <table id="activityTable" Class="editDisplayColumnClass" border="0" cellSpacing="0" width="99%" cellPadding="5">
<xsl:variable name="trans_mode"><xsl:value-of select="trans_mode"/></xsl:variable>
<xsl:variable name="price_list"><xsl:value-of select="price_list"/></xsl:variable> <xsl:for-each select="//Detail1">
<xsl:variable name="conf_date"><xsl:value-of select="conf_date"/></xsl:variable> <xsl:variable name="purc_order"><xsl:value-of select="purc_order"/></xsl:variable>
<xsl:variable name="exch_rate"><xsl:value-of select="exch_rate"/></xsl:variable> <xsl:variable name="ord_date"><xsl:value-of select="ord_date"/></xsl:variable>
<xsl:variable name="dept_code"><xsl:value-of select="dept_code"/></xsl:variable> <xsl:variable name="ind_no"><xsl:value-of select="ind_no"/></xsl:variable>
<xsl:variable name="department_descr"><xsl:value-of select="department_descr"/></xsl:variable> <xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="tran_code"><xsl:value-of select="tran_code"/></xsl:variable> <xsl:variable name="supp_code"><xsl:value-of select="supp_code"/></xsl:variable>
<xsl:variable name="tran_name"><xsl:value-of select="tran_name"/></xsl:variable> <xsl:variable name="supp_name"><xsl:value-of select="supp_name"/></xsl:variable>
<xsl:variable name="tran_date"><xsl:value-of select="tran_date"/></xsl:variable> <xsl:variable name="cr_term"><xsl:value-of select="cr_term"/></xsl:variable>
<xsl:variable name="pord_type"><xsl:value-of select="pord_type"/></xsl:variable> <xsl:variable name="crterm_descr"><xsl:value-of select="crterm_descr"/></xsl:variable>
<xsl:variable name="task_desc"><xsl:value-of select="task_desc"/></xsl:variable> <xsl:variable name="remarks"><xsl:value-of select="remarks"/></xsl:variable>
<xsl:variable name="site_code__dlv"><xsl:value-of select="site_code__dlv"/></xsl:variable> <xsl:variable name="confirmed"><xsl:value-of select="confirmed"/></xsl:variable>
<xsl:variable name="site_code__ord"><xsl:value-of select="site_code__ord"/></xsl:variable> <xsl:variable name="dlv_term"><xsl:value-of select="dlv_term"/></xsl:variable>
<xsl:variable name="site_descr"><xsl:value-of select="site_descr"/></xsl:variable> <xsl:variable name="trans_mode"><xsl:value-of select="trans_mode"/></xsl:variable>
<xsl:variable name="site_add1"><xsl:value-of select="site_add1"/></xsl:variable> <xsl:variable name="price_list"><xsl:value-of select="price_list"/></xsl:variable>
<xsl:variable name="emp_code"><xsl:value-of select="emp_code"/></xsl:variable> <xsl:variable name="conf_date"><xsl:value-of select="conf_date"/></xsl:variable>
<xsl:variable name="curr_code"><xsl:value-of select="curr_code"/></xsl:variable> <xsl:variable name="exch_rate"><xsl:value-of select="exch_rate"/></xsl:variable>
<xsl:variable name="chg_user"><xsl:value-of select="chg_user"/></xsl:variable> <xsl:variable name="dept_code"><xsl:value-of select="dept_code"/></xsl:variable>
<xsl:variable name="chg_term"><xsl:value-of select="chg_term"/></xsl:variable> <xsl:variable name="department_descr"><xsl:value-of select="department_descr"/></xsl:variable>
<xsl:variable name="term_table"><xsl:value-of select="term_table"/></xsl:variable> <xsl:variable name="tran_code"><xsl:value-of select="tran_code"/></xsl:variable>
<xsl:variable name="udf_str__2"><xsl:value-of select="udf_str__2"/></xsl:variable> <xsl:variable name="tran_name"><xsl:value-of select="tran_name"/></xsl:variable>
<xsl:variable name="udf_str__1"><xsl:value-of select="udf_str__1"/></xsl:variable> <xsl:variable name="tran_date"><xsl:value-of select="tran_date"/></xsl:variable>
<xsl:variable name="udf_str__3"><xsl:value-of select="udf_str__3"/></xsl:variable> <xsl:variable name="pord_type"><xsl:value-of select="pord_type"/></xsl:variable>
<xsl:variable name="delivery_term_descr"><xsl:value-of select="delivery_term_descr"/></xsl:variable> <xsl:variable name="task_desc"><xsl:value-of select="task_desc"/></xsl:variable>
<xsl:variable name="flag"><xsl:value-of select="flag"/></xsl:variable> <!-- Sneha --> <xsl:variable name="site_code__dlv"><xsl:value-of select="site_code__dlv"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable> <xsl:variable name="site_code__ord"><xsl:value-of select="site_code__ord"/></xsl:variable>
<xsl:variable name="site_descr"><xsl:value-of select="site_descr"/></xsl:variable>
<input type="hidden" value="{chg_user}" name="Detail1.{normalize-space($dbID)}.chg_user" id="Detail1.{normalize-space($dbID)}.chg_user" /> <xsl:variable name="site_add1"><xsl:value-of select="site_add1"/></xsl:variable>
<input type="hidden" value="{chg_term}" name="Detail1.{normalize-space($dbID)}.chg_term" id="Detail1.{normalize-space($dbID)}.chg_term" /> <xsl:variable name="emp_code"><xsl:value-of select="emp_code"/></xsl:variable>
<input type="hidden" value="{emp_code}" name="Detail1.{normalize-space($dbID)}.emp_code" id="Detail1.{normalize-space($dbID)}.emp_code" /> <xsl:variable name="curr_code"><xsl:value-of select="curr_code"/></xsl:variable>
<input type="hidden" value="{udf_str__2}" name="Detail1.{normalize-space($dbID)}.udf_str__2" id="Detail1.{normalize-space($dbID)}.udf_str__2" /> <xsl:variable name="chg_user"><xsl:value-of select="chg_user"/></xsl:variable>
<input type="hidden" value="{udf_str__3}" name="Detail1.{normalize-space($dbID)}.udf_str__3" id="Detail1.{normalize-space($dbID)}.udf_str__3" /> <xsl:variable name="chg_term"><xsl:value-of select="chg_term"/></xsl:variable>
<xsl:variable name="term_table"><xsl:value-of select="term_table"/></xsl:variable>
<!-- Changed by Sneha on 27-05-2016, for purchase order text box [Start] --> <xsl:variable name="udf_str__2"><xsl:value-of select="udf_str__2"/></xsl:variable>
<tr> <xsl:variable name="udf_str__1"><xsl:value-of select="udf_str__1"/></xsl:variable>
<td class="td_leftAlign" nowrap="true"> <xsl:variable name="udf_str__3"><xsl:value-of select="udf_str__3"/></xsl:variable>
<strong>Purchase Order :</strong> <xsl:variable name="delivery_term_descr"><xsl:value-of select="delivery_term_descr"/></xsl:variable>
</td> <xsl:variable name="flag"><xsl:value-of select="flag"/></xsl:variable> <!-- Sneha -->
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<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>
<!-- Changed by Sneha on 27-05-2016, for purchase order text box [End] -->
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Order Date :</strong>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.ord_date" id="orddate"
value="{$ord_date}" class="editInputClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 20%" />
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Order Site :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 100%;">
<input type="text" class="editDisplayClass" id="order_site" name="Detail1.{normalize-space($dbID)}.site_code__ord"
value="{site_code__ord}" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 50%;" />
</div>
</td>
</tr>
<!--<tr>
<td class="td_leftAlign" nowrap="true">
<strong>IND Number :</strong>
</td>
<td class="td_leftAlign" colspan="3">
<input type="text" value="{$ind_no}" name="Detail1.{normalize-space($dbID)}.ind_no" class="editInputClass" style="width: 100%"/>
</td>
</tr> -->
<!-- Changed by samadhan on 06 07 2015 Start -->
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Transaction Type :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<select name="Detail1.{normalize-space($dbID)}.pord_type" id="pord_type" onchange = "setBlank()" >
<xsl:choose>
<xsl:when test="$pord_type ='T'">
<option value="T" selected="selected" >Trading</option>
</xsl:when>
<xsl:otherwise>
<option value="T" >Trading</option>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="$pord_type ='N'">
<option value="N" selected="selected" >Non Trading</option>
</xsl:when>
<xsl:otherwise>
<option value="N" >Non Trading</option>
</xsl:otherwise>
</xsl:choose>
</select>
</div>
</td>
</tr>
<!-- Changed by samadhan on 06 07 2015 End -->
<tr>
<td class="td_leftAlign" nowrap="true">
<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" id = "itmser_img" />
</a>
</div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.task_desc" id="itmdescr"
value="{task_desc}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 180px" />
</td>
</tr>
<!-- Changed by Samadhan
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Transaction Type :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" class="editDisplayClass" value="{$pord_type}" id="type" name="Detail1.{normalize-space($dbID)}.pord_type"
maxlength="10" ISCHANGED="false" readOnly = "1"
style="width: 40%;" />
-->
<!--<div style="width:3%; float: right;"> <input type="hidden" value="{chg_user}" name="Detail1.{normalize-space($dbID)}.chg_user" id="Detail1.{normalize-space($dbID)}.chg_user" />
<a href="javascript:supp_pop('type','type','Tran Type');" style="float: left;text-decoration: none;"> <input type="hidden" value="{chg_term}" name="Detail1.{normalize-space($dbID)}.chg_term" id="Detail1.{normalize-space($dbID)}.chg_term" />
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Tran Type"/> <input type="hidden" value="{emp_code}" name="Detail1.{normalize-space($dbID)}.emp_code" id="Detail1.{normalize-space($dbID)}.emp_code" />
</a> <input type="hidden" value="{udf_str__2}" name="Detail1.{normalize-space($dbID)}.udf_str__2" id="Detail1.{normalize-space($dbID)}.udf_str__2" />
</div>--> <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 Samadhan
</div> <!-- Changed by Sneha on 27-05-2016, for purchase order text box [Start] -->
</td> <tr>
--> <td class="td_rightAlign" nowrap="true">
Purchase Order :
<!--<td colspan="2"> </td>
<input type="text" name="Detail1.{normalize-space($dbID)}.task_desc" id="typedescr"
value="{task_desc}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" />
</td>-->
<!-- Changed by Samadhan
</tr>
-->
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Supplier Code* :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" value="{supp_code}" name="Detail1.{normalize-space($dbID)}.supp_code"
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" id = "supp_img"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.supp_name" id="pqr"
value="{supp_name}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 180px" />
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Credit Terms :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" value="{$cr_term}" id="crterm" name="Detail1.{normalize-space($dbID)}.cr_term"
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" id = "crterm_img" />
</a>
</div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.crterm_descr" id="crdescr"
value="{crterm_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 180px" />
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Remarks :</strong>
</td>
<td class="td_leftAlign" colspan="3">
<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>
<!-- <tr>
<td class="td_leftAlign" nowrap="true">
<strong>Confirmed :</strong>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.confirmed"
value="{$confirmed}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 25%" />
</td>
</tr> -->
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Deliver At :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 100%;">
<input type="text" class="editDisplayClass" value="{site_code__dlv}" name="Detail1.{normalize-space($dbID)}.site_code__dlv"
id="site_code__dlv" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 50%;" />
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" value="{$purc_order}" id="purc_order" name="Detail1.{normalize-space($dbID)}.purc_order"
class="input_editable" style="width: 100%" maxlength="10"
onchange="javascript:return validatePurcOrder();" />
</div>
<div style="width:2%;float: left;padding-left:2px">
<!-- <a href="javascript:callListJSP('purc_order','purcorder','Purchase Order');">
<img src="/ibase/webitm/images/pophelp.png" title="Select Purchase Order" id = "purcOrder_img" />
</a> -->
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($purc_order)}','purc_order', 'Purchase Order', 0);">
<img src="/ibase/webitm/images/pophelp.png" title="Select Purchase Order" id = "purcOrder_img" />
</a>
</div>
</div>
</td>
<td>
</td>
<!--<div style="width:3%; float: right;"> </tr>
<a href="javascript:supp_pop('site_code__dlv','site_code__dlv','Site Code');" style="float: left;text-decoration: none;"> <!-- Changed by Sneha on 27-05-2016, for purchase order text box [End] -->
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Delivery Site"/>
</a> <tr>
</div>--> <td class="td_rightAlign" nowrap="true">
</div> <strong>Order Date :</strong>
</td> </td>
<!--<td colspan="2"> <td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.site_descr" id="dlvDescr" <!-- <input type="text" name="Detail1.{normalize-space($dbID)}.ord_date" id="orddate"
value="{site_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" /> value="{$ord_date}" class="input_editable" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 20%" /> -->
</td>-->
</tr> <input type="text" class="input_editable" size="8" value="{$ord_date}" name="Detail1.{normalize-space($dbID)}.ord_date" id="orddate" maxlength="8" ISCHANGED="false" placeholder = "DD/MM/YY"/>
<img border="0" src="/ibase/webitm/images/calender.png" style = "margin-bottom:-5px;margin-left:3px;cursor: hand;" id="orddate" name="orddate" onClick="javascript:setDate('orddate');"/>
<!--<tr> </td>
<td class="td_leftAlign" nowrap="true"> </tr>
<strong>Site Address1 :</strong>
</td> <tr>
<td class="td_leftAlign" colspan="3"> <td class="td_rightAlign" nowrap="true">
<input type="text" name="Detail1.{normalize-space($dbID)}.site_add1" value="{site_add1}" maxlength="40" class="editInputClass" style="width: 100%"/> <strong>Order Site :</strong>
</td> </td>
</tr>--> <td class="td_leftAlign">
<input type="text" class="editDisplayClass" id="order_site" name="Detail1.{normalize-space($dbID)}.site_code__ord"
<!--<tr> value="{site_code__ord}" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 21%;" />
<td class="td_leftAlign" nowrap="true"> </td>
<strong>Delivery Terms :</strong> <td>
</td> </td>
<td class="td_leftAlign" colspan="3"> </tr>
<input type="text" name="Detail1.{normalize-space($dbID)}.dlv_term" ISCHANGED="false" readOnly = "1"
id="dlvterm" value="{$dlv_term}" class="editInputClass" style="width: 100%"/> <!--<tr>
</td> <td class="td_leftAlign" nowrap="true">
</tr>--> <strong>IND Number :</strong>
</td>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.dlv_term" ISCHANGED="false" readOnly = "1" <td class="td_leftAlign" colspan="3">
id="dlvterm" value="{$dlv_term}" class="editInputClass" style="width: 100%"/> <input type="text" value="{$ind_no}" name="Detail1.{normalize-space($dbID)}.ind_no" class="input_editable" style="width: 100%"/>
</td>
<tr> </tr> -->
<td class="td_leftAlign" nowrap="true">
<strong>Transporter Code :</strong> <!-- Changed by samadhan on 06 07 2015 Start -->
</td> <tr>
<td class="td_leftAlign"> <td class="td_rightAlign" nowrap="true">
<div style="position:relative; width: 90%;"> <strong>Transaction Type :</strong>
<input type="text" class="editInputClass" value="{$tran_code}" id="trcode" name="Detail1.{normalize-space($dbID)}.tran_code" </td>
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 95%;" /> <td class="td_leftAlign">
<div style="width:5%; float: right;"> <div style="position:relative; width: 21%;">
<a href="javascript:supp_pop('tran_code','trcode','Transporter Code');" style="float: left;text-decoration: none;"> <select name="Detail1.{normalize-space($dbID)}.pord_type" id="pord_type" class="input_editable" style ="width:100%" onchange = "setBlank()" >
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Transporter Code"/>
</a>
</div> <xsl:choose>
</div> <xsl:when test="$pord_type ='T'">
</td> <option value="T" selected="selected" >Trading</option>
<td colspan="2"> </xsl:when>
<input type="text" name="Detail1.{normalize-space($dbID)}.tran_name" id="trdescr" <xsl:otherwise>
value="{tran_code}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 225px" /> <option value="T" >Trading</option>
</td> </xsl:otherwise>
</tr> </xsl:choose>
<!--<tr> <xsl:choose>
<td class="td_leftAlign" nowrap="true"> <xsl:when test="$pord_type ='N'">
<strong>Transporter Mode :</strong> <option value="N" selected="selected" >Non Trading</option>
</td> </xsl:when>
<td class="td_leftAlign"> <xsl:otherwise>
<input type="text" value="{$trans_mode}" ISCHANGED="false" readOnly = "1" name="Detail1.{normalize-space($dbID)}.trans_mode" <option value="N" >Non Trading</option>
class="editInputClass" id="trmode" maxlength="10" style='text-align: right; width: 100%'/> </xsl:otherwise>
</td> </xsl:choose>
<td>
<a href="javascript:supp_pop('trans_mode','trmode','Transporter Mode');" style="float: left;text-decoration: none;"> </select>
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Transporter Mode"/>
</a> </div>
</td> </td>
</tr>--> <td>
</td>
</tr>
<tr> <!-- Changed by samadhan on 06 07 2015 End -->
<td class="td_leftAlign" nowrap="true">
<strong>Transporter Mode :</strong>
</td> <tr>
<td class="td_leftAlign"> <td class="td_rightAlign" nowrap="true">
<div style="position:relative; width: 100%;"> <strong>Item Series* :</strong>
<input type="text" class="editInputClass" value="{$trans_mode}" id="trmode" name="Detail1.{normalize-space($dbID)}.trans_mode" </td>
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 30%;" /> <td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width:70%; float: right;"> <div style="width: 100%;">
<a href="javascript:supp_pop('trans_mode','trmode','Transporter Mode');" style="float: left;text-decoration: none;"> <div style="width: 20%;float: left;">
<input type="text" style = "width:100%" class="input_editable" value="{$item_ser}" id="itmser" name="Detail1.{normalize-space($dbID)}.item_ser"
maxlength="10" ISCHANGED="false" readOnly = "1" />
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','itmser','item_ser', 'Purchase Order', 0);">
<img src="/ibase/webitm/images/pophelp.png" title="Select Item Series" id = "itmser_img" />
</a>
</div>
<div style="float: left;width: 70%;padding-left:3px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.task_desc" id="itmdescr"
value="{task_desc}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style = "width: 100%;"/>
</div>
</div>
</td>
<td>
</td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Supplier Code* :</strong>
</td>
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{supp_code}" name="Detail1.{normalize-space($dbID)}.supp_code"
id="supp_code" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','supp_code','supp_code', 'Supplier Code', 0);">
<img src="/ibase/webitm/images/pophelp.png" title="Select Supplier Code" id = "supp_img"/>
</a>
</div>
<div style="float: left;width: 70%;padding-left:3px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.supp_name" id="pqr"
value="{supp_name}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div>
</div>
</td>
<td>
</td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Credit Terms :</strong>
</td>
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$cr_term}" id="crterm" name="Detail1.{normalize-space($dbID)}.cr_term"
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','crterm','cr_term', 'Credit Term', 0);">
<img src="/ibase/webitm/images/pophelp.png" title="Select Credit Term" id = "crterm_img" />
</a>
</div>
<div style="float: left;width: 70%;padding-left:3px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.crterm_descr" id="crdescr"
value="{crterm_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div>
</div>
</td>
<td>
</td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Remarks :</strong>
</td>
<td class="td_leftAlign" colspan="2">
<input type="text" value="{remarks}" name="Detail1.{normalize-space($dbID)}.remarks" id="remarks"
maxlength="40" class="input_editable" style="width: 100%" onkeyup = "return specialCharValidate(this.id);" />
</td>
</tr>
<!-- <tr>
<td class="td_leftAlign" nowrap="true">
<strong>Confirmed :</strong>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.confirmed"
value="{$confirmed}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 25%" />
</td>
</tr> -->
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Deliver At :</strong>
</td>
<td class="td_leftAlign">
<input type="text" class="editDisplayClass" value="{site_code__dlv}" name="Detail1.{normalize-space($dbID)}.site_code__dlv"
id="site_code__dlv" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 45%;" />
<!--<div style="width:3%; float: right;">
<a href="javascript:callListJSP('site_code__dlv','site_code__dlv','Site Code');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Delivery Site"/>
</a>
</div>-->
</td>
<td>
</td>
<!--<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.site_descr" id="dlvDescr"
value="{site_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" />
</td>-->
</tr>
<!--<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Site Address1 :</strong>
</td>
<td class="td_leftAlign" colspan="3">
<input type="text" name="Detail1.{normalize-space($dbID)}.site_add1" value="{site_add1}" maxlength="40" class="input_editable" style="width: 100%"/>
</td>
</tr>-->
<!--<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Delivery Terms :</strong>
</td>
<td class="td_leftAlign" colspan="3">
<input type="text" name="Detail1.{normalize-space($dbID)}.dlv_term" ISCHANGED="false" readOnly = "1"
id="dlvterm" value="{$dlv_term}" class="input_editable" style="width: 100%"/>
</td>
</tr>-->
<input type="hidden" name="Detail1.{normalize-space($dbID)}.dlv_term" ISCHANGED="false" readOnly = "1"
id="dlvterm" value="{$dlv_term}" class="input_editable" style="width: 100%"/>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Transporter Code :</strong>
</td>
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$tran_code}" id="trcode" name="Detail1.{normalize-space($dbID)}.tran_code"
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','trcode','tran_code', 'Transporter Code', 0);">
<img src="/ibase/webitm/images/pophelp.png" title="Select Transporter Code"/>
</a>
</div>
<div style="float: left;width: 70%;padding-left:3px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.tran_name" id="trdescr"
value="{tran_code}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div>
</div>
</td>
<td>
</td>
</tr>
<!--<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Transporter Mode :</strong>
</td>
<td class="td_leftAlign">
<input type="text" value="{$trans_mode}" ISCHANGED="false" readOnly = "1" name="Detail1.{normalize-space($dbID)}.trans_mode"
class="input_editable" id="trmode" maxlength="10" style='text-align: right; width: 100%'/>
</td>
<td>
<a href="javascript:callListJSP('trans_mode','trmode','Transporter Mode');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Transporter Mode"/> <img src="/ibase/webitm/images/DD/popup1.png" title="Select Transporter Mode"/>
</a> </a>
</div> </td>
</div> </tr>-->
</td>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.delivery_term_descr" id="delivery_term_descr" value="{$delivery_term_descr}" /> <tr>
</tr> <td class="td_rightAlign" nowrap="true">
<strong>Transporter Mode :</strong>
<!--<tr> </td>
<td class="td_leftAlign" nowrap="true">
<strong>Tran Date :</strong> <td class="td_leftAlign" colspan = "3" nowrap="true">
</td> <div style="width: 100%;">
<td colspan="2"> <div style="width: 20%;float: left;">
<input type="text" name="Detail1.{normalize-space($dbID)}.tran_date" id="trandate" <input type="text" class="input_editable" value="{$trans_mode}" id="trmode" name="Detail1.{normalize-space($dbID)}.trans_mode"
value="{$tran_date}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 25%" /> maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
</td>
</tr> -->
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Price List :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 100%;">
<input type="text" class="editInputClass" value="{$price_list}" id="prlist" name="Detail1.{normalize-space($dbID)}.price_list"
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 70%;" />
<!--<div style="width:3%; float: right;">
<a href="javascript:supp_pop('price_list','prlist','Price List');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Price List"/>
</a>
</div>-->
</div>
</td>
<!--<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.price_list" id="prdescr"
value="{price_list}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" />
</td>-->
</tr>
<!--<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Confirm Date :</strong>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.conf_date" id="confdate"
value="{$conf_date}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 25%" />
</td>
</tr>-->
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Currency :</strong>
</td>
<td>
<div style="position:relative; width: 100%;">
<input type="text" name="Detail1.{normalize-space($dbID)}.curr_code" value="{$curr_code}" id="curr_code"
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" id = "curr_img" />
</a>
</div>
</div>
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Exchange Rate :</strong>
</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%' ISCHANGED="false"/>
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Department Code :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" value="{$dept_code}" id="dcode" name="Detail1.{normalize-space($dbID)}.dept_code"
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 95%;" />
<div style="width:5%; float: right;">
<a href="javascript:supp_pop('dept_code','dcode','Department Code');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Department Code"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.department_descr" id="ddescr"
value="{department_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 180px" />
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Term Table :</strong>
</td>
<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%;" />
<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" id="termtbl_img" />
</a>
</div>
</div>
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Release Type :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 100%;">
<input type="text" class="editInputClass" value="{$udf_str__1}" id="udf_str__1" name="Detail1.{normalize-space($dbID)}.udf_str__1"
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" id="rtype_img" />
</a>
</div>
</div>
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Release Amt/Perc :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 100%;">
<input type="text" class="editInputClass" value="{$site_add1}" id="site_add1" name="Detail1.{normalize-space($dbID)}.site_add1"
maxlength="11" onkeypress='return isNumberKey(event)' onkeyup='Limit(this.id)' onblur = 'return Round(this.id)'
style="width: 70%;text-align: right;" />
</div> <!-- onfocusout='Round(this.id)' --> <!-- Changed by Sneha on 16-08-2016, to call function onblur event -->
</td>
</tr>
<tr style="height: 10px;">
</tr>
<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>
<input type="button" style="cursor:hand" value="Add" class="button" title='Add'
onclick="sidebar()" />
</td>-->
</tr>
</xsl:for-each>
</table>
</div>
<!--<div style="float: left; width:45%; border: 0px solid; padding: 0px;">
<div id="accordion" style="position: fixed; float: left; margin-left: 5px; width:45%;">
<h3 style="font-family: Arial Unicode MS, Arial, sans-serif;">Item Availability</h3>
<div style="padding: 0.8em 0.8em;">
<div id="suppDtlDiv" style="height: 180px; overflow: auto; margin-left: 0px; width:100%;">
<table id="activityTable" border="0" cellSpacing="1" cellPadding="0">
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Item Parent :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" id="itmcode" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 90%;" />
<div style="width:3%; float: right;">
<a href="javascript:supp_pop('item_code','itmcode','Item Code','wasim');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Item Code"/>
</a>
</div>
</div> </div>
</td> <div style="width:2%;float: left;padding-left:2px">
<td colspan="2"> <a href="javascript:callListJSP('{normalize-space($dbID)}','trmode','trans_mode', 'Transporter MOde', 0);">
<input type="text" id="itmdescription" value="{item_code}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 200px" /> <img src="/ibase/webitm/images/pophelp.png" title="Select Transporter Mode"/>
</td> </a>
</tr> </div>
</table> </div>
</div>
</div>
</div>
</div>-->
</div>
<div style="border: 1px solid transparent; width: 100%;">
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="porderWiz" name="OBJ_NAME" id="OBJ_NAME"/>
<input type="hidden" value="next" name="action" id="action" />
<!-- <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>
<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>
<tr>
<xsl:if test="position() = 1">
<td class="td_leftAlign" nowrap="true" valign="bottom" width="20%" >
<xsl:value-of select="message"/>
</td> </td>
<td class="td_leftAlign" nowrap="true" valign="bottom" width="40%" > <td>
Description : <xsl:value-of select="description"/>
</td> </td>
</xsl:if> <input type="hidden" name="Detail1.{normalize-space($dbID)}.delivery_term_descr" id="delivery_term_descr" value="{$delivery_term_descr}" />
<xsl:if test="$type = 'W'"> </tr>
<td class="td_leftAlign" nowrap="true" valign="bottom" width="20%">
Override Warnings : <!--<tr>
<input type="checkbox" name="forceSave" value="false" onClick="setChecked(this)"/> <td class="td_leftAlign" nowrap="true">
<strong>Tran Date :</strong>
</td> </td>
</xsl:if> <td colspan="2">
</tr> <input type="text" name="Detail1.{normalize-space($dbID)}.tran_date" id="trandate"
value="{$tran_date}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 25%" />
</xsl:for-each> </td>
</table> </tr> -->
</div>
<div id="buttonreplacement" style="margin-left:450px;display:none;"> <tr>
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" > <td class="td_rightAlign" nowrap="true">
Please wait...... <strong>Price List :</strong>
</img> </td>
</div> <td class="td_leftAlign">
<input type="text" class="input_editable" value="{$price_list}" id="prlist" name="Detail1.{normalize-space($dbID)}.price_list"
</div> maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 21%;" />
<!--<div style="width:3%; float: right;">
<a href="javascript:callListJSP('price_list','prlist','Price List');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Price List"/>
</a>
</div>-->
</td>
<td>
</td>
<!--<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.price_list" id="prdescr"
value="{price_list}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" />
</td>-->
</tr>
<!--<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Confirm Date :</strong>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.conf_date" id="confdate"
value="{$conf_date}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 25%" />
</td>
</tr>-->
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Currency :</strong>
</td>
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" name="Detail1.{normalize-space($dbID)}.curr_code" value="{$curr_code}" id="curr_code"
class="editDisplayClass" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','curr_code','curr_code', 'Currency Code', 0);">
<img src="/ibase/webitm/images/pophelp.png" title="Select Currency Code" id = "curr_img" />
</a>
</div>
</div>
</td>
<td>
</td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Exchange Rate :</strong>
</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: 21%' ISCHANGED="false"/>
</td>
<td></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Department Code :</strong>
</td>
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$dept_code}" id="dcode" name="Detail1.{normalize-space($dbID)}.dept_code"
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','dcode','dept_code', 'Department Code', 0);">
<img src="/ibase/webitm/images/pophelp.png" title="Select Department Code"/>
</a>
</div>
<div style="float: left;width: 70%;padding-left:3px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.department_descr" id="ddescr"
value="{department_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div>
</div>
</td>
<td>
</td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Term Table :</strong>
</td>
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$term_table}" id="term_table" name="Detail1.{normalize-space($dbID)}.term_table"
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','term_table','term_table', 'Term Table', 0);">
<img src="/ibase/webitm/images/pophelp.png" title="Select Term table" id="termtbl_img" />
</a>
</div>
</div>
</td>
<td>
</td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Release Type :</strong>
</td>
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$udf_str__1}" id="udf_str__1" name="Detail1.{normalize-space($dbID)}.udf_str__1"
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','udf_str__1','udf_str__1', 'Release Type', 0);">
<img src="/ibase/webitm/images/pophelp.png" title="Select Release Type" id="rtype_img" />
</a>
</div>
</div>
</td>
<td>
</td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Release Amt/Perc :</strong>
</td>
<td class="td_leftAlign">
<input type="text" class="input_editable" value="{$site_add1}" id="site_add1" name="Detail1.{normalize-space($dbID)}.site_add1"
maxlength="11" onkeypress='return isNumberKey(event)' onkeyup='Limit(this.id)' onblur = 'return Round(this.id)'
style="width: 21%;text-align: right;" />
</td>
</tr>
</xsl:for-each>
</table>
</div>
<div>
<table cellSpacing="1" cellPadding="1" width="100%" border="0">
<tr>
<td align = "right" >
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="porderWiz" name="OBJ_NAME" id="OBJ_NAME"/>
<input type="hidden" value="next" name="action" id="action" />
<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 -->
<input type="submit" onclick="javascript: return validate()" id="NextButton" style="cursor:hand" value="Next" class="button" title='Next'/>
<div id="buttonreplacement" align="center" style="display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
Please wait......
</img>
</div>
</td>
</tr>
</table>
</div>
</form> </form>
</body> </body>
</html> </html>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/> <xsl:output method="html"/>
<xsl:decimal-format NaN="0"/> <xsl:decimal-format NaN="0"/>
<xsl:template match="/"> <xsl:template match="/">
<html> <html>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script> <script type="text/javascript" src="/ibase/webitm/js/porderWiz_Popup.js"></script>
<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>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.accordion.js"></script> <script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.accordion.js"></script>
<link href="/ibase/webitm/css/DD/ProductWizard.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/> <!-- <link href="/ibase/webitm/css/theme/galaxy-theme.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/DD/ProductWizard.css" rel="stylesheet"/> -->
<script> <!-- <link href="/ibase/webitm/css/theme/galaxy-theme.css" rel="stylesheet"/> -->
<![CDATA[ <link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
$(function() <link type="text/css" rel="stylesheet" href="/ibase/webitm/css/porderWiz.css"/>
{ <link href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
$( "#accordion" ).accordion({ collapsible:true, active:false });
$("#accordion").accordion('option', 'active' , 0); <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"/>
pageLoad();
}); <!-- <script type="text/javascript" src="/ibase/webitm/js/FixedTableHeader.js"></script> -->
]]>
<!-- Removed by Samadhan 19/11/2015 for delevary date calculation$( "#dlv_date1").datepicker({ minDate: 0, changeMonth: true, changeYear: true, dateFormat : "d/m/y"});--> <script>
<!-- in above function pageLoad() function added by samadhan on 14/07/2015 --> <![CDATA[
</script> $(function()
{
<!--//Changed by samadhan on 03/02/2015 for fixed matxix table header Start--> $( "#accordion" ).accordion({ collapsible:true, active:false });
<style type="text/css">
table.mt {border-width: 1px;border-spacing:0px ;border-style: solid;border-color: #cfcfcf;border-collapse: collapse;line-height: 25px;background-color: #FFF;}
table.mt th {border-width: 1px;padding: 1px;border-style: solid;border-color: #cfcfcf;white-space: normal;} pageLoad();
table.mt td {border-width: 1px;padding: 1px;border-style: solid;border-color: #cfcfcf;vertical-align:middle;white-space:nowrap;}
setImagesMain();
.tdClass>td{
padding: 0 10px; $('#itemParentImage').draggable();
border-right: 1px solid #eee; $('#itemParentImage').draggable().resizable();
border-right-color: rgba(0, 0, 0, 0.07);
font-family: Arial, Helvetica, Helvetica Neue, Verdana, sans-serif; $('body').click(function(event)
font-size: 12px; {
text-shadow: 0 1px white; document.getElementById('itemParentImage').style.visibility = "hidden";
text-shadow: 0 1px 1px rgba(0, 0, 0, .2); });
text-rendering: optimizeLegib });
} ]]>
</style> </script>
<!--//Changed by samadhan on 03/02/2015 for fixed matxix table header End--> <style type="text/css">
<!--//Changed by Santosh on 12-05-2016 for dummy call--> <!-- table.headertableClass {border-width: 1px;border-spacing:0px ;border-style: solid;border-color: #cfcfcf;border-collapse: collapse;line-height: 25px;background-color: #FFF;}
<!--body--> table.headertableClass th {border-width: 1px;padding: 1px;border-style: solid;border-color: #cfcfcf;white-space: normal;border-bottom:2px solid #ddd;}
<body onload="dummyServletCall();" > table.headertableClass td {border-width: 1px;padding: 1px;border-style: solid;border-color: #cfcfcf;vertical-align:middle;white-space:nowrap;}
<form name="porderWizFormII" id="porderWizFormII" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
.tdClass>td{
<div class="mainPage-Container"> padding: 0 10px;
<!-- Changed by Sneha on 27-05-2016, for scroll on detail1 [Start] --> border-right: 1px solid #eee;
<!-- <div style="overflow: auto;height:90%"> --> border-right-color: rgba(0, 0, 0, 0.07);
<div style="overflow: auto;height:87%"> font-family: Arial, Helvetica, Helvetica Neue, Verdana, sans-serif;
<!-- Changed by Sneha on 27-05-2016, for scroll on detail1 [End] --> font-size: 12px;
text-shadow: 0 1px white;
<div style="margin-top: 8px; width:100%; padding: 0px; float: left;"> text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
<table id="activityTable" border="0" cellSpacing="1" cellPadding="0"> text-rendering: optimizeLegib
<div style="width: 99%; margin-top: 5px;"> } -->
<xsl:for-each select="//Detail2"> <!-- #accordion .ui-accordion-content {
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable> max-height: 270px;
<xsl:variable name="supp_code"><xsl:value-of select="supp_code"/></xsl:variable> } -->
<xsl:variable name="supp_name"><xsl:value-of select="supp_name"/></xsl:variable>
<xsl:variable name="purc_order"><xsl:value-of select="purc_order"/></xsl:variable> #accordion .ui-accordion-content
<xsl:variable name="ord_date"><xsl:value-of select="ord_date"/></xsl:variable> {
<xsl:variable name="ind_no"><xsl:value-of select="ind_no"/></xsl:variable> background-color: white;
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable> border:1px solid #fbd850;
<xsl:variable name="cr_term"><xsl:value-of select="cr_term"/></xsl:variable> border-top : none;
<xsl:variable name="crterm_descr"><xsl:value-of select="crterm_descr"/></xsl:variable> height: auto !important;
<xsl:variable name="remarks"><xsl:value-of select="remarks"/></xsl:variable> border-radius: 0px !important
<xsl:variable name="confirmed"><xsl:value-of select="confirmed"/></xsl:variable> }
<xsl:variable name="dlv_term"><xsl:value-of select="dlv_term"/></xsl:variable> .ui-accordion-header.ui-state-active
<xsl:variable name="tran_code"><xsl:value-of select="tran_code"/></xsl:variable> {
<xsl:variable name="tran_name"><xsl:value-of select="tran_name"/></xsl:variable> background-color: #fdf5ce;
<xsl:variable name="tran_date"><xsl:value-of select="tran_date"/></xsl:variable> border-bottom : 1px solid #ccc;
<xsl:variable name="price_list"><xsl:value-of select="price_list"/></xsl:variable> }
<xsl:variable name="conf_date"><xsl:value-of select="conf_date"/></xsl:variable> .ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl
<xsl:variable name="exch_rate"><xsl:value-of select="exch_rate"/></xsl:variable> {
<xsl:variable name="dept_code"><xsl:value-of select="dept_code"/></xsl:variable> border-radius: 0px !important
<xsl:variable name="department_descr"><xsl:value-of select="department_descr"/></xsl:variable> }
<xsl:variable name="trans_mode"><xsl:value-of select="trans_mode"/></xsl:variable>
<xsl:variable name="dlv_date"><xsl:value-of select="dlv_date"/></xsl:variable> .accordian-Header
<xsl:variable name="pord_type"><xsl:value-of select="pord_type"/></xsl:variable> {
<xsl:variable name="task_desc"><xsl:value-of select="task_desc"/></xsl:variable> <!-- border-bottom : 1px solid #ccc; -->
<xsl:variable name="site_code__dlv"><xsl:value-of select="site_code__dlv"/></xsl:variable> background-color: white;
<xsl:variable name="site_code__ord"><xsl:value-of select="site_code__ord"/></xsl:variable> <!-- border:1px solid #eee;
<xsl:variable name="site_descr"><xsl:value-of select="site_descr"/></xsl:variable> border-top: #6cf 2px solid -->
<xsl:variable name="site_add1"><xsl:value-of select="site_add1"/></xsl:variable> }
<xsl:variable name="curr_code"><xsl:value-of select="curr_code"/></xsl:variable> .totalQuantity
<xsl:variable name="term_table"><xsl:value-of select="term_table"/></xsl:variable> {
<xsl:variable name="chg_user"><xsl:value-of select="chg_user"/></xsl:variable> padding-top: 8px;
<xsl:variable name="chg_term"><xsl:value-of select="chg_term"/></xsl:variable> }
<xsl:variable name="emp_code"><xsl:value-of select="emp_code"/></xsl:variable> </style>
<xsl:variable name="udf_str__2"><xsl:value-of select="udf_str__2"/></xsl:variable>
<xsl:variable name="udf_str__1"><xsl:value-of select="udf_str__1"/></xsl:variable> <body>
<xsl:variable name="udf_str__3"><xsl:value-of select="udf_str__3"/></xsl:variable> <form name="porderWizFormII" id="porderWizFormII" METHOD="post" onkeypress="return event.keyCode != 13;" ACTION="/ibase/ITMWizardHandlerServlet">
<xsl:variable name="delivery_term_descr"><xsl:value-of select="delivery_term_descr"/></xsl:variable>
<xsl:for-each select="//Detail2">
<input type="hidden" value="{$supp_code}" name="Detail2.0.supp_code" id="supp_code" /> <xsl:if test="position() = 1">
<input type="hidden" value="{$supp_name}" name="Detail2.0.supp_name" id="supp_name" /> <TABLE border="0" width="100%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;border-bottom: #6cf 2px solid">
<input type="hidden" value="{$purc_order}" name="Detail2.0.purc_order" id="purc_order" /> <TR>
<input type="hidden" value="{$ord_date}" name="Detail2.0.ord_date" id="ord_date" /> <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;"/>
<input type="hidden" value="{$ind_no}" name="Detail2.0.ind_no" id="ind_no" /> <TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
<input type="hidden" value="{$item_ser}" name="Detail2.0.item_ser" id="item_ser" /> Product
<input type="hidden" value="{$cr_term}" name="Detail2.0.cr_term" id="cr_term" /> </TD>
<input type="hidden" value="{$crterm_descr}" name="Detail2.0.crterm_descr" id="crterm_descr" />
<input type="hidden" value="{$remarks}" name="Detail2.0.remarks" id="remarks" /> <TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
<input type="hidden" value="{$confirmed}" name="Detail2.0.confirmed" id="confirmed" /> Purchase Order: <xsl:value-of select="purc_order"/>
<input type="hidden" value="{$dlv_term}" name="Detail2.0.dlv_term" id="dlv_term" /> </TD>
<input type="hidden" value="{$tran_code}" name="Detail2.0.tran_code" id="tran_code" />
<input type="hidden" value="{$tran_name}" name="Detail2.0.tran_name" id="tran_name" /> <TD class="header_main" nowrap="true" align="left" valign="middle" style="" width="2%" >
<input type="hidden" value="{$tran_date}" name="Detail2.0.tran_date" id="tran_date" /> Order Date: <xsl:value-of select="ord_date"/>
<input type="hidden" value="{$price_list}" name="Detail2.0.price_list" id="price_list" /> </TD>
<input type="hidden" value="{$conf_date}" name="Detail2.0.conf_date" id="conf_date" />
<input type="hidden" value="{$exch_rate}" name="Detail2.0.exch_rate" id="exch_rate" /> <TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
<input type="hidden" value="{$dept_code}" name="Detail2.0.dept_code" id="dept_code" /> <xsl:variable name="udf_str__3"><xsl:value-of select="udf_str__3"/></xsl:variable>
<input type="hidden" value="{$department_descr}" name="Detail2.0.department_descr" id="department_descr" /> <xsl:if test="$udf_str__3 = 'A'">Add Mode</xsl:if>
<input type="hidden" value="{$trans_mode}" name="Detail2.0.trans_mode" id="trans_mode" /> <xsl:if test="$udf_str__3 = 'E'">Edit Mode</xsl:if>
<input type="hidden" value="{$dlv_date}" name="Detail2.0.dlv_date" id="dlv_date" /> </TD>
<input type="hidden" value="{$pord_type}" name="Detail2.0.pord_type" id="pord_type" /> </div>
<input type="hidden" value="{$site_code__dlv}" name="Detail2.0.site_code__dlv" id="site_code__dlv" /> </TR>
<input type="hidden" value="{$site_code__ord}" name="Detail2.0.site_code__ord" id="site_code__ord" /> </TABLE>
<input type="hidden" value="{$site_descr}" name="Detail2.0.site_descr" id="site_descr" /> </xsl:if>
<input type="hidden" value="{$site_add1}" name="Detail2.0.site_add1" id="site_add1" /> </xsl:for-each>
<input type="hidden" value="{$curr_code}" name="Detail2.0.curr_code" id="curr_code" />
<input type="hidden" value="{$task_desc}" name="Detail2.0.task_desc" id="task_desc" />
<input type="hidden" value="{$term_table}" name="Detail2.0.term_table" id="term_table" /> <div class="pageContentWrapper" id = "pageContentWrapper" style="height:75%;overflow:auto;">
<input type="hidden" value="{$chg_user}" name="Detail2.0.chg_user" id="chg_user" /> <table>
<input type="hidden" value="{$chg_term}" name="Detail2.0.chg_term" id="chg_term" /> <xsl:for-each select="//Detail2">
<input type="hidden" value="{$emp_code}" name="Detail2.0.emp_code" id="emp_code" /> <xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<input type="hidden" value="{$udf_str__2}" name="Detail2.0.udf_str__2" id="udf_str__2" /> <xsl:variable name="supp_code"><xsl:value-of select="supp_code"/></xsl:variable>
<input type="hidden" value="{$udf_str__1}" name="Detail2.0.udf_str__1" id="udf_str__1" /> <xsl:variable name="supp_name"><xsl:value-of select="supp_name"/></xsl:variable>
<input type="hidden" value="{$site_add1}" name="Detail2.0.site_add1" id="site_add1" /> <xsl:variable name="purc_order"><xsl:value-of select="purc_order"/></xsl:variable>
<input type="hidden" value="{$delivery_term_descr}" name="Detail2.0.delivery_term_descr" id="delivery_term_descr" /> <xsl:variable name="ord_date"><xsl:value-of select="ord_date"/></xsl:variable>
<xsl:variable name="ind_no"><xsl:value-of select="ind_no"/></xsl:variable>
<input type="hidden" value="{$udf_str__3}" name="Detail2.0.udf_str__3" id="udf_str__3" /> <!-- Sneha --> <xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="cr_term"><xsl:value-of select="cr_term"/></xsl:variable>
<!--<input type="hidden" value="{normalize-space($supp_code)}" id="supp_code" /> <xsl:variable name="crterm_descr"><xsl:value-of select="crterm_descr"/></xsl:variable>
<input type="hidden" value="{normalize-space($purc_order)}" id="purc_order" /> <xsl:variable name="remarks"><xsl:value-of select="remarks"/></xsl:variable>
<input type="hidden" value="{normalize-space($ord_date)}" id="ord_date" /> <xsl:variable name="confirmed"><xsl:value-of select="confirmed"/></xsl:variable>
<input type="hidden" value="{normalize-space($ind_no)}" id="ind_no" /> <xsl:variable name="dlv_term"><xsl:value-of select="dlv_term"/></xsl:variable>
<input type="hidden" value="{normalize-space($dept_code)}" id="dept_code" /> <xsl:variable name="tran_code"><xsl:value-of select="tran_code"/></xsl:variable>
<input type="hidden" value="{normalize-space($item_ser)}" id="item_ser" />--> <xsl:variable name="tran_name"><xsl:value-of select="tran_name"/></xsl:variable>
</xsl:for-each> <xsl:variable name="tran_date"><xsl:value-of select="tran_date"/></xsl:variable>
</div> <xsl:variable name="price_list"><xsl:value-of select="price_list"/></xsl:variable>
<xsl:variable name="conf_date"><xsl:value-of select="conf_date"/></xsl:variable>
<tr> <xsl:variable name="exch_rate"><xsl:value-of select="exch_rate"/></xsl:variable>
<xsl:variable name="dept_code"><xsl:value-of select="dept_code"/></xsl:variable>
<td> <xsl:variable name="department_descr"><xsl:value-of select="department_descr"/></xsl:variable>
<xsl:variable name="trans_mode"><xsl:value-of select="trans_mode"/></xsl:variable>
<input type="hidden" value="1" name="TAB" ID="tabs" /> <xsl:variable name="dlv_date"><xsl:value-of select="dlv_date"/></xsl:variable>
<input type="hidden" value="" name="active" ID="active" /> <xsl:variable name="pord_type"><xsl:value-of select="pord_type"/></xsl:variable>
<input type="hidden" value="0" name="fld" ID="fld" /> <xsl:variable name="task_desc"><xsl:value-of select="task_desc"/></xsl:variable>
<input type="hidden" name="NEXT_FORM_VAL" ID="NEXT_FORM_VAL" /> <xsl:variable name="site_code__dlv"><xsl:value-of select="site_code__dlv"/></xsl:variable>
<xsl:variable name="site_code__ord"><xsl:value-of select="site_code__ord"/></xsl:variable>
<input type="hidden" name="PRE_FORM_VAL" ID="PRE_FORM_VAL" /> <xsl:variable name="site_descr"><xsl:value-of select="site_descr"/></xsl:variable>
</td> <xsl:variable name="site_add1"><xsl:value-of select="site_add1"/></xsl:variable>
</tr> <xsl:variable name="curr_code"><xsl:value-of select="curr_code"/></xsl:variable>
<xsl:variable name="term_table"><xsl:value-of select="term_table"/></xsl:variable>
</table> <xsl:variable name="chg_user"><xsl:value-of select="chg_user"/></xsl:variable>
</div> <xsl:variable name="chg_term"><xsl:value-of select="chg_term"/></xsl:variable>
<xsl:for-each select="//Detail2"> <xsl:variable name="emp_code"><xsl:value-of select="emp_code"/></xsl:variable>
<xsl:variable name="udf_str__2"><xsl:value-of select="udf_str__2"/></xsl:variable>
<xsl:variable name="dlv_date"><xsl:value-of select="dlv_date"/></xsl:variable> <xsl:variable name="udf_str__1"><xsl:value-of select="udf_str__1"/></xsl:variable>
<!--Change by samadhan on 19/11/2015 --> <xsl:variable name="udf_str__3"><xsl:value-of select="udf_str__3"/></xsl:variable>
<xsl:variable name="ord_date_m"><xsl:value-of select="ord_date"/></xsl:variable> <xsl:variable name="delivery_term_descr"><xsl:value-of select="delivery_term_descr"/></xsl:variable>
<div style="float: left; width:100%; border: 0px solid; padding: 0px;">
<!--Change by samadhan on 19/11/2015 --> <input type="hidden" value="{$supp_code}" name="Detail2.0.supp_code" id="supp_code" />
<input type="hidden" value="{$ord_date_m}" name="ord_date_m" id="ord_date_m" /> <input type="hidden" value="{$supp_name}" name="Detail2.0.supp_name" id="supp_name" />
<input type="hidden" value="{$purc_order}" name="Detail2.0.purc_order" id="purc_order" />
<div id="accordion" style="float: left; margin-left: 5px; width:95%;"> <input type="hidden" value="{$ord_date}" name="Detail2.0.ord_date" id="ord_date" />
<h3 onclick='run(1)' style="font-family: Arial Unicode MS, Arial, sans-serif;">Product Set <input type="hidden" value="{$ind_no}" name="Detail2.0.ind_no" id="ind_no" />
<label id='main1' style='background-color: transparent;'></label> <input type="hidden" value="{$item_ser}" name="Detail2.0.item_ser" id="item_ser" />
<input type='hidden' id='display' value='0' /> <input type="hidden" value="{$cr_term}" name="Detail2.0.cr_term" id="cr_term" />
Total Quantity<label id='display.1' style='background-color: transparent;'></label> <input type="hidden" value="{$crterm_descr}" name="Detail2.0.crterm_descr" id="crterm_descr" />
</h3> <input type="hidden" value="{$remarks}" name="Detail2.0.remarks" id="remarks" />
<div style="padding: 0.8em 0.8em;"> <input type="hidden" value="{$confirmed}" name="Detail2.0.confirmed" id="confirmed" />
<div id="suppDtlDiv1" style="height: 270px; overflow: hidden; margin-left: 0px; width:100%;"> <input type="hidden" value="{$dlv_term}" name="Detail2.0.dlv_term" id="dlv_term" />
<table id="activityTable" border="0" style="text-align: center;"> <input type="hidden" value="{$tran_code}" name="Detail2.0.tran_code" id="tran_code" />
<tr> <input type="hidden" value="{$tran_name}" name="Detail2.0.tran_name" id="tran_name" />
<td class="td_leftAlign" nowrap="true"> <input type="hidden" value="{$tran_date}" name="Detail2.0.tran_date" id="tran_date" />
<strong>Item Parent :</strong> <input type="hidden" value="{$price_list}" name="Detail2.0.price_list" id="price_list" />
</td> <input type="hidden" value="{$conf_date}" name="Detail2.0.conf_date" id="conf_date" />
<td class="td_leftAlign"> <input type="hidden" value="{$exch_rate}" name="Detail2.0.exch_rate" id="exch_rate" />
<div style="position:relative; width: 90%;"> <input type="hidden" value="{$dept_code}" name="Detail2.0.dept_code" id="dept_code" />
<input type="text" class="editInputClass" id="itmcode1" name="itmcode1" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 90%;" /> <input type="hidden" value="{$department_descr}" name="Detail2.0.department_descr" id="department_descr" />
<input type='hidden' id='multisel1' class='editDisplayClass' maxlength='0' ISCHANGED='false' readOnly = '1' style='margin-left: -9px;width: 400px' value='' /> <input type="hidden" value="{$trans_mode}" name="Detail2.0.trans_mode" id="trans_mode" />
<input type="hidden" value="{$dlv_date}" name="Detail2.0.dlv_date" id="dlv_date" />
<div style="width:3%; float: right;"> <input type="hidden" value="{$pord_type}" name="Detail2.0.pord_type" id="pord_type" />
<a href="javascript:callpop(1);" style="float: left;text-decoration: none;"> <input type="hidden" value="{$site_code__dlv}" name="Detail2.0.site_code__dlv" id="site_code__dlv" />
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Item Code"/> <input type="hidden" value="{$site_code__ord}" name="Detail2.0.site_code__ord" id="site_code__ord" />
</a> <input type="hidden" value="{$site_descr}" name="Detail2.0.site_descr" id="site_descr" />
</div> <input type="hidden" value="{$site_add1}" name="Detail2.0.site_add1" id="site_add1" />
</div> <input type="hidden" value="{$curr_code}" name="Detail2.0.curr_code" id="curr_code" />
</td> <input type="hidden" value="{$task_desc}" name="Detail2.0.task_desc" id="task_desc" />
<td colspan="2"> <input type="hidden" value="{$term_table}" name="Detail2.0.term_table" id="term_table" />
<input type="text" id="itmdescription1" value="{item_code}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 400px" /> <input type="hidden" value="{$chg_user}" name="Detail2.0.chg_user" id="chg_user" />
</td> <input type="hidden" value="{$chg_term}" name="Detail2.0.chg_term" id="chg_term" />
<td colspan="2" style="font-size:12px"> <input type="hidden" value="{$emp_code}" name="Detail2.0.emp_code" id="emp_code" />
<!--Changed by Samadhan on 19/11/2015 <input type="hidden" value="{$udf_str__2}" name="Detail2.0.udf_str__2" id="udf_str__2" />
<strong>Delivery Date:</strong><input type="text" name="dlv_date1" onchange="dateChange(1)" <input type="hidden" value="{$udf_str__1}" name="Detail2.0.udf_str__1" id="udf_str__1" />
id="dlv_date1" value="{$dlv_date}" style="width:28%;font-size:12px" /> --> <input type="hidden" value="{$site_add1}" name="Detail2.0.site_add1" id="site_add1" />
<strong>Order Date: <span id="dlv_date_span1"> <xsl:value-of select="ord_date"/> </span></strong> <input type="hidden" value="{$delivery_term_descr}" name="Detail2.0.delivery_term_descr" id="delivery_term_descr" />
<input type="hidden" name="dlv_date1" readOnly = "1" id="dlv_date1" value="{$ord_date_m}" style="width:28%;font-size:12px" /> <input type="hidden" value="{$udf_str__3}" name="Detail2.0.udf_str__3" id="udf_str__3" />
</td> </xsl:for-each>
</tr> </table>
</table>
</div> <xsl:for-each select="//Detail2">
</div>
</div> <xsl:variable name="dlv_date"><xsl:value-of select="dlv_date"/></xsl:variable>
</div> <xsl:variable name="ord_date_m"><xsl:value-of select="ord_date"/></xsl:variable>
</xsl:for-each>
<div style="border: 1px solid transparent; width: 100%;"> <div style="float: left; width:100%; border: 0px solid; padding: 0px;">
<input type="hidden" value="{$ord_date_m}" name="ord_date_m" id="ord_date_m" />
<input type="hidden" value="2" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="porderWiz" name="OBJ_NAME" id="OBJ_NAME"/> <div id="accordion" style="margin-bottom:50px;float: left; margin-left: 0px; width:100%;">
<input type="hidden" value="next" name="action" id="action" /> <h3 onclick='run(1)' class = "accordian-Header" >
<input type="hidden" value="1:MP:3" name="formType" id="formType" /> <table width = "100%">
<!-- <input type="submit" style="cursor:hand" value="Next" class="button" title='' onclick="javascript:return checkNullvalidation()" /> --> <tr>
<td width="2%">
<img src="" id = "cloths1" height="40" width="40" style="float: left;border-radius: 90%;margin-left: -20px;" onmouseover="openImage(event,'1')" ></img>
</td>
<table id="errorActivityTable" class="tableClass" border="0" cellSpacing="2" cellPadding="1" width="98%"> <td width="96%">
<xsl:for-each select="//error"> <table style = "font-size:14px">
<xsl:variable name="message"><xsl:value-of select="message"/></xsl:variable> <tr>
<xsl:variable name="description"><xsl:value-of select="description"/></xsl:variable> <td>
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable> <label id='main1' style='background-color: transparent;'></label>
<xsl:variable name="dbID"><xsl:value-of select="@domId"/></xsl:variable> <input type='hidden' id='display' value='0' />
<xsl:variable name="column_name"><xsl:value-of select="@column_name"/></xsl:variable> </td>
</tr>
<tr> <tr>
<xsl:if test="position() = 1"> <td>
<td class="td_leftAlign" nowrap="true" valign="bottom" width="20%" > <label id='display.1' style='background-color: transparent;'></label>
<xsl:value-of select="message"/> </td>
</td> </tr>
<td class="td_leftAlign" nowrap="true" valign="bottom" width="40%" > </table>
Description : <xsl:value-of select="description"/> </td>
</td> <td height="40" >
</xsl:if> <span title="Delete" style="visibility: hidden;display: block; top: 20px;right:10px" currdomid="1" class="deleteDetailBtn" onclick="event.stopPropagation();javascript:closeAccordian('1')" id="remove1">
<xsl:if test="$type = 'W'"> <p class="remove" title="Delete">
<td class="td_leftAlign" nowrap="true" valign="bottom" width="20%"> <img src='/ibase/webitm/images/remove.png' class='removeImg'></img>
Override Warnings : </p>
<input type="checkbox" name="forceSave" value="false" onClick="setChecked(this)"/> </span>
</td> </td>
</xsl:if> <input type='hidden' id='tab_no1' value='' ></input>
</tr> </tr>
</table>
</xsl:for-each> </h3>
</table> <div style="padding: 2px 5px 7px">
</div> <div id="suppDtlDiv1" style="height:auto;overflow: auto; margin-left: 0px; width:100%;">
<p id="demo"></p> <table id="activityTable" style="width:100%;font-size:14px;">
</div> <div >
<div id="buttonreplacement" style="margin-left:450px;display:none;"> <tr>
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" > <td align="right">
Please wait...... Product :
</img> </td>
</div> <td>
<input type="button" style="cursor:hand" id="PreButton" class="button" value="Previous" title='Previous' onclick="form2Pre()"/> <div style="position:relative; width: 90%;">
<!--<input type="submit" style="cursor:hand" id="NextButton" value="Next" class="button" title='Next' onclick="javascript:setActionVal('next');javascript: return setCheckedTrue()" />--> <input type="text" class="input_editable" id="itmcode1" name="itmcode1"
<input type="button" style="cursor:hand" id="NextButton" value="Next" class="button" title='Next' onclick="javascript: return setCheckedTrue();" /> onkeyup="getAutocompleteData(this,'item_code');"
<input type="button" style="cursor:hand;float:right;margin-right:50px" id="AddButton" value="Add" class="button" title='Add' onclick="sidebar()" /> onblur="javascript:itemChange('item_code')"
onfocus="javascript:setCurrData('itmcode1')"
<!-- Changed by Sneha on 29-06-2016, for save button [Start] style="width: 90%;" />
<input type="button" style="cursor:hand;float:right;margin-right:5px" id="SaveButton" value="Save" class="button" title='Save' <input type='hidden' id='multisel1' class='editDisplayClass' maxlength='0' ISCHANGED='false' readOnly = '1' style='margin-left: -9px;width: 400px' value='' />
onclick="javascript: savePO();"/>
Changed by Sneha on 29-06-2016, for save button [End] onclick="javascript:demo()"/>--> <div style="float: right;">
</div> <a href="javascript:callpop(1);" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;margin-top: 3px;" title="Select Product"/>
</a>
</form> </div>
</body> </div>
</html> </td>
</xsl:template> <td align="right">
</xsl:stylesheet> <!-- Rate: -->
</td>
<td style="width: 400px">
<!-- <label 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 >
<strong>Order Date: <span id="dlv_date_span1"> <xsl:value-of select="ord_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" />
<strong>Order Date: </strong><input type="text" class="input_editable" size="8" value="{$ord_date_m}" name="dspdate1" id="dspdate1" maxlength="8" ISCHANGED="false" placeholder = "DD/MM/YY" onchange="javascript:setDespDate('1');"/>
<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>
</tr>
</div>
</table>
</div>
<input type ="hidden" id="deleteAccordian1"></input>
<!-- <div class = 'totalQuantity' align = "right">
<b>Total Quantity: </b><span id= "sum1"></span>
</div> -->
</div>
</div>
</div>
</xsl:for-each>
<span></span>
<div id="itemParentImage" style="visibility: hidden">
<div id = "DBImage1" style="overflow: auto; height: 100%">
</div>
</div>
<table>
<tr>
<td colspan="2">
<input type="hidden" value="2" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="porderWiz" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type="hidden" value="1:MP" name="formType" id="formType" />
<input type="hidden" value="" name="PRE_FORM_VAL" ID="PRE_FORM_VAL" />
<input type="hidden" name="NEXT_FORM_VAL" ID="NEXT_FORM_VAL" />
<input type="hidden" value="1" name="TAB" ID="tabs" />
<input type="hidden" value="1" name="active" ID="active" />
<input type="hidden" value="0" name="fld" ID="fld" />
</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>
<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>
</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>
</xsl:for-each>
</table>
</div>
<div class = "buttonDiv" style="width=20%;margin-left=-12px;margin-top:5px;margin-bottom:0px;">
<input type="button" style="cursor:hand" id="PreButton" class="button" value="Previous" title='Previous' onclick="form2Pre()"/>
<input type="button" style="cursor:hand" id="NextButton" value="Next" class="button" title='Next' onclick="javascript: return setCheckedTrue();" />
<span title="Add New" class="addNewDetailBtn" id="AddButton" name="AddButton" onclick="sidebar()" >
<p class="plus">+</p>
</span>
<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>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
...@@ -7,88 +7,116 @@ ...@@ -7,88 +7,116 @@
<html> <html>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script> <script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/porderWiz_Popup.js"></script> <script type="text/javascript" src="/ibase/webitm/js/porderWiz_Popup.js"></script>
<link rel="stylesheet" href="/ibase/webitm/css/DD/default.css" type="text/css" /> <link type="text/css" rel="stylesheet" href="/ibase/webitm/css/sorderWiz.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
<link id="userThemeLink" type="text/css" rel="stylesheet" href=""/>
<link href="/ibase/webitm/css/DD/ProductWizard.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/> <link href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
<script type="text/javascript" src="/ibase/webitm/js/jquery-ui-1.10.4.custom.min.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"/>
<script type="text/javascript" src="/ibase/webitm/js/FixedTableHeader.js"></script>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/FixedTableHeader.css"/>
<script language="JavaScript" type="text/javascript"> <style type="text/css">
<![CDATA[ .tHeader
{
border-top: #6cf 2px solid !important;
border-left: 1px solid #ddd !important;
border-right: 1px solid #ddd !important;
border-bottom: 1px solid #ddd !important
}
.ft_container table tr td
{
color: #555 !important;
}
$(function() .ft_container
{ form3Load(); {
var today = new Date(); height: 99% !important;
var dd = today.getDate(); }
var mm = today.getMonth()+1;
var yyyy = today.getYear() % 100;
if(dd<10){dd='0'+dd}
if(mm<10){mm='0'+mm}
var today = dd+'/'+mm+'/'+yyyy;
var sum = $('#Details tbody tr').length;
for(var i=0;i<=sum;i++)
{
var days = 0;
if(i > 0)
{
var odt = $("#ord_datem"+i+"").value;
odt= document.getElementById("ord_datem"+i+"").value;
var orddt = odt.split("/");
var toddt = today.split("/");
var orderdt = new Date("20"+orddt[2],orddt[1]-1,orddt[0]);
var todaydt = new Date("20"+toddt[2],toddt[1]-1,toddt[0]);
var timeDiff = Math.abs(todaydt.getTime() - orderdt.getTime());
var days = Math.ceil(timeDiff / (1000 * 3600 * 24));
if( orderdt < todaydt)
{
days = "-"+days;
}
}
$( "#dlv_date"+i+"" ).datepicker({ minDate: days, changeMonth: true, changeYear: true, dateFormat : "dd/mm/y"});
}
});
document.getElementById("save").style.display = ""; // to undisplay
document.getElementById("back").style.display = ""; // to undisplay
document.getElementById("buttonreplacement").style.display = "none"; // to display
]]>
</script>
<!--//Changed by samadhan on 03/02/2015 for fixed matxix table header Start-->
<style type="text/css">
table.mt {border-width: 1px;border-spacing:0px ;border-style: solid;border-color: #cfcfcf;border-collapse: collapse;line-height: 25px;background-color: #FFF;}
table.mt th {border-width: 1px;padding: 1px;border-style: solid;border-color: #cfcfcf;white-space: normal;text-rendering: optimizeLegibility;white-space:nowrap;}
table.mt td {border-width: 1px;padding: 1px;border-style: solid;border-color: #cfcfcf;vertical-align:middle;white-space:nowrap;}
.tdClass>td{
padding: 0 10px;
border-right: 1px solid #eee;
border-right-color: rgba(0, 0, 0, 0.07);
font-family: Arial, Helvetica, Helvetica Neue, Verdana, sans-serif;
font-size: 12px;
text-shadow: 0 1px white;
text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
text-rendering: optimizeLegib
}
</style> </style>
<!--//Changed by samadhan on 03/02/2015 for fixed matxix table header End-->
<body> <body>
<form name="porderWizFormIII" id="porderFormIII" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet"> <form name="porderFormIII" id="porderFormIII" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<!-- <div id="header" style="width:100%;height:100px"> <xsl:for-each select="//Detail3">
<div id="headingText">Purchase Wizard Details</div> <xsl:if test="position() = 1">
</div>--> <TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<div id='mainContDiv' class="mainPage-Container" style="height:99%;width:99%;overflow:hidden;" > <TR>
<!-- Changed by samadhan on 13/07/2015 for previous button working Start --> <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 style="width: 99%; margin-top: 5px;"> <TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Summary
</TD>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Purchase Order: <xsl:value-of select="purc_order"/>
</TD>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="" width="2%" >
Order Date: <xsl:value-of select="ord_date"/>
</TD>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
<xsl:variable name="udf_str__3"><xsl:value-of select="udf_str__3"/></xsl:variable>
<xsl:if test="$udf_str__3 = 'A'">Add Mode</xsl:if>
<xsl:if test="$udf_str__3 = 'E'">Edit Mode</xsl:if>
</TD>
</div>
</TR>
</TABLE>
</xsl:if>
</xsl:for-each>
<div id="innerDiv" style="overflow-y:hidden;overflow-x:auto;max-height:80%;">
<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:if test="position() = 1">
<tr>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
Message :
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
Description :
</td>
<td class="tdss_rightAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom" colspan="2">
<a href="#" style="text-decoration:none;" onclick="doHideMsg('errorActivityTable')"><font style="color:#000;text-decoration:none;padding-right:5px;" ><b>X</b></font></a>
</td>
</tr>
</xsl:if>
<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>
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="message"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
<xsl:value-of select="description"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="//error">
<xsl:variable name="type"><xsl:value-of select="type"/></xsl:variable>
<xsl:if test="position() = 1">
<xsl:if test="$type = 'W'">
<tr style="background: rgba(255, 204, 0, 0.66);">
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true" valign="bottom">
<input type="checkbox" name="forceSave" value="true" checked="checked" onClick="setChecked(this)"/>
</td>
<td class="tdss_leftAlign" style="background: rgba(255, 204, 0, 0.66);" nowrap="true">
</td>
</tr>
</xsl:if>
</xsl:if>
</xsl:for-each>
</table>
</div>
<xsl:for-each select="//Detail3"> <xsl:for-each select="//Detail3">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable> <xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="supp_code"><xsl:value-of select="supp_code"/></xsl:variable> <xsl:variable name="supp_code"><xsl:value-of select="supp_code"/></xsl:variable>
...@@ -168,68 +196,62 @@ ...@@ -168,68 +196,62 @@
<input type="hidden" value="{$delivery_term_descr}" name="Detail3.{normalize-space($dbID)}.delivery_term_descr" id="delivery_term_descr" /> <input type="hidden" value="{$delivery_term_descr}" name="Detail3.{normalize-space($dbID)}.delivery_term_descr" id="delivery_term_descr" />
</xsl:if> </xsl:if>
</xsl:for-each> </xsl:for-each>
</div>
<!-- Changed by samadhan on 13/07/2015 for previous button working End --> <div style="height:75%; width:100%;overflow:auto;white-space:nowrap;">
<table id="Details" class="headertableClass" border="0" cellspacing="0" cellpadding="0" width='100%'>
<table class="mt" id="Details" border="0" cellspacing="1" cellpadding="1"> <thead class="table-head">
<thead class="table-head" style="text-align:left;position:relative; line-height: 25px;"> <tr>
<tr class="thClass" > <th class="tHeader" nowrap="true" style="width:20px;display:none">
<th class="thClass" nowrap="true" style="width:20px">
</th> </th>
<th class="thClass" nowrap="true" > <th class="tHeader" align="left" nowrap="true" valign="bottom">
<strong>Item Parent</strong> Item Parent
</th> </th>
<th class="thClass" nowrap="true" width="70px"> <th class="tHeader" align="left" nowrap="true" valign="bottom">
<strong>Item SKU Code</strong> Item SKU Code
</th> </th>
<th class="thClass" nowrap="true" > <th class="tHeader" align="left" nowrap="true" width="250px" >
<strong>Description</strong> Description
</th> </th>
<th class="thClass" nowrap="true" > <th class="tHeader" align="right" nowrap="true" valign="bottom">
<strong>Quantity</strong> Quantity
</th> </th>
<th class="thClass" nowrap="true" > <th class="tHeader" align="right" nowrap="true" valign="bottom">
<strong>Unit Cost</strong> Unit Cost
</th> </th>
<!--Changed by wasim on 07-07-2015 to add currency in form3 [START]--> <!--Changed by wasim on 07-07-2015 to add currency in form3 [START]-->
<th class="thClass" nowrap="true" > <th class="tHeader" align="left" nowrap="true" valign="bottom">
<strong>Currency</strong> Currency
</th> </th>
<!--Changed by wasim on 07-07-2015 to add currency in form3 [END]--> <!--Changed by wasim on 07-07-2015 to add currency in form3 [END]-->
<th class="thClass" nowrap="true" > <th class="tHeader" align="right" nowrap="true" valign="bottom">
<strong>Amount</strong> Amount
</th> </th>
<th class="thClass" nowrap="true" > <th class="tHeader" align="left" nowrap="true" valign="bottom">
<strong>Order Date</strong> Order Date
</th> </th>
<th class="thClass" nowrap="true" > <th class="tHeader" align="left" nowrap="true" valign="bottom">
<strong>Delivery Date</strong> Delivery Date
</th> </th>
<th class="thClass" nowrap="true" > <th class="tHeader" align="left" nowrap="true" valign="bottom">
<strong>Supplier Code</strong> Supplier Code
</th> </th>
<th class="thClass" nowrap="true" > <th class="tHeader" align="left" nowrap="true" valign="bottom">
<strong>Tax Class</strong> Tax Class
</th> </th>
<th class="thClass" nowrap="true" > <th class="tHeader" align="left" nowrap="true" valign="bottom">
<strong>Tax Chap</strong> Tax Chap
</th> </th>
<th class="thClass" nowrap="true" > <th class="tHeader" align="left" nowrap="true" valign="bottom">
Tax Env Tax Env
</th> </th>
</tr> </tr>
</thead> </thead>
<!--<tr> <tbody>
<td>.</td>
</tr>-->
<tbody class='table-body fadeInDown'>
<xsl:for-each select="//Detail3"> <xsl:for-each select="//Detail3">
<!-- <xsl:sort select="item_parnt"/> -->
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable> <xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<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="item_code"><xsl:value-of select="item_code"/></xsl:variable> <xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable>
<xsl:variable name="item_parnt"><xsl:value-of select="item_parnt"/></xsl:variable> <xsl:variable name="item_parnt"><xsl:value-of select="item_parnt"/></xsl:variable>
...@@ -268,19 +290,14 @@ ...@@ -268,19 +290,14 @@
<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>
<xsl:variable name="tax_chap"><xsl:value-of select="tax_chap"/></xsl:variable> <xsl:variable name="tax_chap"><xsl:value-of select="tax_chap"/></xsl:variable>
<xsl:variable name="tax_env"><xsl:value-of select="tax_env"/></xsl:variable> <xsl:variable name="tax_env"><xsl:value-of select="tax_env"/></xsl:variable>
<!--Changed by wasim on 07-07-2015 to add currency in form3 [START]-->
<xsl:variable name="curr_code"><xsl:value-of select="curr_code"/></xsl:variable> <xsl:variable name="curr_code"><xsl:value-of select="curr_code"/></xsl:variable>
<!--Changed by wasim on 07-07-2015 to add currency in form3 [END]-->
<!-- Changed by samadhan on 13/07/2015 for previous button working -->
<xsl:if test="$dbID != '0'"> <xsl:if test="$dbID != '0'">
<tr class="trClass">
<tr class="tdClass" style="text-align:left">
<!--<td style="width:20px"> <!--<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)"/> <input type="checkbox" name="Detail3.{normalize-space($dbID)}.selectbox" id="Detail3.{normalize-space($dbID)}.selectbox" checked='true' value="true" onClick="setChecked(this)"/>
</td>--> </td>-->
<td> <td style = "display:none">
<xsl:choose> <xsl:choose>
<xsl:when test="$chkbox ='Y'"> <xsl:when test="$chkbox ='Y'">
<input type="checkbox" name="Detail3.{normalize-space($dbID)}.selectbox" <input type="checkbox" name="Detail3.{normalize-space($dbID)}.selectbox"
...@@ -301,11 +318,11 @@ ...@@ -301,11 +318,11 @@
<td style="width:200px"> <td style="width:200px">
<xsl:value-of select="descr"/> <xsl:value-of select="descr"/>
</td> </td>
<td style="width:75px"> <td align="right" style="width:75px">
<input type="text" class="editInputClass" value="{$quantity}" name="Detail3.{normalize-space($dbID)}.quantity" <input type="text" class="editInputClass" value="{$quantity}" name="Detail3.{normalize-space($dbID)}.quantity"
onkeypress='return isQuantity(event)' id="Detail3.{normalize-space($dbID)}.quantity" maxlength="4" style="text-align: right;width:33px;" onkeyup="changeAmount({$dbID})"/> onkeypress='return isQuantity(event)' id="Detail3.{normalize-space($dbID)}.quantity" maxlength="4" style="text-align: right;width:33px;" onkeyup="changeAmount({$dbID})"/>
</td> </td>
<td style="width:75px"> <td align="right" style="width:75px">
<!--<xsl:value-of select="rate"/>--> <!--<xsl:value-of select="rate"/>-->
<input type="text" class="editInputClass" value="{$rate}" name="Detail3.{normalize-space($dbID)}.rate" <input type="text" class="editInputClass" value="{$rate}" name="Detail3.{normalize-space($dbID)}.rate"
onkeypress='return isNumberKey(event)' onkeyup='changeAmount({$dbID});Limit(this.id)' onkeypress='return isNumberKey(event)' onkeyup='changeAmount({$dbID});Limit(this.id)'
...@@ -316,26 +333,29 @@ ...@@ -316,26 +333,29 @@
<xsl:value-of select="curr_code"/> <xsl:value-of select="curr_code"/>
</td> </td>
<!--Changed by wasim on 07-07-2015 to add currency in form3 [END]--> <!--Changed by wasim on 07-07-2015 to add currency in form3 [END]-->
<td style="width:75px"> <td align="right" style="width:75px">
<!--<input type="text" class="editDisplayClass" ISCHANGED="false" readOnly = "1" value="{$tot_amt}" <!--<input type="text" class="editDisplayClass" ISCHANGED="false" readOnly = "1" value="{$tot_amt}"
id="Detail3.{normalize-space($dbID)}.tot_amt" style="text-align: right;width: 75px;" />--> id="Detail3.{normalize-space($dbID)}.tot_amt" style="text-align: right;width: 75px;" />-->
<input type="text" class="editDisplayClass" value="{$tot_amt}" name="Detail3.{normalize-space($dbID)}.tot_amt" <input type="text" class="editDisplayClass" value="{$tot_amt}" name="Detail3.{normalize-space($dbID)}.tot_amt"
id="Detail3.{normalize-space($dbID)}.tot_amt" ISCHANGED="false" readOnly = "1" style="text-align: right;width: 75px;"/> id="Detail3.{normalize-space($dbID)}.tot_amt" ISCHANGED="false" readOnly = "1" style="text-align: right;width: 75px;background-color: transparent;border: none;"/>
</td> </td>
<td style="width:75px"> <td align="left" style="width:75px">
<xsl:value-of select="ord_date"/> <xsl:value-of select="ord_date"/>
<input type="hidden" value="{$ord_date}" id="ord_datem{normalize-space($dbID)}" /> <input type="hidden" value="{$ord_date}" id="ord_datem{normalize-space($dbID)}" />
</td> </td>
<td> <td align="left" >
<input type="hidden" class="editDisplayClass" value="{dlv_date}" name="Detail3.{normalize-space($dbID)}.dlv_date" <!-- <input type="hidden" class="editDisplayClass" value="{dlv_date}" name="Detail3.{normalize-space($dbID)}.dlv_date"
id="Detail3.{normalize-space($dbID)}.dlv_date" style="width: 100px;"/> id="Detail3.{normalize-space($dbID)}.dlv_date" style="width: 100px;"/>
<!-- <xsl:value-of select="dlv_date"/>-->
<input type="text" id="dlv_date{normalize-space($dbID)}" value="{dlv_date}" <input type="text" id="dlv_date{normalize-space($dbID)}" value="{dlv_date}"
class="editInputClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 70px" onchange="dlvChange({$dbID})" /> class="editInputClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 70px" onchange="dlvChange({$dbID})" /> -->
<input type="text" class="input_editable" size="8" value="{$dlv_date}" name="Detail3.{normalize-space($dbID)}.dlv_date" id="dlv_date{normalize-space($dbID)}" maxlength="8" ISCHANGED="false" placeholder = "DD/MM/YY"/>
<img border="0" src="/ibase/webitm/images/calender.png" style = "margin-bottom:-5px;margin-left:3px;cursor: hand;" id="dlv_date" name="dlv_date" onClick="javascript:setDate('dlv_date{normalize-space($dbID)}');"/>
</td> </td>
<td> <td>
<xsl:value-of select="supp_code"/> <xsl:value-of select="supp_code"/>
...@@ -424,73 +444,37 @@ ...@@ -424,73 +444,37 @@
</xsl:for-each> </xsl:for-each>
</tbody> </tbody>
</table>
<div id="buttonreplacement" style="position:absolute;margin-left:450px;display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
Please wait......
</img>
</div>
<table>
<tr>
<td colspan="2">
<input type="hidden" value="3" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="porderWiz" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type="hidden" value="2:MP" name="formType" id="formType" />
<!-- <textarea name="PRE_FORM_VAL" ID="PRE_FORM_VAL" style="display:none;"></textarea> -->
<!-- Changed by samadhan on 13/07/2015 for previous button working Start -->
<!-- <input type="submit" id="back" style="cursor:hand" class="button" value="Previous" title='Previous'
onclick="javascript:setActionVal('previous');form3Pre();"/>
-->
<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="back" style="cursor:hand" class="button" value="Previous" title='Previous' onclick="return form3Pre();"/>
<!-- Changed by samadhan on 13/07/2015 for previous button working End -->
<input type="submit" id="save" style="cursor:hand" class="button" value="Finish" title='Finish'
onclick="javascript:setActionVal('finish');return checkRate();"/>
</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> </table>
</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="porderWiz" 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="back" style="cursor:hand" class="button" value="Previous" title='Previous' onclick="return form3Pre();"/>
<input type="submit" id="save" style="cursor:hand" class="button" value="Finish" title='Finish'
onclick="javascript:setActionVal('finish');return checkRate();"/>
</div> <div id="buttonreplacement" align="center" style="display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
Please wait......
</img>
</div>
</table>
</div>
</form> </form>
</body> </body>
<script language="JavaScript" type="text/javascript">
<![CDATA[
fixedTableHdr('Details', '', 'simpleTran') ;
]]>
</script>
</html> </html>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
......
...@@ -6,33 +6,31 @@ ...@@ -6,33 +6,31 @@
<xsl:template match="/"> <xsl:template match="/">
<html> <html>
<link rel="stylesheet" href="/ibase/webitm/css/DD/default.css" type="text/css" />
<link id="userThemeLink" type="text/css" rel="stylesheet" href=""/>
<script type="text/javascript" src="/ibase/webitm/js/porderWiz_Popup.js"></script>
<body onload="setUserTheme()"> <link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
<body>
<form name="porderFinish" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet"> <form name="porderFinish" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<table class="tableClass" id="Details1" border="0" cellspacing="1" cellpadding="1"> <div style="height:90%; width:98%;overflow:-moz-scrollbars-vertical;overflow-x:auto;overflow-y:auto;white-space:nowrap;">
<thead class="table-head" style="text-align:center;"> <table class="headertableClass" id="Details1" width="100%" border="0" cellspacing="1" cellpadding="1">
<tr> <tr>
<th class="thClass" nowrap="true" valign="bottom" > <th class="tHeader" align="left" width="15%" nowrap="true" valign="bottom" >
<strong>Purchase Order</strong> Purchase Order
</th> </th>
<th class="thClass" nowrap="true" valign="bottom" > <th class="tHeader" align="left" width="25%" nowrap="true" valign="bottom" >
<strong>Remarks</strong> Remarks
</th> </th>
<th class="thClass" nowrap="true" valign="bottom" > <th class="tHeader" align="left" width="15%" nowrap="true" valign="bottom" >
<strong>Supplier Code</strong> Supplier Code
</th> </th>
<th class="thClass" nowrap="true" valign="bottom" > <th class="tHeader" align="left" width="35%" nowrap="true" valign="bottom" >
<strong>Supplier Name</strong> Supplier Name
</th> </th>
<th class="thClass" nowrap="true" valign="bottom" > <th class="tHeader" align="right" width="20%" nowrap="true" valign="bottom" >
<strong>Total Tax</strong> Total Tax
</th> </th>
</tr> </tr>
</thead>
<tbody class="table-body"> <tbody class="table-body">
<xsl:for-each select="//finish"> <xsl:for-each select="//finish">
...@@ -42,20 +40,20 @@ ...@@ -42,20 +40,20 @@
<xsl:variable name="supp_name"><xsl:value-of select="supp_name"/></xsl:variable> <xsl:variable name="supp_name"><xsl:value-of select="supp_name"/></xsl:variable>
<xsl:variable name="tax_amt"><xsl:value-of select="tax_amt"/></xsl:variable> <xsl:variable name="tax_amt"><xsl:value-of select="tax_amt"/></xsl:variable>
<tr style="text-align:center;"> <tr class="trClass">
<td> <td class="td_leftAlign">
<xsl:value-of select="fieldId"/> <xsl:value-of select="fieldId"/>
</td> </td>
<td> <td class="td_leftAlign">
<xsl:value-of select="fieldValue"/> <xsl:value-of select="fieldValue"/>
</td> </td>
<td> <td class="td_leftAlign">
<xsl:value-of select="supp_code"/> <xsl:value-of select="supp_code"/>
</td> </td>
<td> <td class="td_leftAlign">
<xsl:value-of select="supp_name"/> <xsl:value-of select="supp_name"/>
</td> </td>
<td> <td class="td_rightAlign">
<xsl:value-of select="tax_amt"/> <xsl:value-of select="tax_amt"/>
</td> </td>
...@@ -63,33 +61,31 @@ ...@@ -63,33 +61,31 @@
</xsl:for-each> </xsl:for-each>
</tbody> </tbody>
</table> </table>
<table class="tableClass" id="Details2" border="0" cellspacing="1" cellpadding="1"> <table class="headertableClass" id="Details2" width="100%" style ="border-top:none" border="0" cellspacing="1" cellpadding="1">
<thead class="table-head" style="text-align:center;">
<tr> <tr>
<th class="thClass" nowrap="true" valign="bottom" > <th class="tHeader" align="left" nowrap="true" valign="bottom" >
<strong>Item SKU Code</strong> Item SKU Code
</th> </th>
<th class="thClass" nowrap="true" valign="bottom" > <th class="tHeader" align="right" nowrap="true" valign="bottom" >
<strong>Quantity</strong> Quantity
</th> </th>
<th class="thClass" nowrap="true" valign="bottom" > <th class="tHeader" align="right" nowrap="true" valign="bottom" >
<strong>Total Amount</strong> Total Amount
</th> </th>
<th class="thClass" nowrap="true" valign="bottom" > <th class="tHeader" align="right" nowrap="true" valign="bottom" >
<strong>Tax Amount</strong> Tax Amount
</th> </th>
<th class="thClass" nowrap="true" valign="bottom" > <th class="tHeader" align="left" nowrap="true" valign="bottom" >
<strong>Tax Class</strong> Tax Class
</th> </th>
<th class="thClass" nowrap="true" valign="bottom" > <th class="tHeader" align="left" nowrap="true" valign="bottom" >
<strong>Tax Chap</strong> Tax Chap
</th> </th>
<th class="thClass" nowrap="true" valign="bottom" > <th class="tHeader" align="left" nowrap="true" valign="bottom" >
<strong>Tax Env</strong> Tax Env
</th> </th>
</tr> </tr>
</thead>
<tbody class="table-body"> <tbody class="table-body">
<xsl:for-each select="//extra"> <xsl:for-each select="//extra">
...@@ -103,41 +99,54 @@ ...@@ -103,41 +99,54 @@
<xsl:variable name="tax_chap"><xsl:value-of select="tax_chap"/></xsl:variable> <xsl:variable name="tax_chap"><xsl:value-of select="tax_chap"/></xsl:variable>
<xsl:variable name="tax_env"><xsl:value-of select="tax_env"/></xsl:variable> <xsl:variable name="tax_env"><xsl:value-of select="tax_env"/></xsl:variable>
<tr style="text-align:center;"> <tr class="trClass" width="100%">
<td> <td class="td_leftAlign">
<xsl:value-of select="item_code"/> <xsl:value-of select="item_code"/>
</td> </td>
<td> <td class="td_rightAlign">
<xsl:value-of select="quantity"/> <xsl:value-of select="quantity"/>
</td> </td>
<td> <td class="td_rightAlign">
<xsl:value-of select="tot_amt"/> <xsl:value-of select="tot_amt"/>
</td> </td>
<td> <td class="td_rightAlign">
<xsl:value-of select="tax_amt"/> <xsl:value-of select="tax_amt"/>
</td> </td>
<td> <td class="td_leftAlign">
<xsl:value-of select="tax_class"/> <xsl:value-of select="tax_class"/>
</td> </td>
<td> <td class="td_leftAlign">
<xsl:value-of select="tax_chap"/> <xsl:value-of select="tax_chap"/>
</td> </td>
<td> <td class="td_leftAlign">
<xsl:value-of select="tax_env"/> <xsl:value-of select="tax_env"/>
</td> </td>
</tr> </tr>
</xsl:for-each> </xsl:for-each>
</tbody> </tbody>
</table> </table>
</div>
<table> <div style="width=20%;height:6px;margin-left=-12px;margin-top:1px;margin-bottom:0px;">
<tr> <table>
<td colspan="2"> <tr>
<input type="button" style="cursor:hand" onclick="javascript:callForm1('porderWiz')" <td colspan="2">
class="button green-Btn pophelp-okcancel" value="Home" title='Home' /> <input type="submit" style="cursor:hand" class="button" value="Home" title='Home' id="Home"/>
</td> <input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
</tr> <input type="hidden" value="porderWiz" name="OBJ_NAME" />
</table> <input type="hidden" value="previous" name="action" id="action" />
<input type="hidden" value="1:MP" name="formType" id="formType" />
</td>
</tr>
</table>
</div>
<!-- <table>
<tr>
<td colspan="2">
<input type="button" style="cursor:hand" onclick="javascript:callForm1('porderWiz')"
class="button green-Btn pophelp-okcancel" value="Home" title='Home' />
</td>
</tr>
</table> -->
</form> </form>
</body> </body>
</html> </html>
......
...@@ -7,88 +7,119 @@ ...@@ -7,88 +7,119 @@
<html> <html>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script> <!-- <script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Common.js"></script> <script type="text/javascript" src="/ibase/webitm/js/prodWiz_Common.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Popup.js"></script> <script type="text/javascript" src="/ibase/webitm/js/prodWiz_Popup.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/porderWiz_Popup.js"></script> <script type="text/javascript" src="/ibase/webitm/js/porderWiz_Popup.js"></script>
<link rel="stylesheet" href="/ibase/webitm/css/DD/default.css" type="text/css" /> <link rel="stylesheet" href="/ibase/webitm/css/DD/default.css" type="text/css" />
<link id="userThemeLink" type="text/css" rel="stylesheet" href=""/> -->
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
<link rel="stylesheet" href="/ibase/webitm/css/Standard/default.css" type="text/css" />
<link id="userThemeLink" type="text/css" rel="stylesheet" href=""/> <link id="userThemeLink" type="text/css" rel="stylesheet" href=""/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
<script language="JavaScript" type="text/javascript">
<![CDATA[
$(function() {
selectedCode = [];
for( dbID = 1; dbID <= maxId; dbID++)
{
objCurr = document.getElementById("DetailITCode."+ dbID +".selectbox");
if( objCurr.value == 'true' )
{
if ($.inArray( dbID, selectedCode ))
{
selectedCode.push( dbID );
}
}
}
});
]]>
</script>
<body onload="setUserTheme()"> <body>
<form name="Wizard_SuppDetails"> <form name="Wizard_SuppDetails">
<table class="tableClass" id="Details" border="0" cellspacing="1" cellpadding="1"> <table id="Details" class="headertableClass" border="0" cellspacing="1" cellpadding="1">
<thead class="table-head">
<tr> <tr>
<th class="thClass" nowrap="true" width="5%"> <th class="tHeader" nowrap="true" width="5%">
<!-- <input type="checkbox" id="chkAll" onclick="return checkAllPopup(this)"/> -->
</th> </th>
<th class="thClass" nowrap="true" valign="bottom" width="30%"> <xsl:for-each select="//Headers">
<strong>Code</strong> <xsl:variable name="headName"><xsl:value-of select="headName"/></xsl:variable>
</th> <xsl:variable name="headSize"><xsl:value-of select="headSize"/></xsl:variable>
<th class="thClass" nowrap="true" valign="bottom" width="70%"> <th align="left" class="tHeader" nowrap="true" valign="bottom" width="{$headSize}%">
<strong>Description</strong> <xsl:value-of select="headName" />
</th> </th>
</xsl:for-each>
</tr> </tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="//supp_code"> <xsl:for-each select="//supp_code">
<xsl:variable name="fieldId"><xsl:value-of select="fieldId"/></xsl:variable> <xsl:variable name="fieldId"><xsl:value-of select="fieldId"/></xsl:variable>
<xsl:variable name="fieldValue"><xsl:value-of select="fieldValue"/></xsl:variable> <xsl:variable name="fieldValue"><xsl:value-of select="fieldValue"/></xsl:variable>
<xsl:variable name="otherField"><xsl:value-of select="otherField"/></xsl:variable> <xsl:variable name="otherField"><xsl:value-of select="otherField"/></xsl:variable>
<!-- <xsl:variable name="otherField1"><xsl:value-of select="otherField1"/></xsl:variable>
<xsl:variable name="otherField1"><xsl:value-of select="otherField1"/></xsl:variable>
<xsl:variable name="otherField2"><xsl:value-of select="otherField2"/></xsl:variable> <xsl:variable name="otherField2"><xsl:value-of select="otherField2"/></xsl:variable>
<xsl:variable name="otherField3"><xsl:value-of select="otherField3"/></xsl:variable> <xsl:variable name="otherField3"><xsl:value-of select="otherField3"/></xsl:variable>
<xsl:variable name="otherField4"><xsl:value-of select="otherField4"/></xsl:variable> <xsl:variable name="otherField4"><xsl:value-of select="otherField4"/></xsl:variable>
<xsl:variable name="otherField5"><xsl:value-of select="otherField5"/></xsl:variable> <xsl:variable name="otherField5"><xsl:value-of select="otherField5"/></xsl:variable>
<xsl:variable name="descr1"><xsl:value-of select="descr1"/></xsl:variable> -->
<xsl:variable name="descr1"><xsl:value-of select="descr1"/></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="dbID"><xsl:value-of select="@domID"/></xsl:variable> <xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<SCRIPT> <SCRIPT>
<![CDATA[ var qtyR; qtyR ="]]> <xsl:value-of select="$dbID"/> <![CDATA[ var qtyR; qtyR ="]]> <xsl:value-of select="$dbID"/>
<![CDATA[";maxId= qtyR; ]]> <![CDATA[";maxId= qtyR; ]]>
</SCRIPT> </SCRIPT>
<tr id="{normalize-space($dbID)}" onclick="rowChecked(this.id)">
<tr class="trClass" id="{normalize-space($dbID)}" onclick="setCheckedRow(event, this)" ondblclick="setDoubleClickData(event, this)">
<td> <td>
<input type="checkbox" name="selectbox" value="false" onclick="checkone(this.id)" id="DetailITCode.{normalize-space($dbID)}.selectbox"/> <xsl:choose>
<xsl:when test="$chkbox ='Y'">
<input type="checkbox" name="selectbox" id="DetailITCode.{normalize-space($dbID)}.selectbox" checked='true' value="true" onClick="setCheckedPopup(this)"/>
</xsl:when>
<xsl:otherwise>
<input type="checkbox" name="selectbox" id="DetailITCode.{normalize-space($dbID)}.selectbox" value="false" onClick="setCheckedPopup(this)"/>
</xsl:otherwise>
</xsl:choose>
</td> </td>
<td> <td class="td_leftAlign">
<xsl:value-of select="fieldId"/> <xsl:value-of select="fieldId"/>
<input type="hidden" name="Detail3.{normalize-space($dbID)}.fieldId" id="DetailITCode.{normalize-space($dbID)}.fieldId" <input type="hidden" name="Detail3.{normalize-space($dbID)}.fieldId" id="DetailITCode.{normalize-space($dbID)}.fieldId"
value="{normalize-space($fieldId)}" /> value="{normalize-space($fieldId)}" />
</td> </td>
<td> <td class="td_leftAlign">
<xsl:value-of select="fieldValue"/> <xsl:value-of select="fieldValue"/>
<input type="hidden" name="Detail3.{normalize-space($dbID)}.fieldValue" id="DetailITCode.{normalize-space($dbID)}.fieldValue" <input type="hidden" name="Detail3.{normalize-space($dbID)}.fieldValue" id="DetailITCode.{normalize-space($dbID)}.fieldValue"
value="{normalize-space($fieldValue)}" /> value="{normalize-space($fieldValue)}" />
</td> </td>
<input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField" id="DetailITCode.{normalize-space($dbID)}.otherField" <input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField" id="DetailITCode.{normalize-space($dbID)}.otherField"
value="{normalize-space($otherField)}" /> value="{normalize-space($otherField)}" />
<input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField1" id="DetailITCode.{normalize-space($dbID)}.otherField1" <!-- <input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField1" id="DetailITCode.{normalize-space($dbID)}.otherField1"
value="{normalize-space($otherField1)}" /> value="{normalize-space($otherField1)}" />
<input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField2" id="DetailITCode.{normalize-space($dbID)}.otherField2" <input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField2" id="DetailITCode.{normalize-space($dbID)}.otherField2"
value="{normalize-space($otherField2)}" /> value="{normalize-space($otherField2)}" />
<input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField3" id="DetailITCode.{normalize-space($dbID)}.otherField3" <input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField3" id="DetailITCode.{normalize-space($dbID)}.otherField3"
value="{normalize-space($otherField3)}" /> value="{normalize-space($otherField3)}" />
<input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField4" id="DetailITCode.{normalize-space($dbID)}.otherField4" <input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField4" id="DetailITCode.{normalize-space($dbID)}.otherField4"
value="{normalize-space($otherField4)}" /> value="{normalize-space($otherField4)}" />
<input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField5" id="DetailITCode.{normalize-space($dbID)}.otherField5" <input type="hidden" name="Detail3.{normalize-space($dbID)}.otherField5" id="DetailITCode.{normalize-space($dbID)}.otherField5"
value="{normalize-space($otherField5)}" /> value="{normalize-space($otherField5)}" />
<input type="hidden" name="Detail3.{normalize-space($dbID)}.descr1" id="DetailITCode.{normalize-space($dbID)}.descr1"
<input type="hidden" name="Detail3.{normalize-space($dbID)}.descr1" id="DetailITCode.{normalize-space($dbID)}.descr1" value="{normalize-space($descr1)}" /> -->
value="{normalize-space($descr1)}" />
</tr> </tr>
</xsl:for-each> </xsl:for-each>
<input type="hidden" id="checkID" /> <!-- <input type="hidden" id="checkID" /> -->
</tbody>
</table> </table>
</form> </form>
......
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