Commit 68eff585 authored by wansari's avatar wansari

W16FKAT002 updated XSL for QC issues.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103939 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d41f0122
......@@ -12,11 +12,6 @@
<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>
<!-- <link href="/ibase/webitm/css/theme/galaxy-theme.css" rel="stylesheet"/> -->
<!-- <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/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.core.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery.ui.widget.js"></script>
......@@ -41,102 +36,6 @@
</script>
<style type="text/css">
<!-- .header_class
{border:inset 0;font-family: 'MuseoLight-300', sans-serif; color : #COCOCO; background : #FFF; text-align : left; font-size: 14px;}
.input_editablecenter
{border:solid 0; font-family: 'MuseoLight-300', sans-serif; border-color: lightgrey;color : #COCOCO; background : #FFF; text-align : left; font-size: 14px;}
.tableClass_rep
{margin-left:0px}
.td_leftAlign{
background-color: #FFF;
font-family: "MuseoLight-300",sans-serif;
font-size: 14px;
text-shadow: none;
text-align:left;
}
.input_editable
{border:solid 1px;font-family: 'MuseoLight-300', sans-serif; border-color: #ccc;color : #COCOCO; background : #FFF; text-align : left; font-size: 14px;}
.td_rightAlign{
background-color: #FFF;
font-family: "MuseoLight-300",sans-serif;
font-size: 14px;
text-shadow: none;
text-align:right;
}
.editDisplayheder
{readOnly:true; TEXT-ALIGN:left; color:#000; padding:5px 5px 10px 5px; font-size:16px; }
.editDisplayColumnClass
{readOnly:true; margin-left:2px; BACKGROUND:#fff; TEXT-ALIGN:LEFT; margin-bottom:10px; border-top: none; border-bottom:solid 1px #ebebeb; border-right:solid 1px #ebebeb; border-left:solid 1px #ebebeb;}
.editDisplayColumnClass td
{ padding:5px; border-bottom: none; font-size:14px;}
.button{
border: 1px solid #E7E7E7;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
color: #333;
height: 22px;
font-family: 'MuseoLight-300', sans-serif;
font-size: 12px;
background-color: #e7e7e7;
cursor: pointer;
margin-left:10px;
}
.button:hover
{
border: 1px solid #E7E7E7 !important;
background-color: #e7e7e7 !important;
color: #000 !important;
-moz-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
-webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
text-shadow: none;
}
.button:active
{
text-shadow: none;
background-color: #d6d6d6 !important;
color: #000 !important;
-moz-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
-webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
box-shadow: 0 2px 1px rgba(0, 0, 0, 0.5) !important;
border: 1px solid #E7E7E7 !important;
}
.divclass
{
border : solid 1px lightgray;
line-height : 23px;
width:99.5%
}
.button.disabled {
background: #EBEBEB !important;
color:gray !IMPORTANT;
pointer-events:none !IMPORTANT;
}
.button.enabled {
color:#333 !IMPORTANT;
pointer-events:auto !IMPORTANT;
} -->
.editDisplayClass{
background-color:rgba(166, 166, 166, 0.1);
......@@ -149,17 +48,7 @@ border:none;
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/sorderWiz.css"/>
<body onload="pageLoadHeader();">
<form name="sorderWizFormI" id = "sorderWizFormI" onkeypress="return event.keyCode != 13;" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet" style="background-color: #f7f8fa;">
<!-- <TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;border-bottom: #6cf 3px solid">
<TR>
<div class='contentHeaderLbl'><img src="/ibase/images/menuImages/web/Dailyactivityreport.png" onerror=" this.src= '/ibase/images/menuImages/errMenu.png' " style="position: absolute; margin-left: -20px;margin-top:9px; height: 20px; width: 20px;"/>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Sales Order
</TD>
</div>
</TR>
</TABLE> -->
<form name="sorderWizFormI" id = "sorderWizFormI" onkeypress="return event.keyCode != 13" onkeydown="return event.keyCode != 8" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet" style="background-color: #f7f8fa;">
<TABLE border="0" width="99%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<TR>
......@@ -171,6 +60,55 @@ border:none;
</TR>
</TABLE>
<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>
<div class="pageContentWrapper" style="height:72%;overflow:auto;">
<!-- <div style="height:75%; width:100%;margin-top:2px;margin-left:0px;margin-bottom:0px;overflow:-moz-scrollbars-vertical;overflow-x:auto;overflow-y:auto;white-space:nowrap;border:thin ridge lightgray;"> -->
......@@ -180,11 +118,11 @@ border:none;
<xsl:variable name="sale_order"><xsl:value-of select="sale_order"/></xsl:variable>
<xsl:variable name="order_date"><xsl:value-of select="order_date"/></xsl:variable>
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<xsl:variable name="site_code__descr"><xsl:value-of select="site_code__descr"/></xsl:variable>
<xsl:variable name="site_descr"><xsl:value-of select="site_descr"/></xsl:variable>
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="itemser_descr"><xsl:value-of select="itemser_descr"/></xsl:variable>
<xsl:variable name="order_type"><xsl:value-of select="order_type"/></xsl:variable>
<xsl:variable name="descr"><xsl:value-of select="descr"/></xsl:variable>
<xsl:variable name="sordertype_descr"><xsl:value-of select="sordertype_descr"/></xsl:variable>
<xsl:variable name="cust_code"><xsl:value-of select="cust_code"/></xsl:variable>
<xsl:variable name="cust_code__dlv"><xsl:value-of select="cust_code__dlv"/></xsl:variable>
<xsl:variable name="dlv_to"><xsl:value-of select="dlv_to"/></xsl:variable>
......@@ -193,6 +131,7 @@ border:none;
<xsl:variable name="cust_name__bil"><xsl:value-of select="cust_name__bil"/></xsl:variable>
<xsl:variable name="remarks"><xsl:value-of select="remarks"/></xsl:variable>
<xsl:variable name="dlv_term"><xsl:value-of select="dlv_term"/></xsl:variable>
<xsl:variable name="delivery_term_descr"><xsl:value-of select="delivery_term_descr"/></xsl:variable>
<xsl:variable name="cr_term"><xsl:value-of select="cr_term"/></xsl:variable>
<xsl:variable name="curr_code"><xsl:value-of select="curr_code"/></xsl:variable>
<xsl:variable name="stan_code"><xsl:value-of select="stan_code"/></xsl:variable>
......@@ -217,6 +156,7 @@ border:none;
<xsl:variable name="part_qty"><xsl:value-of select="part_qty"/></xsl:variable>
<xsl:variable name="due_date"><xsl:value-of select="due_date"/></xsl:variable>
<xsl:variable name="udf__str1"><xsl:value-of select="udf__str1"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
......@@ -224,22 +164,25 @@ border:none;
<td class="td_rightAlign" nowrap="true">
<strong>Sales Order :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 88%;">
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$sale_order}" name="Detail1.{normalize-space($dbID)}.sale_order"
id="Detail1.{normalize-space($dbID)}.sale_order" maxlength="10" style="width: 95%;"
id="Detail1.{normalize-space($dbID)}.sale_order" maxlength="10" style="width: 100%"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','{normalize-space($sale_order)}','sale_order', 'Sales Order', 0);"
onchange="javascript:return itemChange('sale_order');"/>
<div style="width:1%;float: right;">
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($sale_order)}','sale_order', 'Sales Order', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.sale_order_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;margin-top: 3px;" title="Sale Order"/>
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Sale Order"/>
</a>
</div>
</div>
</td>
<td></td>
<td></td>
<td>
</td>
</tr>
<tr>
......@@ -253,7 +196,7 @@ border:none;
<!-- <input type="text" class="input_editable" size="8" value="{$order_date}" name="Detail1.{normalize-space($dbID)}.order_date" id="orderdate" maxlength="8" ISCHANGED="false" /> ( DD/MM/YY )
<img border="0" src="/ibase/webitm/images/calender.png" id="orderdate" name="orderdate" onClick="selectedObj = 'orderdate'; javascript:show_calendar('orderdate','','','dd/MM/yy');"/> -->
<input type="text" class="input_editable" size="8" value="{$order_date}" name="Detail1.{normalize-space($dbID)}.order_date" id="orderdate" maxlength="8" ISCHANGED="false" placeholder = "DD/MM/YY"/>
<input type="text" class="input_editable" size="8" value="{$order_date}" name="Detail1.{normalize-space($dbID)}.order_date" id="orderdate" onkeydown = "return false;" maxlength="8" placeholder = "DD/MM/YY"/>
<img border="0" src="/ibase/webitm/images/calender.png" style = "margin-bottom:-5px;margin-left:3px;cursor: hand;" id="orderdate" name="orderdate" onClick="javascript:setDate('orderdate');"/>
</td>
......@@ -265,7 +208,7 @@ border:none;
<!-- <input type="text" class="input_editable" size="8" value="{$due_date}" name="Detail1.{normalize-space($dbID)}.due_date" id="duedate" maxlength="8" ISCHANGED="false" /> ( DD/MM/YY )
<img border="0" src="/ibase/webitm/images/calender.png" id="duedate" name="duedate" onClick="selectedObj = 'duedate'; javascript:show_calendar('duedate','','','dd/MM/yy');"/> -->
<input type="text" class="input_editable" size="8" value="{$due_date}" name="Detail1.{normalize-space($dbID)}.due_date" id="duedate" maxlength="8" ISCHANGED="false" placeholder = "DD/MM/YY"/>
<input type="text" class="input_editable" size="8" value="{$due_date}" name="Detail1.{normalize-space($dbID)}.due_date" id="duedate" onkeydown = "return false;" maxlength="8" placeholder = "DD/MM/YY"/>
<img border="0" src="/ibase/webitm/images/calender.png" style = "margin-bottom:-5px;margin-left:3px;cursor: hand;" id="duedate" name="duedate" onClick="javascript:setDate('duedate');"/>
</td>
......@@ -276,179 +219,178 @@ border:none;
<td class="td_rightAlign" nowrap="true">
<strong>Order Site* :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 88%;">
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$site_code}" name="Detail1.{normalize-space($dbID)}.site_code"
id="Detail1.{normalize-space($dbID)}.site_code"
style="width: 95%;" contenteditable="true" onkeypress="return false;"
style="width: 100%;" contenteditable="true" onkeypress="return false;"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','{normalize-space($site_code)}','site_code', 'Order Site', 0);" />
<div style="width:1%; float: right;">
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($site_code)}','site_code', 'Order Site', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.site_code_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;margin-top: 3px;" title="Order Site"/>
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Order Site"/>
</a>
</div>
<div style="float: left;width: 70%;padding-left:3px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.site_descr" id="Detail1.{normalize-space($dbID)}.site_descr"
value="{$site_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.site_code__descr" id="Detail1.{normalize-space($dbID)}.site_code__descr"
value="{$site_code__descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
<td>
</td>
<td></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Order Type* :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative;width: 50%;">
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$order_type}" id="Detail1.{normalize-space($dbID)}.order_type" name="Detail1.{normalize-space($dbID)}.order_type"
contenteditable="true" onkeypress="return false;" style="width: 95%;"
contenteditable="true" onkeypress="return false;" style="width: 100%;"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','{normalize-space($order_type)}','order_type', 'Order Type', 0);" />
<div style="width:5%; float: right;" >
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($order_type)}','order_type', 'Order Type', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.order_type_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="float: left;text-decoration: none;" title="Order Type"/>
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Order Type"/>
</a>
</div>
<div style="float: left;width: 70%;padding-left:3px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.sordertype_descr" id="Detail1.{normalize-space($dbID)}.sordertype_descr"
value="{$sordertype_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.descr" id="Detail1.{normalize-space($dbID)}.descr"
value="{$descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
<td>
</td>
<td></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Item Series* :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative;width: 50%;">
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$item_ser}" id="Detail1.{normalize-space($dbID)}.item_ser" name="Detail1.{normalize-space($dbID)}.item_ser"
contenteditable="true" onkeypress="return false;" style="width: 95%;"
contenteditable="true" onkeypress="return false;" style="width: 100%;"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','{normalize-space($item_ser)}','item_ser', 'Item Series', 0);" />
<div style="width:5%; float: right;" >
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($item_ser)}','item_ser', 'Item Series', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.item_ser_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="float: left;text-decoration: none;" title="Item Series"/>
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Item Series"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<div style="float: left;width: 70%;padding-left:3px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.itemser_descr" id="Detail1.{normalize-space($dbID)}.itemser_descr"
value="{$itemser_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</td>
<td></td>
</tr>
<!-- <tr>
<td class="td_rightAlign" nowrap="true">
<strong>Customer Code* :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 88%;">
<input type="text" class="input_editable" value="{$cust_code}" name="Detail1.{normalize-space($dbID)}.cust_code"
id="Detail1.{normalize-space($dbID)}.cust_code" list="cust_code__list"
style="width: 95%;" onkeyup = "javascript:autoSearch('cust_code')" onchange = "javascript:setCustomerData('cust_code');"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','','cust_code', 'Customer Code', 0);" />
<datalist id="cust_code__list"></datalist>
<div style="width:1%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','','cust_code', 'Customer Code', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.cust_code_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;" title="Customer Code"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.cust_name" id="Detail1.{normalize-space($dbID)}.cust_name"
value="{$cust_name}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
<td>
</td>
<td></td>
</tr> -->
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Customer Code* :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 88%;">
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" value="{$cust_code}" name="Detail1.{normalize-space($dbID)}.cust_code" id="Detail1.{normalize-space($dbID)}.cust_code"
class="input_editable" style="width: 95%;" MINLENGTHAUTO="3"
class="input_editable" style="width: 100%;" MINLENGTHAUTO="3"
onblur="javascript:itemChange('cust_code')"
onkeyup="getAutocompleteData(this,'cust_code');"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','','cust_code', 'Customer Code', 0);" />
<div style="width:1%; float: right;">
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','','cust_code', 'Customer Code', 0);"
onfocus="javascript:setCurrData('Detail1.{normalize-space($dbID)}.cust_code')" />
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','','cust_code', 'Customer Code', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.cust_code_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;margin-top: 3px;" title="Customer Code"/>
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Customer Code"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<div style="float: left;width: 70%;padding-left:3px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.cust_name" id="Detail1.{normalize-space($dbID)}.cust_name"
value="{$cust_name}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div>
</div>
</td>
<td>
</td>
<td></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Customer Code Delivery* :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 88%;">
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" value="{$cust_code__dlv}" name="Detail1.{normalize-space($dbID)}.cust_code__dlv" id="Detail1.{normalize-space($dbID)}.cust_code__dlv"
style="width: 95%;" class="input_editable" MINLENGTHAUTO="3"
style="width: 100%;" class="input_editable" MINLENGTHAUTO="3"
onkeyup="getAutocompleteData(this,'cust_code__dlv');"
onblur="javascript:itemChange('cust_code__dlv')"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','','cust_code__dlv', 'Customer Code Delivery', 0);" />
<div style="width:1%; float: right;">
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','','cust_code__dlv', 'Customer Code Delivery', 0);"
onfocus="javascript:setCurrData('Detail1.{normalize-space($dbID)}.cust_code__dlv')" />
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','','cust_code__dlv', 'Customer Code Delivery', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.cust_code__dlv_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;margin-top: 3px;" title="Select Customer Code Delivery"/>
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Select Customer Code Delivery"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<div style="float: left;width: 70%;padding-left:3px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.dlv_to" id="Detail1.{normalize-space($dbID)}.dlv_to"
value="{$dlv_to}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div>
</div>
</td>
<td>
</td>
<td></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Customer Code Bill :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 88%;">
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" value="{$cust_code__bil}" name="Detail1.{normalize-space($dbID)}.cust_code__bil" id="Detail1.{normalize-space($dbID)}.cust_code__bil"
style="width: 95%;" class="input_editable" MINLENGTHAUTO="3"
style="width: 100%;" class="input_editable" MINLENGTHAUTO="3"
onkeyup="getAutocompleteData(this,'cust_code__bil');"
onblur="javascript:itemChange('cust_code__bil')"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','','cust_code__bil', 'Customer Code Bill', 0);" />
<div style="width:1%; float: right;">
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','','cust_code__bil', 'Customer Code Bill', 0);"
onfocus="javascript:setCurrData('Detail1.{normalize-space($dbID)}.cust_code__bil')" />
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','','cust_code__bil', 'Customer Code Bill', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.cust_code__bil_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;margin-top: 3px;" title="Select Customer Code Bill"/>
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Select Customer Code Bill"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<div style="float: left;width: 70%;padding-left:3px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.cust_name__bil" id="Detail1.{normalize-space($dbID)}.cust_name__bil"
value="{$cust_name__bil}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div>
</div>
</td>
<td>
</td>
<td></td>
</tr>
<tr>
......@@ -457,11 +399,10 @@ border:none;
</td>
<td class="td_leftAlign" colspan="3">
<input type="text" class="input_editable" value="{$dlv_add1}" name="Detail1.{normalize-space($dbID)}.dlv_add1"
id="Detail1.{normalize-space($dbID)}.dlv_add1" maxlength = "50" size = "100" >
id="Detail1.{normalize-space($dbID)}.dlv_add1" maxlength = "50" style = "width:93%" >
</input>
</td>
<td></td>
<td></td>
</tr>
<tr>
......@@ -470,11 +411,10 @@ border:none;
</td>
<td class="td_leftAlign" colspan="3">
<input type="text" class="input_editable" value="{$dlv_add2}" name="Detail1.{normalize-space($dbID)}.dlv_add2"
id="Detail1.{normalize-space($dbID)}.dlv_add2" maxlength = "50" size = "100" >
id="Detail1.{normalize-space($dbID)}.dlv_add2" maxlength = "50" style = "width:93%" >
</input>
</td>
<td></td>
<td></td>
</tr>
<tr>
......@@ -483,11 +423,10 @@ border:none;
</td>
<td class="td_leftAlign" colspan="3">
<input type="text" class="input_editable" value="{$dlv_add3}" name="Detail1.{normalize-space($dbID)}.dlv_add3"
id="Detail1.{normalize-space($dbID)}.dlv_add3" maxlength = "50" size = "100" >
id="Detail1.{normalize-space($dbID)}.dlv_add3" maxlength = "50" style = "width:93%" >
</input>
</td>
<td></td>
<td></td>
</tr>
<tr>
......@@ -496,16 +435,14 @@ border:none;
</td>
<td class="td_leftAlign">
<input type="text" class="input_editable" value="{$dlv_city}" name="Detail1.{normalize-space($dbID)}.dlv_city"
id="Detail1.{normalize-space($dbID)}.dlv_city" maxlength = "20" size = "20" onkeyup='return specialCharValidate(this.id)' >
id="Detail1.{normalize-space($dbID)}.dlv_city" maxlength = "20" style="width = '20%'" onkeyup='return specialCharValidate(this.id)' >
</input>
</td>
<td class="td_rightAlign" nowrap="true">
<td class="td_leftAlign" nowrap="true">
<strong>Pin :</strong>
</td>
<td>
<input type="text" class="input_editable" value="{$dlv_pin}" name="Detail1.{normalize-space($dbID)}.dlv_pin"
id="Detail1.{normalize-space($dbID)}.dlv_pin" maxlength = "6" size = "10" onkeypress='return isNumeric(event)'
style="width: 95%;" >
id="Detail1.{normalize-space($dbID)}.dlv_pin" maxlength = "10" size = "10" onkeypress='return isNumeric(event)'
style="width: 20%;" >
</input>
</td>
</tr>
......@@ -514,34 +451,41 @@ border:none;
<td class="td_rightAlign" nowrap="true">
<strong>Station Code :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 88%;">
<td class="td_leftAlign" colspan = "1" nowrap="true">
<div style="width: 100%;">
<div style="width: 48%;float: left;">
<input type="text" class="input_editable" value="{$stan_code}" name="Detail1.{normalize-space($dbID)}.stan_code"
id="Detail1.{normalize-space($dbID)}.stan_code" contenteditable="true" onkeypress="return false;"
style="width: 95%;"
style="width: 100%;"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','{normalize-space($stan_code)}','stan_code', 'Station', 0);" />
<div style="width:1%; float: right;">
</div>
<div style="width:14%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($stan_code)}','stan_code', 'Station', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.stan_code_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;margin-top: 3px;" title="Station"/>
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Station"/>
</a>
</div>
</div>
</td>
<td class="td_rightAlign" nowrap="true">
<strong>State Code :</strong>
</td>
<td class="td_leftAlign">
<td class="td_leftAlign" nowrap="true">
<div style="width: 100%;float: left;">
<div style="width: auto;float: left;">
<strong>State Code : </strong>
</div>
<div style="width: 30%;float: left;">
<input type="text" class="input_editable" value="{$state_code__dlv}" name="Detail1.{normalize-space($dbID)}.state_code__dlv"
id="Detail1.{normalize-space($dbID)}.state_code__dlv" contenteditable="true" onkeypress="return false;"
size = "10" style="width: 95%;"
size = "10" style="width: 100%;"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','{normalize-space($state_code__dlv)}','state_code__dlv', 'State', 0);" />
<div style="width:1%; float: right;">
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($state_code__dlv)}','state_code__dlv', 'State', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.state_code__dlv_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;margin-top: 3px;" title="State"/>
id="Detail1.{normalize-space($dbID)}.state_code__dlv_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="State"/>
</a>
</div>
</div>
</td>
</tr>
......@@ -549,90 +493,79 @@ border:none;
<td class="td_rightAlign" nowrap="true">
<strong>Country :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 88%;">
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$count_code__dlv}" name="Detail1.{normalize-space($dbID)}.count_code__dlv"
id="Detail1.{normalize-space($dbID)}.count_code__dlv" contenteditable="true" onkeypress="return false;"
style="width: 95%;"
style="width: 100%;"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','{normalize-space($count_code__dlv)}','count_code__dlv', 'Country', 0);" />
<div style="width:1%; float: right;">
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($count_code__dlv)}','count_code__dlv', 'Country', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.count_code__dlv_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;margin-top: 3px;" title="Country"/>
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Country"/>
</a>
</div>
</div>
</td>
<td></td>
<td></td>
</tr>
<!-- <tr>
<td class="td_rightAlign" nowrap="true" style="width:20%;">
<strong>Delivery Term* :</strong>
</td>
<td class="td_leftAlign" style="width:20%;">
<input type="text" class="input_editable" value="{$dlv_term}" name="Detail1.{normalize-space($dbID)}.dlv_term" id="Detail1.{normalize-space($dbID)}.dlv_term"
contenteditable="true" onkeypress="return false;"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','{normalize-space($dlv_term)}','dlv_term', 'Delivery Term', 0);" />
</td>
<td class="td_leftAlign" style="width:3%;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($dlv_term)}','dlv_term', 'Delivery Term', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.dlv_term_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" title="Delivery Term"/>
</a>
</td>
<td class="td_leftAlign">
<input type="text" name="Detail1.{normalize-space($dbID)}.dlv_term__descr" id="Detail1.{normalize-space($dbID)}.dlv_term__descr"
value="" class="editDisplayClass" ISCHANGED="false" readOnly = "1" style="width: 70%;" />
<td>
</td>
</tr> -->
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Delivery Term :</strong>
<strong>Delivery Term* :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 88%;">
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$dlv_term}" name="Detail1.{normalize-space($dbID)}.dlv_term"
id="Detail1.{normalize-space($dbID)}.dlv_term" contenteditable="true" onkeypress="return false;"
style="width: 95%;"
style="width: 100%;"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','{normalize-space($dlv_term)}','dlv_term', 'Delivery Term', 0);" />
<div style="width:1%; float: right;">
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($dlv_term)}','dlv_term', 'Delivery Term', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.dlv_term_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;margin-top: 3px;" title="Delivery Term"/>
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Delivery Term"/>
</a>
</div>
<div style="float: left;width: 70%;padding-left:3px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.delivery_term_descr" id="Detail1.{normalize-space($dbID)}.delivery_term_descr"
value="{$delivery_term_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.dlv_term__descr" id="Detail1.{normalize-space($dbID)}.dlv_term__descr"
value="" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
<td>
</td>
<td></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Credit Term :</strong>
<strong>Credit Term* :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 88%;">
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$cr_term}" name="Detail1.{normalize-space($dbID)}.cr_term"
id="Detail1.{normalize-space($dbID)}.cr_term" contenteditable="true" onkeypress="return false;"
style="width: 95%;"
style="width: 100%;"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','{normalize-space($cr_term)}','cr_term', 'Credit Term', 0);" />
<div style="width:1%; float: right;">
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($cr_term)}','cr_term', 'Credit Term', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.cr_term_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;margin-top: 3px;" title="Credit Term"/>
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Credit Term"/>
</a>
</div>
</div>
</td>
<td></td>
<td></td>
<td>
</td>
</tr>
<tr>
......@@ -657,25 +590,28 @@ border:none;
<td class="td_rightAlign" nowrap="true">
<strong>Transporter :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative;width: 88%;">
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$tran_code}" id="Detail1.{normalize-space($dbID)}.tran_code" name="Detail1.{normalize-space($dbID)}.tran_code"
contenteditable="true" onkeypress="return false;" style="width: 95%;"
contenteditable="true" onkeypress="return false;" style="width: 100%;"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','{normalize-space($tran_code)}','tran_code', 'Transporter', 0);" />
<div style="width:1%; float: right;" >
</div>
<div style="width:2%;float: left;padding-left:2px">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($tran_code)}','tran_code', 'Transporter', 0);"
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.tran_code_pophelp" >
<img src="/ibase/webitm/images/pophelp.png" style="margin-left: -5px;margin-top: 3px;" title="Transporter"/>
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Transporter"/>
</a>
</div>
</div>
</td>
<td colspan="2">
<div style="float: left;width: 70%;padding-left:3px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.trans_mode" id="Detail1.{normalize-space($dbID)}.trans_mode"
value="{$trans_mode}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div>
</div>
</td>
<td>
</td>
<td></td>
</tr>
<tr>
......@@ -720,7 +656,7 @@ border:none;
</td>
<td class="td_leftAlign" colspan = "3">
<input type="text" value="{$remarks}" name="Detail1.{normalize-space($dbID)}.remarks" id="Detail1.{normalize-space($dbID)}.remarks"
class="input_editable" maxlength="100" size = "100"/>
class="input_editable" maxlength="100" style="width:93%"/>
</td>
<td></td>
<td></td>
......@@ -738,16 +674,10 @@ border:none;
<input type="hidden" value="{$emp_code__ord}" name="Detail1.{normalize-space($dbID)}.emp_code__ord" id="Detail1.{normalize-space($dbID)}.emp_code__ord" />
<input type="hidden" value="{$udf__num2}" name="Detail1.{normalize-space($dbID)}.udf__num2" id="Detail1.{normalize-space($dbID)}.udf__num2" />
<input type="hidden" value="{$udf__str1}" name="Detail1.{normalize-space($dbID)}.udf__str1" id="udf__str1" />
<tr style="height: 10px;">
</tr>
<!-- <tr>
<td class="td_rightAlign">
<input type="button" style="cursor:hand" value="Reset" class="button" title='Reset' id="reset" onclick ="javascript:return resetHeader()"/>
</td>
<td class="td_rightAlign">
<input type="submit" style="cursor:hand" value="Next" class="button" title='Next' id="next" onclick ="javascript:return checkNullvalidation()"/>
</td>
</tr> -->
</xsl:for-each>
</table>
</div>
......@@ -773,49 +703,6 @@ border:none;
</tr>
</table>
</div>
<!-- <div align = "right">
<input type="hidden" value="1" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="sorderWiz" name="OBJ_NAME" id="OBJ_NAME"/>
<input type="hidden" value="next" name="action" id="action" />
<input type="button" style="cursor:hand" value="Reset" class="button" title='Reset' id="reset" onclick ="javascript:return resetHeader()"/>
<input type="submit" style="cursor:hand" value="Next" class="button" title='Next' id="next" onclick ="javascript:return checkNullvalidation()"/>
</div>
<div id="buttonreplacement" align="center" style="display:none;">
<img src="/ibase/images/preload.gif" alt="Please wait work in progress" >
Please wait......
</img>
</div> -->
<!-- <div style="border: 1px solid transparent; width: 100%;">
<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>
</table>
</div> -->
</form>
</body>
......
......@@ -150,11 +150,11 @@
<xsl:variable name="sale_order"><xsl:value-of select="sale_order"/></xsl:variable>
<xsl:variable name="order_date"><xsl:value-of select="order_date"/></xsl:variable>
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<xsl:variable name="site_code__descr"><xsl:value-of select="site_code__descr"/></xsl:variable>
<xsl:variable name="site_descr"><xsl:value-of select="site_descr"/></xsl:variable>
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="itemser_descr"><xsl:value-of select="itemser_descr"/></xsl:variable>
<xsl:variable name="order_type"><xsl:value-of select="order_type"/></xsl:variable>
<xsl:variable name="descr"><xsl:value-of select="descr"/></xsl:variable>
<xsl:variable name="sordertype_descr"><xsl:value-of select="sordertype_descr"/></xsl:variable>
<xsl:variable name="cust_code"><xsl:value-of select="cust_code"/></xsl:variable>
<xsl:variable name="cust_code__dlv"><xsl:value-of select="cust_code__dlv"/></xsl:variable>
<xsl:variable name="cust_name"><xsl:value-of select="cust_name"/></xsl:variable>
......@@ -162,6 +162,7 @@
<xsl:variable name="cust_name__bil"><xsl:value-of select="cust_name__bil"/></xsl:variable>
<xsl:variable name="remarks"><xsl:value-of select="remarks"/></xsl:variable>
<xsl:variable name="dlv_term"><xsl:value-of select="dlv_term"/></xsl:variable>
<xsl:variable name="delivery_term_descr"><xsl:value-of select="delivery_term_descr"/></xsl:variable>
<xsl:variable name="cr_term"><xsl:value-of select="cr_term"/></xsl:variable>
<xsl:variable name="curr_code"><xsl:value-of select="curr_code"/></xsl:variable>
<xsl:variable name="stan_code"><xsl:value-of select="stan_code"/></xsl:variable>
......@@ -187,6 +188,7 @@
<xsl:variable name="prt_qty"><xsl:value-of select="part_qty"/></xsl:variable>
<xsl:variable name="due_date"><xsl:value-of select="due_date"/></xsl:variable>
<xsl:variable name="udf__str1"><xsl:value-of select="udf__str1"/></xsl:variable>
<xsl:variable name="dbIDs"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable>
......@@ -195,11 +197,11 @@
<input type="hidden" value="{$sale_order}" name="Detail2.{normalize-space($dbIDs)}.sale_order" id="sale_order" />
<input type="hidden" value="{$order_date}" name="Detail2.{normalize-space($dbIDs)}.order_date" id="order_date" />
<input type="hidden" value="{$site_code}" name="Detail2.{normalize-space($dbIDs)}.site_code" id="site_code" />
<input type="hidden" value="{$site_code__descr}" name="Detail2.{normalize-space($dbIDs)}.site_code__descr" id="site_code__descr" />
<input type="hidden" value="{$site_descr}" name="Detail2.{normalize-space($dbIDs)}.site_descr" id="site_descr" />
<input type="hidden" value="{$item_ser}" name="Detail2.{normalize-space($dbIDs)}.item_ser" id="item_ser" />
<input type="hidden" value="{$itemser_descr}" name="Detail2.{normalize-space($dbIDs)}.itemser_descr" id="itemser_descr" />
<input type="hidden" value="{$order_type}" name="Detail2.{normalize-space($dbIDs)}.order_type" id="order_type" />
<input type="hidden" value="{$descr}" name="Detail2.{normalize-space($dbIDs)}.descr" id="descr" />
<input type="hidden" value="{$sordertype_descr}" name="Detail2.{normalize-space($dbIDs)}.sordertype_descr" id="sordertype_descr" />
<input type="hidden" value="{$cust_code}" name="Detail2.{normalize-space($dbIDs)}.cust_code" id="cust_code" />
<input type="hidden" value="{$cust_code__dlv}" name="Detail2.{normalize-space($dbIDs)}.cust_code__dlv" id="cust_code__dlv" />
<input type="hidden" value="{$cust_name}" name="Detail2.{normalize-space($dbIDs)}.cust_name" id="cust_name" />
......@@ -207,6 +209,7 @@
<input type="hidden" value="{$cust_name__bil}" name="Detail2.{normalize-space($dbIDs)}.cust_name__bil" id="cust_name__bil" />
<input type="hidden" value="{$remarks}" name="Detail2.{normalize-space($dbIDs)}.remarks" id="remarks" />
<input type="hidden" value="{$dlv_term}" name="Detail2.{normalize-space($dbIDs)}.dlv_term" id="dlv_term" />
<input type="hidden" value="{$delivery_term_descr}" name="Detail2.{normalize-space($dbIDs)}.delivery_term_descr" id="delivery_term_descr" />
<input type="hidden" value="{$cr_term}" name="Detail2.{normalize-space($dbIDs)}.cr_term" id="cr_term" />
<input type="hidden" value="{$curr_code}" name="Detail2.{normalize-space($dbIDs)}.curr_code" id="curr_code" />
......@@ -233,6 +236,7 @@
<input type="hidden" value="{$prt_qty}" name="Detail2.{normalize-space($dbIDs)}.prt_qty" id="prt_qty" />
<input type="hidden" value="{$due_date}" name="Detail2.{normalize-space($dbIDs)}.due_date" id="due_date" />
<input type="hidden" value="{$udf__str1}" name="Detail2.{normalize-space($dbIDs)}.udf__str1" id="udf__str1" />
</xsl:if>
</xsl:for-each>
</table>
......@@ -317,7 +321,7 @@
<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>Due 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');"/>
<strong>Despatch Date: </strong><input type="text" class="input_editable" size="8" value="{$ord_date_m}" name="dspdate1" id="dspdate1" onkeydown = 'return false;' maxlength="8" placeholder = "DD/MM/YY" onchange="javascript:setDespDate('1');"/>
<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>
......
......@@ -169,11 +169,11 @@
<xsl:variable name="sale_order"><xsl:value-of select="sale_order"/></xsl:variable>
<xsl:variable name="order_date"><xsl:value-of select="order_date"/></xsl:variable>
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<xsl:variable name="site_code__descr"><xsl:value-of select="site_code__descr"/></xsl:variable>
<xsl:variable name="site_descr"><xsl:value-of select="site_descr"/></xsl:variable>
<xsl:variable name="item_ser"><xsl:value-of select="item_ser"/></xsl:variable>
<xsl:variable name="itemser_descr"><xsl:value-of select="itemser_descr"/></xsl:variable>
<xsl:variable name="order_type"><xsl:value-of select="order_type"/></xsl:variable>
<xsl:variable name="descr"><xsl:value-of select="descr"/></xsl:variable>
<xsl:variable name="sordertype_descr"><xsl:value-of select="sordertype_descr"/></xsl:variable>
<xsl:variable name="cust_code"><xsl:value-of select="cust_code"/></xsl:variable>
<xsl:variable name="cust_code__dlv"><xsl:value-of select="cust_code__dlv"/></xsl:variable>
<xsl:variable name="cust_name"><xsl:value-of select="cust_name"/></xsl:variable>
......@@ -181,6 +181,7 @@
<xsl:variable name="cust_name__bil"><xsl:value-of select="cust_name__bil"/></xsl:variable>
<xsl:variable name="remarks"><xsl:value-of select="remarks"/></xsl:variable>
<xsl:variable name="dlv_term"><xsl:value-of select="dlv_term"/></xsl:variable>
<xsl:variable name="delivery_term_descr"><xsl:value-of select="delivery_term_descr"/></xsl:variable>
<xsl:variable name="cr_term"><xsl:value-of select="cr_term"/></xsl:variable>
<xsl:variable name="curr_code"><xsl:value-of select="curr_code"/></xsl:variable>
<xsl:variable name="stan_code"><xsl:value-of select="stan_code"/></xsl:variable>
......@@ -206,6 +207,7 @@
<xsl:variable name="prt_qty"><xsl:value-of select="part_qty"/></xsl:variable>
<xsl:variable name="due_date"><xsl:value-of select="due_date"/></xsl:variable>
<xsl:variable name="udf__str1"><xsl:value-of select="udf__str1"/></xsl:variable>
<xsl:variable name="dbIDs"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="chkbox"><xsl:value-of select="@selected"/></xsl:variable>
......@@ -214,11 +216,11 @@
<input type="hidden" value="{$sale_order}" name="Detail3.{normalize-space($dbIDs)}.sale_order" id="sale_order" />
<input type="hidden" value="{$order_date}" name="Detail3.{normalize-space($dbIDs)}.order_date" id="order_date" />
<input type="hidden" value="{$site_code}" name="Detail3.{normalize-space($dbIDs)}.site_code" id="site_code" />
<input type="hidden" value="{$site_code__descr}" name="Detail3.{normalize-space($dbIDs)}.site_code__descr" id="site_code__descr" />
<input type="hidden" value="{$site_descr}" name="Detail3.{normalize-space($dbIDs)}.site_descr" id="site_descr" />
<input type="hidden" value="{$item_ser}" name="Detail3.{normalize-space($dbIDs)}.item_ser" id="item_ser" />
<input type="hidden" value="{$itemser_descr}" name="Detail3.{normalize-space($dbIDs)}.itemser_descr" id="itemser_descr" />
<input type="hidden" value="{$order_type}" name="Detail3.{normalize-space($dbIDs)}.order_type" id="order_type" />
<input type="hidden" value="{$descr}" name="Detail3.{normalize-space($dbIDs)}.descr" id="descr" />
<input type="hidden" value="{$sordertype_descr}" name="Detail3.{normalize-space($dbIDs)}.sordertype_descr" id="sordertype_descr" />
<input type="hidden" value="{$cust_code}" name="Detail3.{normalize-space($dbIDs)}.cust_code" id="cust_code" />
<input type="hidden" value="{$cust_code__dlv}" name="Detail3.{normalize-space($dbIDs)}.cust_code__dlv" id="cust_code__dlv" />
<input type="hidden" value="{$cust_name}" name="Detail3.{normalize-space($dbIDs)}.cust_name" id="cust_name" />
......@@ -226,6 +228,7 @@
<input type="hidden" value="{$cust_name__bil}" name="Detail3.{normalize-space($dbIDs)}.cust_name__bil" id="cust_name__bil" />
<input type="hidden" value="{$remarks}" name="Detail3.{normalize-space($dbIDs)}.remarks" id="remarks" />
<input type="hidden" value="{$dlv_term}" name="Detail3.{normalize-space($dbIDs)}.dlv_term" id="dlv_term" />
<input type="hidden" value="{$delivery_term_descr}" name="Detail3.{normalize-space($dbIDs)}.delivery_term_descr" id="delivery_term_descr" />
<input type="hidden" value="{$cr_term}" name="Detail3.{normalize-space($dbIDs)}.cr_term" id="cr_term" />
<input type="hidden" value="{$curr_code}" name="Detail3.{normalize-space($dbIDs)}.curr_code" id="curr_code" />
<input type="hidden" value="{$stan_code}" name="Detail3.{normalize-space($dbIDs)}.stan_code" id="stan_code" />
......@@ -251,6 +254,7 @@
<input type="hidden" value="{$prt_qty}" name="Detail3.{normalize-space($dbIDs)}.prt_qty" id="prt_qty" />
<input type="hidden" value="{$due_date}" name="Detail3.{normalize-space($dbIDs)}.due_date" id="due_date" />
<input type="hidden" value="{$udf__str1}" name="Detail3.{normalize-space($dbIDs)}.udf__str1" id="udf__str1" />
</xsl:if>
</xsl:for-each>
......@@ -287,7 +291,7 @@
Amount
</th>
<th class="tHeader" nowrap="true" valign="bottom" style="width:100px;">
Ship Date
Despatch Date
</th>
<!-- <th class="thClass" nowrap="true" >
<strong>Delivery Date</strong>
......@@ -402,7 +406,7 @@
<!-- <input type="text" class="input_editable" size="8" value="{$dsp_date}" name="Detail3.{normalize-space($dbIDs)}.dsp_date" id="Detail3.{normalize-space($dbIDs)}.dsp_date" onchange = "javascript:checkDateFormat('dsp_date',this.id);" maxlength="8" ISCHANGED="false" /> ( DD/MM/YY )
<img border="0" src="/ibase/webitm/images/calender.png" id="dsp_date" name="dsp_date" onClick="selectedObj = 'Detail3.{normalize-space($dbIDs)}.dsp_date'; javascript:show_calendar('Detail3.{normalize-space($dbIDs)}.dsp_date','','','dd/MM/yy');"/> -->
<input type="text" class="input_editable" size="8" value="{$dsp_date}" name="Detail3.{normalize-space($dbIDs)}.dsp_date" id="dsp_date{normalize-space($dbIDs)}" maxlength="8" ISCHANGED="false" placeholder = "DD/MM/YY"/>
<input type="text" class="input_editable" size="8" value="{$dsp_date}" name="Detail3.{normalize-space($dbIDs)}.dsp_date" id="dsp_date{normalize-space($dbIDs)}" onkeydown = 'return false;' maxlength="8" placeholder = "DD/MM/YY"/>
<img border="0" src="/ibase/webitm/images/calender.png" style = "margin-bottom:-5px;margin-left:3px;cursor: hand;" id="dsp_date" name="dsp_date" onClick="javascript:setDate('dsp_date{normalize-space($dbIDs)}');"/>
</td>
......
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