Commit 0f9db1eb authored by wansari's avatar wansari

W16FKAT002 updated XSL for opening screen from standard screen


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103996 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 993b017a
...@@ -25,16 +25,6 @@ ...@@ -25,16 +25,6 @@
<script language="Javascript" src="/ibase/webitm/js/jquery.datetimepicker.full.js"></script> <script language="Javascript" src="/ibase/webitm/js/jquery.datetimepicker.full.js"></script>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/jquery.datetimepicker.css"/> <link type="text/css" rel="stylesheet" href="/ibase/webitm/css/jquery.datetimepicker.css"/>
<script>
<![CDATA[
$(function()
{
/*$( "#orderdate").datepicker({ changeDate: true, changeMonth: true, changeYear: true, dateFormat : "dd/mm/y"});
$( "#duedate").datepicker({ changeDate: true, changeMonth: true, changeYear: true, dateFormat : "dd/mm/y"});*/
});
]]>
</script>
<style type="text/css"> <style type="text/css">
.editDisplayClass{ .editDisplayClass{
...@@ -56,6 +46,9 @@ border:none; ...@@ -56,6 +46,9 @@ border:none;
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" > <TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
Sales Order Sales Order
</TD> </TD>
<TD class="header_main" nowrap="true" align="left" valign="middle" style="padding-left: 10px;font-size:16px;" width="2%" >
<label id = "mode"></label>
</TD>
</div> </div>
</TR> </TR>
</TABLE> </TABLE>
...@@ -185,121 +178,6 @@ border:none; ...@@ -185,121 +178,6 @@ border:none;
</td> </td>
</tr> </tr>
<tr>
<td class="td_rightAlign">
<strong>Order Date :</strong>
</td>
<td>
<!-- <input type="text" name="Detail1.{normalize-space($dbID)}.order_date" id="orderdate"
value="{$order_date}" class="input_editable" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 40%"/> -->
<!-- <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" 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>
<td class="td_leftAlign">
<strong>Due Date :</strong>
<!-- <input type="text" name="Detail1.{normalize-space($dbID)}.due_date" id="duedate"
value="{$due_date}" class="input_editable" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 30%"/> -->
<!-- <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" 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>
<td></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Order Site* :</strong>
</td>
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$site_code}" name="Detail1.{normalize-space($dbID)}.site_code"
id="Detail1.{normalize-space($dbID)}.site_code"
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>
<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-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>
</td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Order Type* :</strong>
</td>
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$order_type}" id="Detail1.{normalize-space($dbID)}.order_type" name="Detail1.{normalize-space($dbID)}.order_type"
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>
<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="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>
</td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Item Series* :</strong>
</td>
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$item_ser}" id="Detail1.{normalize-space($dbID)}.item_ser" name="Detail1.{normalize-space($dbID)}.item_ser"
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>
<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="margin-top: 2px;" title="Item Series"/>
</a>
</div>
<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%" />
</div>
</div>
</td>
<td>
</td>
</tr>
<tr> <tr>
<td class="td_rightAlign" nowrap="true"> <td class="td_rightAlign" nowrap="true">
<strong>Customer Code* :</strong> <strong>Customer Code* :</strong>
...@@ -321,7 +199,7 @@ border:none; ...@@ -321,7 +199,7 @@ border:none;
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Customer Code"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Customer Code"/>
</a> </a>
</div> </div>
<div style="float: left;width: 70%;padding-left:3px" > <div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.cust_name" id="Detail1.{normalize-space($dbID)}.cust_name" <input type="text" name="Detail1.{normalize-space($dbID)}.cust_name" id="Detail1.{normalize-space($dbID)}.cust_name"
value="{$cust_name}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" /> value="{$cust_name}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div> </div>
...@@ -352,7 +230,7 @@ border:none; ...@@ -352,7 +230,7 @@ border:none;
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Select Customer Code Delivery"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Select Customer Code Delivery"/>
</a> </a>
</div> </div>
<div style="float: left;width: 70%;padding-left:3px" > <div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.dlv_to" id="Detail1.{normalize-space($dbID)}.dlv_to" <input type="text" name="Detail1.{normalize-space($dbID)}.dlv_to" id="Detail1.{normalize-space($dbID)}.dlv_to"
value="{$dlv_to}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" /> value="{$dlv_to}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div> </div>
...@@ -383,7 +261,7 @@ border:none; ...@@ -383,7 +261,7 @@ border:none;
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Select Customer Code Bill"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Select Customer Code Bill"/>
</a> </a>
</div> </div>
<div style="float: left;width: 70%;padding-left:3px" > <div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.cust_name__bil" id="Detail1.{normalize-space($dbID)}.cust_name__bil" <input type="text" name="Detail1.{normalize-space($dbID)}.cust_name__bil" id="Detail1.{normalize-space($dbID)}.cust_name__bil"
value="{$cust_name__bil}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" /> value="{$cust_name__bil}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div> </div>
...@@ -533,7 +411,7 @@ border:none; ...@@ -533,7 +411,7 @@ border:none;
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Delivery Term"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Delivery Term"/>
</a> </a>
</div> </div>
<div style="float: left;width: 70%;padding-left:3px" > <div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.delivery_term_descr" id="Detail1.{normalize-space($dbID)}.delivery_term_descr" <input type="text" name="Detail1.{normalize-space($dbID)}.delivery_term_descr" id="Detail1.{normalize-space($dbID)}.delivery_term_descr"
value="{$delivery_term_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" /> value="{$delivery_term_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div> </div>
...@@ -594,7 +472,7 @@ border:none; ...@@ -594,7 +472,7 @@ border:none;
<td class="td_leftAlign" colspan = "3" nowrap="true"> <td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;"> <div style="width: 100%;">
<div style="width: 20%;float: left;"> <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" <input type="text" class="input_editable" value="NA" id="Detail1.{normalize-space($dbID)}.tran_code" name="Detail1.{normalize-space($dbID)}.tran_code"
contenteditable="true" onkeypress="return false;" style="width: 100%;" contenteditable="true" onkeypress="return false;" style="width: 100%;"
onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','{normalize-space($tran_code)}','tran_code', 'Transporter', 0);" /> onkeydown="javascript:openSearchPopup(event,'{normalize-space($dbID)}','{normalize-space($tran_code)}','tran_code', 'Transporter', 0);" />
</div> </div>
...@@ -604,9 +482,114 @@ border:none; ...@@ -604,9 +482,114 @@ border:none;
<img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Transporter"/> <img src="/ibase/webitm/images/pophelp.png" style="margin-top: 2px;" title="Transporter"/>
</a> </a>
</div> </div>
<div style="float: left;width: 70%;padding-left:3px" > <div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.trans_mode" id="Detail1.{normalize-space($dbID)}.trans_mode" <input type="text" name="Detail1.{normalize-space($dbID)}.trans_mode" id="Detail1.{normalize-space($dbID)}.trans_mode"
value="{$trans_mode}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" /> value="T" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div>
</div>
</td>
<td>
</td>
</tr>
<tr>
<td class="td_rightAlign">
<strong>Order Date :</strong>
</td>
<td>
<input type="text" class="input_editable" size="8" value="{$order_date}" name="Detail1.{normalize-space($dbID)}.order_date" id="orderdate" onkeydown = "return false;" maxlength="8" placeholder = "DD/MM/YY"/>
<img border="0" src="/ibase/webitm/images/calender.png" style = "margin-bottom:-5px;margin-left:3px;cursor: hand;" id="orderdate" name="orderdate" onClick="javascript:setDate('orderdate');"/>
</td>
<td class="td_leftAlign">
<strong>Due Date :</strong>
<input type="text" class="input_editable" size="8" value="{$due_date}" name="Detail1.{normalize-space($dbID)}.due_date" id="duedate" onkeydown = "return false;" maxlength="8" placeholder = "DD/MM/YY"/>
<img border="0" src="/ibase/webitm/images/calender.png" style = "margin-bottom:-5px;margin-left:3px;cursor: hand;" id="duedate" name="duedate" onClick="javascript:setDate('duedate');"/>
</td>
<td></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Order Site* :</strong>
</td>
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$site_code}" name="Detail1.{normalize-space($dbID)}.site_code"
id="Detail1.{normalize-space($dbID)}.site_code"
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>
<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-top: 2px;" title="Order Site"/>
</a>
</div>
<div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.site_descr" id="Detail1.{normalize-space($dbID)}.site_descr"
value="{$site_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div>
</div>
</td>
<td>
</td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Order Type* :</strong>
</td>
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$order_type}" id="Detail1.{normalize-space($dbID)}.order_type" name="Detail1.{normalize-space($dbID)}.order_type"
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>
<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="margin-top: 2px;" title="Order Type"/>
</a>
</div>
<div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.sordertype_descr" id="Detail1.{normalize-space($dbID)}.sordertype_descr"
value="{$sordertype_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div>
</div>
</td>
<td>
</td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">
<strong>Item Series* :</strong>
</td>
<td class="td_leftAlign" colspan = "3" nowrap="true">
<div style="width: 100%;">
<div style="width: 20%;float: left;">
<input type="text" class="input_editable" value="{$item_ser}" id="Detail1.{normalize-space($dbID)}.item_ser" name="Detail1.{normalize-space($dbID)}.item_ser"
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>
<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="margin-top: 2px;" title="Item Series"/>
</a>
</div>
<div style="float: left;width: 70%;padding-left:9px" >
<input type="text" name="Detail1.{normalize-space($dbID)}.itemser_descr" id="Detail1.{normalize-space($dbID)}.itemser_descr"
value="{$itemser_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100%" />
</div> </div>
</div> </div>
</td> </td>
......
...@@ -312,7 +312,7 @@ ...@@ -312,7 +312,7 @@
<td align="right" width = "10%"> <td align="right" width = "10%">
Rate: Rate:
</td> </td>
<td width = "15%"> <td width = "10%">
<label id = "item_parent_rate1"></label> <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>
......
...@@ -290,7 +290,7 @@ ...@@ -290,7 +290,7 @@
<th class="tHeader" nowrap="true" valign="bottom"> <th class="tHeader" nowrap="true" valign="bottom">
Amount Amount
</th> </th>
<th class="tHeader" nowrap="true" valign="bottom" style="width:100px;"> <th class="tHeader" nowrap="true" valign="bottom" style="width:120px;">
Despatch Date Despatch Date
</th> </th>
<!-- <th class="thClass" nowrap="true" > <!-- <th class="thClass" nowrap="true" >
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<form name="sorderViewReport" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet"> <form name="sorderViewReport" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<div style="height:90%; width:98%;overflow:-moz-scrollbars-vertical;overflow-x:auto;overflow-y:auto;white-space:nowrap;"> <div style="height:90%; width:98%;overflow:-moz-scrollbars-vertical;overflow-x:auto;overflow-y:auto;white-space:nowrap;">
<table class="headertableClass" id="Details1" border="0" cellspacing="1" cellpadding="1"> <table class="headertableClass" width = "100%" id="Details1" border="0" cellspacing="1" cellpadding="1">
<tr> <tr>
<th class="tHeader" align = "left" nowrap="true" valign="bottom" width="10%" > <th class="tHeader" align = "left" nowrap="true" valign="bottom" width="10%" >
Sales Order Sales Order
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
</xsl:for-each> </xsl:for-each>
</tbody> </tbody>
</table> </table>
<table class="headertableClass" style ="border-top:none" id="Details2" border="0" cellspacing="1" cellpadding="1"> <table class="headertableClass" width = "100%" style ="border-top:none" id="Details2" border="0" cellspacing="1" cellpadding="1">
<tr> <tr>
<th class="tHeader" align = "left" nowrap="true" valign="bottom" width="10%"> <th class="tHeader" align = "left" nowrap="true" valign="bottom" width="10%">
Product Code Product Code
......
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