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,43 +9,55 @@ ...@@ -9,43 +9,55 @@
<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] --> </style>
<!-- <div class="mainPage-Container" style="overflow: auto;"> -->
<div class="mainPage-Container" style="overflow: auto; height: 90%;"> <form name="porderWizFormI" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet" style="background-color: #f7f8fa;">
<!-- Changed by Sneha on 27-05-2016, for scroll on detail1 [End] -->
<TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<TR>
<div class='contentHeaderLbl'><img src="/ibase/images/menuImages/web/salesorder.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Purchase Order
</TD>
</div>
</TR>
</TABLE>
<div style="margin-top: 8px; width:100%; padding: 0px; float: left;"> <div class="pageContentWrapper" style="height:75%;overflow:auto;">
<div style="float: left; width:50%; border: 0px solid; padding: 0px;"> <table id="activityTable" Class="editDisplayColumnClass" border="0" cellSpacing="0" width="99%" cellPadding="5">
<table id="activityTable" border="0" cellSpacing="1" cellPadding="0">
<xsl:for-each select="//Detail1"> <xsl:for-each select="//Detail1">
<xsl:variable name="purc_order"><xsl:value-of select="purc_order"/></xsl:variable> <xsl:variable name="purc_order"><xsl:value-of select="purc_order"/></xsl:variable>
<xsl:variable name="ord_date"><xsl:value-of select="ord_date"/></xsl:variable> <xsl:variable name="ord_date"><xsl:value-of select="ord_date"/></xsl:variable>
...@@ -93,45 +105,56 @@ ...@@ -93,45 +105,56 @@
<!-- Changed by Sneha on 27-05-2016, for purchase order text box [Start] --> <!-- Changed by Sneha on 27-05-2016, for purchase order text box [Start] -->
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Purchase Order :</strong> Purchase Order :
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 90%;"> <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" <input type="text" value="{$purc_order}" id="purc_order" name="Detail1.{normalize-space($dbID)}.purc_order"
class="editInputClass" style="width: 90%" maxlength="10" class="input_editable" style="width: 100%" maxlength="10"
onchange="javascript:return validatePurcOrder();" /> onchange="javascript:return validatePurcOrder();" />
</div>
<div style="width:5%; float: right;"> <div style="width:2%;float: left;padding-left:2px">
<a href="javascript:supp_pop('purc_order','purcorder','Purchase Order');"> <!-- <a href="javascript:callListJSP('purc_order','purcorder','Purchase Order');">
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Purchase Order" id = "purcOrder_img" /> <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> </a>
</div> </div>
</div> </div>
</td> </td>
<td>
</td>
</tr> </tr>
<!-- Changed by Sneha on 27-05-2016, for purchase order text box [End] --> <!-- Changed by Sneha on 27-05-2016, for purchase order text box [End] -->
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Order Date :</strong> <strong>Order Date :</strong>
</td> </td>
<td colspan="2"> <td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.ord_date" id="orddate" <!-- <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%" /> value="{$ord_date}" class="input_editable" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 20%" /> -->
<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');"/>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Order Site :</strong> <strong>Order Site :</strong>
</td> </td>
<td class="td_leftAlign"> <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" <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%;" /> value="{site_code__ord}" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 21%;" />
</div> </td>
<td>
</td> </td>
</tr> </tr>
...@@ -140,18 +163,18 @@ ...@@ -140,18 +163,18 @@
<strong>IND Number :</strong> <strong>IND Number :</strong>
</td> </td>
<td class="td_leftAlign" colspan="3"> <td class="td_leftAlign" colspan="3">
<input type="text" value="{$ind_no}" name="Detail1.{normalize-space($dbID)}.ind_no" 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> </td>
</tr> --> </tr> -->
<!-- Changed by samadhan on 06 07 2015 Start --> <!-- Changed by samadhan on 06 07 2015 Start -->
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Transaction Type :</strong> <strong>Transaction Type :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign">
<div style="position:relative; width: 90%;"> <div style="position:relative; width: 21%;">
<select name="Detail1.{normalize-space($dbID)}.pord_type" id="pord_type" onchange = "setBlank()" > <select name="Detail1.{normalize-space($dbID)}.pord_type" id="pord_type" class="input_editable" style ="width:100%" onchange = "setBlank()" >
<xsl:choose> <xsl:choose>
...@@ -176,112 +199,94 @@ ...@@ -176,112 +199,94 @@
</div> </div>
</td> </td>
<td>
</td>
</tr> </tr>
<!-- Changed by samadhan on 06 07 2015 End --> <!-- Changed by samadhan on 06 07 2015 End -->
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Item Series* :</strong> <strong>Item Series* :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 90%;"> <div style="width: 100%;">
<input type="text" class="editInputClass" value="{$item_ser}" id="itmser" name="Detail1.{normalize-space($dbID)}.item_ser" <div style="width: 20%;float: left;">
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 95%;" /> <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 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>
<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>
</td> <div style="float: left;width: 70%;padding-left:3px" >
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.task_desc" id="itmdescr" <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" /> value="{task_desc}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style = "width: 100%;"/>
</td> </div>
</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;">
<a href="javascript:supp_pop('type','type','Tran Type');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Tran Type"/>
</a>
</div>-->
<!-- Changed by Samadhan
</div> </div>
</td> </td>
--> <td>
</td>
<!--<td colspan="2">
<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>
-->
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Supplier Code* :</strong> <strong>Supplier Code* :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="position:relative; width: 90%;"> <div style="width: 100%;">
<input type="text" class="editInputClass" value="{supp_code}" name="Detail1.{normalize-space($dbID)}.supp_code" <div style="width: 20%;float: left;">
id="xyz" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 95%;" /> <input type="text" class="input_editable" value="{supp_code}" name="Detail1.{normalize-space($dbID)}.supp_code"
<div style="width:5%; float: right;"> id="supp_code" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
<a href="javascript:supp_pop('supp_code','xyz','Supplier Code','{site_code__ord}');" style="float: left;text-decoration: none;"> </div>
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Supplier Code" id = "supp_img"/> <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> </a>
</div> </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> </div>
</td> </td>
<td colspan="2"> <td>
<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> </td>
</tr> </tr>
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Credit Terms :</strong> <strong>Credit Terms :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="position:relative; width: 90%;"> <div style="width: 100%;">
<input type="text" class="editInputClass" value="{$cr_term}" id="crterm" name="Detail1.{normalize-space($dbID)}.cr_term" <div style="width: 20%;float: left;">
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 95%;" /> <input type="text" class="input_editable" value="{$cr_term}" id="crterm" name="Detail1.{normalize-space($dbID)}.cr_term"
<div style="width:5%; float: right;"> maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
<a href="javascript:supp_pop('cr_term','crterm','Credit Term');" style="float: left;text-decoration: none;"> </div>
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Credit Term" id = "crterm_img" /> <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> </a>
</div> </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> </div>
</td> </td>
<td colspan="2"> <td>
<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> </td>
</tr> </tr>
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Remarks :</strong> <strong>Remarks :</strong>
</td> </td>
<td class="td_leftAlign" colspan="3"> <td class="td_leftAlign" colspan="2">
<input type="text" value="{remarks}" name="Detail1.{normalize-space($dbID)}.remarks" id="remarks" <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);" /> maxlength="40" class="input_editable" style="width: 100%" onkeyup = "return specialCharValidate(this.id);" />
</td> </td>
</tr> </tr>
...@@ -296,21 +301,19 @@ ...@@ -296,21 +301,19 @@
</tr> --> </tr> -->
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Deliver At :</strong> <strong>Deliver At :</strong>
</td> </td>
<td class="td_leftAlign"> <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" <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%;" /> id="site_code__dlv" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 45%;" />
<!--<div style="width:3%; float: right;"> <!--<div style="width:3%; float: right;">
<a href="javascript:supp_pop('site_code__dlv','site_code__dlv','Site Code');" style="float: left;text-decoration: none;"> <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"/> <img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Delivery Site"/>
</a> </a>
</div>--> </div>-->
</div> </td>
<td>
</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)}.site_descr" id="dlvDescr"
...@@ -324,7 +327,7 @@ ...@@ -324,7 +327,7 @@
<strong>Site Address1 :</strong> <strong>Site Address1 :</strong>
</td> </td>
<td class="td_leftAlign" colspan="3"> <td class="td_leftAlign" colspan="3">
<input type="text" name="Detail1.{normalize-space($dbID)}.site_add1" value="{site_add1}" maxlength="40" class="editInputClass" style="width: 100%"/> <input type="text" name="Detail1.{normalize-space($dbID)}.site_add1" value="{site_add1}" maxlength="40" class="input_editable" style="width: 100%"/>
</td> </td>
</tr>--> </tr>-->
...@@ -334,31 +337,35 @@ ...@@ -334,31 +337,35 @@
</td> </td>
<td class="td_leftAlign" colspan="3"> <td class="td_leftAlign" colspan="3">
<input type="text" name="Detail1.{normalize-space($dbID)}.dlv_term" ISCHANGED="false" readOnly = "1" <input type="text" name="Detail1.{normalize-space($dbID)}.dlv_term" ISCHANGED="false" readOnly = "1"
id="dlvterm" value="{$dlv_term}" class="editInputClass" style="width: 100%"/> id="dlvterm" value="{$dlv_term}" class="input_editable" style="width: 100%"/>
</td> </td>
</tr>--> </tr>-->
<input type="hidden" name="Detail1.{normalize-space($dbID)}.dlv_term" ISCHANGED="false" readOnly = "1" <input type="hidden" name="Detail1.{normalize-space($dbID)}.dlv_term" ISCHANGED="false" readOnly = "1"
id="dlvterm" value="{$dlv_term}" class="editInputClass" style="width: 100%"/> id="dlvterm" value="{$dlv_term}" class="input_editable" style="width: 100%"/>
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Transporter Code :</strong> <strong>Transporter Code :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="position:relative; width: 90%;"> <div style="width: 100%;">
<input type="text" class="editInputClass" value="{$tran_code}" id="trcode" name="Detail1.{normalize-space($dbID)}.tran_code" <div style="width: 20%;float: left;">
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 95%;" /> <input type="text" class="input_editable" value="{$tran_code}" id="trcode" name="Detail1.{normalize-space($dbID)}.tran_code"
<div style="width:5%; float: right;"> maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
<a href="javascript:supp_pop('tran_code','trcode','Transporter Code');" style="float: left;text-decoration: none;"> </div>
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Transporter Code"/> <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> </a>
</div> </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> </div>
</td> </td>
<td colspan="2"> <td>
<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: 225px" />
</td> </td>
</tr> </tr>
...@@ -368,10 +375,10 @@ ...@@ -368,10 +375,10 @@
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign">
<input type="text" value="{$trans_mode}" ISCHANGED="false" readOnly = "1" name="Detail1.{normalize-space($dbID)}.trans_mode" <input type="text" value="{$trans_mode}" ISCHANGED="false" readOnly = "1" name="Detail1.{normalize-space($dbID)}.trans_mode"
class="editInputClass" id="trmode" maxlength="10" style='text-align: right; width: 100%'/> class="input_editable" id="trmode" maxlength="10" style='text-align: right; width: 100%'/>
</td> </td>
<td> <td>
<a href="javascript:supp_pop('trans_mode','trmode','Transporter Mode');" style="float: left;text-decoration: none;"> <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>
</td> </td>
...@@ -379,21 +386,25 @@ ...@@ -379,21 +386,25 @@
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Transporter Mode :</strong> <strong>Transporter Mode :</strong>
</td> </td>
<td class="td_leftAlign">
<div style="position:relative; width: 100%;"> <td class="td_leftAlign" colspan = "3" nowrap="true">
<input type="text" class="editInputClass" value="{$trans_mode}" id="trmode" name="Detail1.{normalize-space($dbID)}.trans_mode" <div style="width: 100%;">
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 30%;" /> <div style="width: 20%;float: left;">
<div style="width:70%; float: right;"> <input type="text" class="input_editable" value="{$trans_mode}" id="trmode" name="Detail1.{normalize-space($dbID)}.trans_mode"
<a href="javascript:supp_pop('trans_mode','trmode','Transporter Mode');" style="float: left;text-decoration: none;"> maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Transporter Mode"/> </div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','trmode','trans_mode', 'Transporter MOde', 0);">
<img src="/ibase/webitm/images/pophelp.png" title="Select Transporter Mode"/>
</a> </a>
</div> </div>
</div> </div>
</td> </td>
<td>
</td>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.delivery_term_descr" id="delivery_term_descr" value="{$delivery_term_descr}" /> <input type="hidden" name="Detail1.{normalize-space($dbID)}.delivery_term_descr" id="delivery_term_descr" value="{$delivery_term_descr}" />
</tr> </tr>
...@@ -408,19 +419,19 @@ ...@@ -408,19 +419,19 @@
</tr> --> </tr> -->
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Price List :</strong> <strong>Price List :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign">
<div style="position:relative; width: 100%;"> <input type="text" class="input_editable" value="{$price_list}" id="prlist" name="Detail1.{normalize-space($dbID)}.price_list"
<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: 21%;" />
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 70%;" />
<!--<div style="width:3%; float: right;"> <!--<div style="width:3%; float: right;">
<a href="javascript:supp_pop('price_list','prlist','Price List');" style="float: left;text-decoration: none;"> <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"/> <img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Price List"/>
</a> </a>
</div>--> </div>-->
</div> </td>
<td>
</td> </td>
<!--<td colspan="2"> <!--<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.price_list" id="prdescr" <input type="text" name="Detail1.{normalize-space($dbID)}.price_list" id="prdescr"
...@@ -439,199 +450,142 @@ ...@@ -439,199 +450,142 @@
</tr>--> </tr>-->
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Currency :</strong> <strong>Currency :</strong>
</td> </td>
<td> <td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="position:relative; width: 100%;"> <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" <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%;" /> class="editDisplayClass" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
<div style="width:30%; float: right;"> </div>
<a href="javascript:supp_pop('curr_code','curr_code','Curr Code');" style="float: left;text-decoration: none;"> <div style="width:2%;float: left;padding-left:2px">
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Currency Code" id = "curr_img" /> <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> </a>
</div> </div>
</div> </div>
</td> </td>
<td>
</td>
</tr> </tr>
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Exchange Rate :</strong> <strong>Exchange Rate :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign">
<input type="text" name="Detail1.{normalize-space($dbID)}.exch_rate" id="exch_rate" value="{$exch_rate}" onkeypress='return isNumberKey(event)' <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"/> class="editDisplayClass" maxlength="4" readOnly = "0" style='text-align: right; width: 21%' ISCHANGED="false"/>
</td> </td>
<td></td>
</tr> </tr>
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Department Code :</strong> <strong>Department Code :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="position:relative; width: 90%;"> <div style="width: 100%;">
<input type="text" class="editInputClass" value="{$dept_code}" id="dcode" name="Detail1.{normalize-space($dbID)}.dept_code" <div style="width: 20%;float: left;">
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 95%;" /> <input type="text" class="input_editable" value="{$dept_code}" id="dcode" name="Detail1.{normalize-space($dbID)}.dept_code"
<div style="width:5%; float: right;"> maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
<a href="javascript:supp_pop('dept_code','dcode','Department Code');" style="float: left;text-decoration: none;"> </div>
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Department Code"/> <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> </a>
</div> </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> </div>
</td> </td>
<td colspan="2"> <td>
<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> </td>
</tr> </tr>
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Term Table :</strong> <strong>Term Table :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="position:relative; width: 100%;"> <div style="width: 100%;">
<input type="text" class="editInputClass" value="{$term_table}" id="term_table" name="Detail1.{normalize-space($dbID)}.term_table" <div style="width: 20%;float: left;">
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 70%;" /> <input type="text" class="input_editable" value="{$term_table}" id="term_table" name="Detail1.{normalize-space($dbID)}.term_table"
<div style="width:30%; float: right;"> maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
<a href="javascript:supp_pop('term_table','term_table','Term table');" style="float: left;text-decoration: none;"> </div>
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Term table" id="termtbl_img" /> <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> </a>
</div> </div>
</div> </div>
</td> </td>
<td>
</td>
</tr> </tr>
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Release Type :</strong> <strong>Release Type :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="position:relative; width: 100%;"> <div style="width: 100%;">
<input type="text" class="editInputClass" value="{$udf_str__1}" id="udf_str__1" name="Detail1.{normalize-space($dbID)}.udf_str__1" <div style="width: 20%;float: left;">
maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 70%;" /> <input type="text" class="input_editable" value="{$udf_str__1}" id="udf_str__1" name="Detail1.{normalize-space($dbID)}.udf_str__1"
<div style="width:30%; float: right;"> maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 100%;" />
<a href="javascript:supp_pop('udf_str__1','udf_str__1','Release Type');" style="float: left;text-decoration: none;"> </div>
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Release Type" id="rtype_img" /> <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> </a>
</div> </div>
</div> </div>
</td> </td>
<td>
</td>
</tr> </tr>
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Release Amt/Perc :</strong> <strong>Release Amt/Perc :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign">
<div style="position:relative; width: 100%;"> <input type="text" class="input_editable" value="{$site_add1}" id="site_add1" name="Detail1.{normalize-space($dbID)}.site_add1"
<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)' maxlength="11" onkeypress='return isNumberKey(event)' onkeyup='Limit(this.id)' onblur = 'return Round(this.id)'
style="width: 70%;text-align: right;" /> style="width: 21%;text-align: right;" />
</div> <!-- onfocusout='Round(this.id)' --> <!-- Changed by Sneha on 16-08-2016, to call function onblur event -->
</td> </td>
</tr> </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> </xsl:for-each>
</table> </table>
</div> </div>
<!--<div style="float: left; width:45%; border: 0px solid; padding: 0px;"> <div>
<div id="accordion" style="position: fixed; float: left; margin-left: 5px; width:45%;"> <table cellSpacing="1" cellPadding="1" width="100%" border="0">
<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> <tr>
<td class="td_leftAlign" nowrap="true"> <td align = "right" >
<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>
</td>
<td colspan="2">
<input type="text" id="itmdescription" value="{item_code}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 200px" />
</td>
</tr>
</table>
</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="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="porderWiz" name="OBJ_NAME" id="OBJ_NAME"/> <input type="hidden" value="porderWiz" name="OBJ_NAME" id="OBJ_NAME"/>
<input type="hidden" value="next" name="action" id="action" /> <input type="hidden" value="next" name="action" id="action" />
<!-- <input type="submit" style="cursor:hand" value="Next" class="button" title='' onclick="javascript:return checkNullvalidation()" /> --> <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'/>
<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 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> <div id="buttonreplacement" align="center" style="display:none;">
</table>
</div>
<div id="buttonreplacement" style="margin-left:450px;display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" > <img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
Please wait...... Please wait......
</img> </img>
</div> </div>
</td>
</tr>
</table>
</div> </div>
</form> </form>
</body> </body>
</html> </html>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
...@@ -6,33 +6,49 @@ ...@@ -6,33 +6,49 @@
<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.ui.accordion.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 type="text/javascript" src="/ibase/webitm/js/jquery.ui.accordion.js"></script>
<!-- <link href="/ibase/webitm/css/theme/galaxy-theme.css" rel="stylesheet"/>
<link href="/ibase/webitm/css/DD/ProductWizard.css" rel="stylesheet"/> -->
<!-- <link href="/ibase/webitm/css/theme/galaxy-theme.css" rel="stylesheet"/> -->
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
<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"/> <link href="/ibase/webitm/css/DD/jquery-ui-1.10.4.custom.min.css" rel="stylesheet"/>
<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> -->
<script> <script>
<![CDATA[ <![CDATA[
$(function() $(function()
{ {
$( "#accordion" ).accordion({ collapsible:true, active:false }); $( "#accordion" ).accordion({ collapsible:true, active:false });
$("#accordion").accordion('option', 'active' , 0);
pageLoad(); pageLoad();
setImagesMain();
$('#itemParentImage').draggable();
$('#itemParentImage').draggable().resizable();
$('body').click(function(event)
{
document.getElementById('itemParentImage').style.visibility = "hidden";
});
}); });
]]> ]]>
<!-- Removed by Samadhan 19/11/2015 for delevary date calculation$( "#dlv_date1").datepicker({ minDate: 0, changeMonth: true, changeYear: true, dateFormat : "d/m/y"});-->
<!-- in above function pageLoad() function added by samadhan on 14/07/2015 -->
</script> </script>
<!--//Changed by samadhan on 03/02/2015 for fixed matxix table header Start-->
<style type="text/css"> <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.headertableClass {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;} table.headertableClass th {border-width: 1px;padding: 1px;border-style: solid;border-color: #cfcfcf;white-space: normal;border-bottom:2px solid #ddd;}
table.mt td {border-width: 1px;padding: 1px;border-style: solid;border-color: #cfcfcf;vertical-align:middle;white-space:nowrap;} table.headertableClass td {border-width: 1px;padding: 1px;border-style: solid;border-color: #cfcfcf;vertical-align:middle;white-space:nowrap;}
.tdClass>td{ .tdClass>td{
padding: 0 10px; padding: 0 10px;
...@@ -43,23 +59,76 @@ ...@@ -43,23 +59,76 @@
text-shadow: 0 1px white; text-shadow: 0 1px white;
text-shadow: 0 1px 1px rgba(0, 0, 0, .2); text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
text-rendering: optimizeLegib text-rendering: optimizeLegib
} } -->
<!-- #accordion .ui-accordion-content {
max-height: 270px;
} -->
#accordion .ui-accordion-content
{
background-color: white;
border:1px solid #fbd850;
border-top : none;
height: auto !important;
border-radius: 0px !important
}
.ui-accordion-header.ui-state-active
{
background-color: #fdf5ce;
border-bottom : 1px solid #ccc;
}
.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl
{
border-radius: 0px !important
}
.accordian-Header
{
<!-- border-bottom : 1px solid #ccc; -->
background-color: white;
<!-- border:1px solid #eee;
border-top: #6cf 2px solid -->
}
.totalQuantity
{
padding-top: 8px;
}
</style> </style>
<!--//Changed by samadhan on 03/02/2015 for fixed matxix table header End-->
<!--//Changed by Santosh on 12-05-2016 for dummy call--> <body>
<!--body--> <form name="porderWizFormII" id="porderWizFormII" METHOD="post" onkeypress="return event.keyCode != 13;" ACTION="/ibase/ITMWizardHandlerServlet">
<body onload="dummyServletCall();" >
<form name="porderWizFormII" id="porderWizFormII" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet"> <xsl:for-each select="//Detail2">
<xsl:if test="position() = 1">
<div class="mainPage-Container"> <TABLE border="0" width="100%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;border-bottom: #6cf 2px solid">
<!-- Changed by Sneha on 27-05-2016, for scroll on detail1 [Start] --> <TR>
<!-- <div style="overflow: auto;height:90%"> --> <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="overflow: auto;height:87%"> <TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
<!-- Changed by Sneha on 27-05-2016, for scroll on detail1 [End] --> Product
</TD>
<div style="margin-top: 8px; width:100%; padding: 0px; float: left;">
<table id="activityTable" border="0" cellSpacing="1" cellPadding="0"> <TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
<div style="width: 99%; margin-top: 5px;"> 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 class="pageContentWrapper" id = "pageContentWrapper" style="height:75%;overflow:auto;">
<table>
<xsl:for-each select="//Detail2"> <xsl:for-each select="//Detail2">
<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>
...@@ -135,93 +204,129 @@ ...@@ -135,93 +204,129 @@
<input type="hidden" value="{$udf_str__1}" name="Detail2.0.udf_str__1" id="udf_str__1" /> <input type="hidden" value="{$udf_str__1}" name="Detail2.0.udf_str__1" id="udf_str__1" />
<input type="hidden" value="{$site_add1}" name="Detail2.0.site_add1" id="site_add1" /> <input type="hidden" value="{$site_add1}" name="Detail2.0.site_add1" id="site_add1" />
<input type="hidden" value="{$delivery_term_descr}" name="Detail2.0.delivery_term_descr" id="delivery_term_descr" /> <input type="hidden" value="{$delivery_term_descr}" name="Detail2.0.delivery_term_descr" id="delivery_term_descr" />
<input type="hidden" value="{$udf_str__3}" name="Detail2.0.udf_str__3" id="udf_str__3" />
<input type="hidden" value="{$udf_str__3}" name="Detail2.0.udf_str__3" id="udf_str__3" /> <!-- Sneha -->
<!--<input type="hidden" value="{normalize-space($supp_code)}" id="supp_code" />
<input type="hidden" value="{normalize-space($purc_order)}" id="purc_order" />
<input type="hidden" value="{normalize-space($ord_date)}" id="ord_date" />
<input type="hidden" value="{normalize-space($ind_no)}" id="ind_no" />
<input type="hidden" value="{normalize-space($dept_code)}" id="dept_code" />
<input type="hidden" value="{normalize-space($item_ser)}" id="item_ser" />-->
</xsl:for-each> </xsl:for-each>
</div>
<tr>
<td>
<input type="hidden" value="1" name="TAB" ID="tabs" />
<input type="hidden" value="" name="active" ID="active" />
<input type="hidden" value="0" name="fld" ID="fld" />
<input type="hidden" name="NEXT_FORM_VAL" ID="NEXT_FORM_VAL" />
<input type="hidden" name="PRE_FORM_VAL" ID="PRE_FORM_VAL" />
</td>
</tr>
</table> </table>
</div>
<xsl:for-each select="//Detail2"> <xsl:for-each select="//Detail2">
<xsl:variable name="dlv_date"><xsl:value-of select="dlv_date"/></xsl:variable> <xsl:variable name="dlv_date"><xsl:value-of select="dlv_date"/></xsl:variable>
<!--Change by samadhan on 19/11/2015 -->
<xsl:variable name="ord_date_m"><xsl:value-of select="ord_date"/></xsl:variable> <xsl:variable name="ord_date_m"><xsl:value-of select="ord_date"/></xsl:variable>
<div style="float: left; width:100%; border: 0px solid; padding: 0px;"> <div style="float: left; width:100%; border: 0px solid; padding: 0px;">
<!--Change by samadhan on 19/11/2015 -->
<input type="hidden" value="{$ord_date_m}" name="ord_date_m" id="ord_date_m" /> <input type="hidden" value="{$ord_date_m}" name="ord_date_m" id="ord_date_m" />
<div id="accordion" style="float: left; margin-left: 5px; width:95%;"> <div id="accordion" style="margin-bottom:50px;float: left; margin-left: 0px; width:100%;">
<h3 onclick='run(1)' style="font-family: Arial Unicode MS, Arial, sans-serif;">Product Set <h3 onclick='run(1)' class = "accordian-Header" >
<table width = "100%">
<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>
<td width="96%">
<table style = "font-size:14px">
<tr>
<td>
<label id='main1' style='background-color: transparent;'></label> <label id='main1' style='background-color: transparent;'></label>
<input type='hidden' id='display' value='0' /> <input type='hidden' id='display' value='0' />
Total Quantity<label id='display.1' style='background-color: transparent;'></label> </td>
</tr>
<tr>
<td>
<label id='display.1' style='background-color: transparent;'></label>
</td>
</tr>
</table>
</td>
<td height="40" >
<span title="Delete" style="visibility: hidden;display: block; top: 20px;right:10px" currdomid="1" class="deleteDetailBtn" onclick="event.stopPropagation();javascript:closeAccordian('1')" id="remove1">
<p class="remove" title="Delete">
<img src='/ibase/webitm/images/remove.png' class='removeImg'></img>
</p>
</span>
</td>
<input type='hidden' id='tab_no1' value='' ></input>
</tr>
</table>
</h3> </h3>
<div style="padding: 0.8em 0.8em;"> <div style="padding: 2px 5px 7px">
<div id="suppDtlDiv1" style="height: 270px; overflow: hidden; margin-left: 0px; width:100%;"> <div id="suppDtlDiv1" style="height:auto;overflow: auto; margin-left: 0px; width:100%;">
<table id="activityTable" border="0" style="text-align: center;"> <table id="activityTable" style="width:100%;font-size:14px;">
<div >
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td align="right">
<strong>Item Parent :</strong> Product :
</td> </td>
<td class="td_leftAlign"> <td>
<div style="position:relative; width: 90%;"> <div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" id="itmcode1" name="itmcode1" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 90%;" /> <input type="text" class="input_editable" id="itmcode1" name="itmcode1"
onkeyup="getAutocompleteData(this,'item_code');"
onblur="javascript:itemChange('item_code')"
onfocus="javascript:setCurrData('itmcode1')"
style="width: 90%;" />
<input type='hidden' id='multisel1' class='editDisplayClass' maxlength='0' ISCHANGED='false' readOnly = '1' style='margin-left: -9px;width: 400px' value='' /> <input type='hidden' id='multisel1' class='editDisplayClass' maxlength='0' ISCHANGED='false' readOnly = '1' style='margin-left: -9px;width: 400px' value='' />
<div style="width:3%; float: right;"> <div style="float: right;">
<a href="javascript:callpop(1);" style="float: left;text-decoration: none;"> <a href="javascript:callpop(1);" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Item Code"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;margin-top: 3px;" title="Select Product"/>
</a> </a>
</div> </div>
</div> </div>
</td> </td>
<td colspan="2"> <td align="right">
<input type="text" id="itmdescription1" value="{item_code}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 400px" /> <!-- 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>
<td colspan="2" style="font-size:12px"> <td >
<!--Changed by Samadhan on 19/11/2015
<strong>Delivery Date:</strong><input type="text" name="dlv_date1" onchange="dateChange(1)"
id="dlv_date1" value="{$dlv_date}" style="width:28%;font-size:12px" /> -->
<strong>Order Date: <span id="dlv_date_span1"> <xsl:value-of select="ord_date"/> </span></strong> <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" />
<!-- <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> </td>
</tr> </tr>
</div>
</table> </table>
</div> </div>
<input type ="hidden" id="deleteAccordian1"></input>
<!-- <div class = 'totalQuantity' align = "right">
<b>Total Quantity: </b><span id= "sum1"></span>
</div> -->
</div> </div>
</div> </div>
</div> </div>
</xsl:for-each> </xsl:for-each>
<div style="border: 1px solid transparent; width: 100%;">
<input type="hidden" value="2" name="FORM_NO" ID="FORM_NO" /> <span></span>
<input type="hidden" value="porderWiz" name="OBJ_NAME" id="OBJ_NAME"/>
<input type="hidden" value="next" name="action" id="action" /> <div id="itemParentImage" style="visibility: hidden">
<input type="hidden" value="1:MP:3" name="formType" id="formType" /> <div id = "DBImage1" style="overflow: auto; height: 100%">
<!-- <input type="submit" style="cursor:hand" value="Next" class="button" title='' onclick="javascript:return checkNullvalidation()" /> -->
</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%"> <table id="errorActivityTable" class="tableClass" border="0" cellSpacing="2" cellPadding="1" width="98%">
<xsl:for-each select="//error"> <xsl:for-each select="//error">
...@@ -230,13 +335,12 @@ ...@@ -230,13 +335,12 @@
<xsl:variable name="type"><xsl:value-of select="type"/></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="dbID"><xsl:value-of select="@domId"/></xsl:variable>
<xsl:variable name="column_name"><xsl:value-of select="@column_name"/></xsl:variable> <xsl:variable name="column_name"><xsl:value-of select="@column_name"/></xsl:variable>
<tr> <tr>
<xsl:if test="position() = 1"> <xsl:if test="position() = 1">
<td class="td_leftAlign" nowrap="true" valign="bottom" width="20%" > <td class="td_leftAlign" nowrap="true" valign="bottom" width="20%">
<xsl:value-of select="message"/> Message : <xsl:value-of select="message"/>
</td> </td>
<td class="td_leftAlign" nowrap="true" valign="bottom" width="40%" > <td class="td_leftAlign" nowrap="true" valign="bottom" width="40%">
Description : <xsl:value-of select="description"/> Description : <xsl:value-of select="description"/>
</td> </td>
</xsl:if> </xsl:if>
...@@ -247,29 +351,21 @@ ...@@ -247,29 +351,21 @@
</td> </td>
</xsl:if> </xsl:if>
</tr> </tr>
</xsl:for-each> </xsl:for-each>
</table> </table>
</div> </div>
<p id="demo"></p> <div class = "buttonDiv" style="width=20%;margin-left=-12px;margin-top:5px;margin-bottom:0px;">
</div> <input type="button" style="cursor:hand" id="PreButton" class="button" value="Previous" title='Previous' onclick="form2Pre()"/>
<div id="buttonreplacement" style="margin-left:450px;display:none;"> <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" > <img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
Please wait...... Please wait......
</img> </img>
</div> </div>
<input type="button" style="cursor:hand" id="PreButton" class="button" value="Previous" title='Previous' onclick="form2Pre()"/>
<!--<input type="submit" style="cursor:hand" id="NextButton" value="Next" class="button" title='Next' onclick="javascript:setActionVal('next');javascript: return setCheckedTrue()" />-->
<input type="button" style="cursor:hand" id="NextButton" value="Next" class="button" title='Next' onclick="javascript: return setCheckedTrue();" />
<input type="button" style="cursor:hand;float:right;margin-right:50px" id="AddButton" value="Add" class="button" title='Add' onclick="sidebar()" />
<!-- Changed by Sneha on 29-06-2016, for save button [Start]
<input type="button" style="cursor:hand;float:right;margin-right:5px" id="SaveButton" value="Save" class="button" title='Save'
onclick="javascript: savePO();"/>
Changed by Sneha on 29-06-2016, for save button [End] onclick="javascript:demo()"/>-->
</div> </div>
</form> </form>
</body> </body>
</html> </html>
......
...@@ -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 language="JavaScript" type="text/javascript"> <script type="text/javascript" src="/ibase/webitm/js/FixedTableHeader.js"></script>
<![CDATA[ <link type="text/css" rel="stylesheet" href="/ibase/webitm/css/FixedTableHeader.css"/>
$(function()
{ form3Load();
var today = new Date();
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"> <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;} .tHeader
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;} border-top: #6cf 2px solid !important;
border-left: 1px solid #ddd !important;
.tdClass>td{ border-right: 1px solid #ddd !important;
padding: 0 10px; border-bottom: 1px solid #ddd !important
border-right: 1px solid #eee; }
border-right-color: rgba(0, 0, 0, 0.07); .ft_container table tr td
font-family: Arial, Helvetica, Helvetica Neue, Verdana, sans-serif; {
font-size: 12px; color: #555 !important;
text-shadow: 0 1px white; }
text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
text-rendering: optimizeLegib .ft_container
} {
height: 99% !important;
}
</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,67 +196,61 @@ ...@@ -168,67 +196,61 @@
<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 -->
<table class="mt" id="Details" border="0" cellspacing="1" cellpadding="1"> <div style="height:75%; width:100%;overflow:auto;white-space:nowrap;">
<thead class="table-head" style="text-align:left;position:relative; line-height: 25px;"> <table id="Details" class="headertableClass" border="0" cellspacing="0" cellpadding="0" width='100%'>
<tr class="thClass" > <thead class="table-head">
<th class="thClass" nowrap="true" style="width:20px"> <tr>
<th class="tHeader" nowrap="true" style="width:20px;display:none">
</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>
...@@ -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"/>
...@@ -425,72 +445,36 @@ ...@@ -425,72 +445,36 @@
</xsl:for-each> </xsl:for-each>
</tbody> </tbody>
</table> </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> </div>
<table> <div style="width=20%;height:6px;margin-left=-12px;margin-top:1px;margin-bottom:0px;">
<tr> <table cellSpacing="1" cellPadding="1" width="50%" border="0">
<td colspan="2">
<input type="hidden" value="3" name="FORM_NO" ID="FORM_NO" /> <input type="hidden" value="3" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="porderWiz" name="OBJ_NAME" /> <input type="hidden" value="porderWiz" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" /> <input type="hidden" value="" name="action" id="action" />
<input type="hidden" value="2:MP" name="formType" id="formType" /> <input type="hidden" value="2:MP" name="formType" id="formType" />
<!-- <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_VAL" ID="PRE_FORM_VAL" />
<input type="hidden" name="PRE_FORM_VAL2" ID="PRE_FORM_VAL2" /> <input type="hidden" name="PRE_FORM_VAL2" ID="PRE_FORM_VAL2" />
<input type="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="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' <input type="submit" id="save" style="cursor:hand" class="button" value="Finish" title='Finish'
onclick="javascript:setActionVal('finish');return checkRate();"/> onclick="javascript:setActionVal('finish');return checkRate();"/>
</td> <div id="buttonreplacement" align="center" style="display:none;">
</tr> <img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
</table> Please wait......
</img>
<table id="errorActivityTable" class="tableClass" border="0" cellSpacing="2" cellPadding="1" width="98%"> </div>
<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>
</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>
<div style="width=20%;height:6px;margin-left=-12px;margin-top:1px;margin-bottom:0px;">
<table> <table>
<tr>
<td colspan="2">
<input type="submit" style="cursor:hand" class="button" value="Home" title='Home' id="Home"/>
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="porderWiz" name="OBJ_NAME" />
<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> <tr>
<td colspan="2"> <td colspan="2">
<input type="button" style="cursor:hand" onclick="javascript:callForm1('porderWiz')" <input type="button" style="cursor:hand" onclick="javascript:callForm1('porderWiz')"
class="button green-Btn pophelp-okcancel" value="Home" title='Home' /> class="button green-Btn pophelp-okcancel" value="Home" title='Home' />
</td> </td>
</tr> </tr>
</table> </table> -->
</form> </form>
</body> </body>
</html> </html>
......
...@@ -7,62 +7,96 @@ ...@@ -7,62 +7,96 @@
<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 = [];
<body onload="setUserTheme()"> 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>
<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)}" />
...@@ -71,7 +105,7 @@ ...@@ -71,7 +105,7 @@
<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)}" />
...@@ -81,14 +115,11 @@ ...@@ -81,14 +115,11 @@
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