Commit 754f0663 authored by wansari's avatar wansari

D14IKAT004 added term table and currency fields


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97428 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1ddbaff9
...@@ -69,11 +69,23 @@ ...@@ -69,11 +69,23 @@
<xsl:variable name="tran_name"><xsl:value-of select="tran_name"/></xsl:variable> <xsl:variable name="tran_name"><xsl:value-of select="tran_name"/></xsl:variable>
<xsl:variable name="tran_date"><xsl:value-of select="tran_date"/></xsl:variable> <xsl:variable name="tran_date"><xsl:value-of select="tran_date"/></xsl:variable>
<xsl:variable name="pord_type"><xsl:value-of select="pord_type"/></xsl:variable> <xsl:variable name="pord_type"><xsl:value-of select="pord_type"/></xsl:variable>
<xsl:variable name="task_desc"><xsl:value-of select="task_desc"/></xsl:variable>
<xsl:variable name="site_code__dlv"><xsl:value-of select="site_code__dlv"/></xsl:variable> <xsl:variable name="site_code__dlv"><xsl:value-of select="site_code__dlv"/></xsl:variable>
<xsl:variable name="site_code__ord"><xsl:value-of select="site_code__ord"/></xsl:variable>
<xsl:variable name="site_descr"><xsl:value-of select="site_descr"/></xsl:variable>
<xsl:variable name="site_add1"><xsl:value-of select="site_add1"/></xsl:variable> <xsl:variable name="site_add1"><xsl:value-of select="site_add1"/></xsl:variable>
<xsl:variable name="emp_code"><xsl:value-of select="emp_code"/></xsl:variable> <xsl:variable name="emp_code"><xsl:value-of select="emp_code"/></xsl:variable>
<xsl:variable name="curr_code"><xsl:value-of select="curr_code"/></xsl:variable>
<xsl:variable name="chg_user"><xsl:value-of select="chg_user"/></xsl:variable>
<xsl:variable name="chg_term"><xsl:value-of select="chg_term"/></xsl:variable>
<xsl:variable name="term_table"><xsl:value-of select="term_table"/></xsl:variable>
<xsl:variable name="udf_str__2"><xsl:value-of select="udf_str__2"/></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable> <xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<input type="hidden" value="{chg_user}" name="Detail1.{normalize-space($dbID)}.chg_user" id="Detail1.{normalize-space($dbID)}.chg_user" />
<input type="hidden" value="{chg_term}" name="Detail1.{normalize-space($dbID)}.chg_term" id="Detail1.{normalize-space($dbID)}.chg_term" />
<input type="hidden" value="{emp_code}" name="Detail1.{normalize-space($dbID)}.emp_code" id="Detail1.{normalize-space($dbID)}.emp_code" />
<input type="hidden" value="{udf_str__2}" name="Detail1.{normalize-space($dbID)}.udf_str__2" id="Detail1.{normalize-space($dbID)}.udf_str__2" />
<!-- <tr> <!-- <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_leftAlign" nowrap="true">
<strong>Purchase Order :</strong> <strong>Purchase Order :</strong>
...@@ -126,7 +138,7 @@ ...@@ -126,7 +138,7 @@
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_leftAlign" nowrap="true">
<strong>Tran 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: 90%;">
...@@ -141,8 +153,8 @@ ...@@ -141,8 +153,8 @@
</div> </div>
</td> </td>
<td colspan="2"> <td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.typedescr" id="typedescr" <input type="text" name="Detail1.{normalize-space($dbID)}.task_desc" id="typedescr"
value="" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" /> value="{task_desc}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" />
</td> </td>
</tr> </tr>
...@@ -157,7 +169,7 @@ ...@@ -157,7 +169,7 @@
id="xyz" maxlength="10" ISCHANGED="false" readOnly = "1" id="xyz" maxlength="10" ISCHANGED="false" readOnly = "1"
style="width: 95%;" /> style="width: 95%;" />
<div style="width:3%; float: right;"> <div style="width:3%; float: right;">
<a href="javascript:supp_pop('supp_code','xyz','Supplier Code');" style="float: left;text-decoration: none;"> <a href="javascript:supp_pop('supp_code','xyz','Supplier Code','{site_code__ord}');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Supplier Code"/> <img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Supplier Code"/>
</a> </a>
</div> </div>
...@@ -196,7 +208,7 @@ ...@@ -196,7 +208,7 @@
<strong>Remarks :</strong> <strong>Remarks :</strong>
</td> </td>
<td class="td_leftAlign" colspan="3"> <td class="td_leftAlign" colspan="3">
<input type="text" value="{remarks}" name="Detail1.{normalize-space($dbID)}.remarks" maxlength="310" class="editInputClass" style="width: 100%"/> <input type="text" value="{remarks}" name="Detail1.{normalize-space($dbID)}.remarks" maxlength="40" class="editInputClass" style="width: 100%"/>
</td> </td>
</tr> </tr>
...@@ -212,24 +224,35 @@ ...@@ -212,24 +224,35 @@
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_leftAlign" nowrap="true">
<strong>Site Code :</strong> <strong>Deliver At :</strong>
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign">
<div style="position:relative; width: 90%;"> <div style="position:relative; width: 90%;">
<input type="text" class="editInputClass" value="{$site_code__dlv}" id="site_code" name="Detail1.{normalize-space($dbID)}.site_code__dlv" <input type="text" class="editInputClass" value="{site_code__dlv}" name="Detail1.{normalize-space($dbID)}.site_code__dlv"
maxlength="10" ISCHANGED="false" readOnly = "1" id="site_code__dlv" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 95%;" />
style="width: 95%;" />
<!-- <div style="width:3%; float: right;"> <div style="width:3%; float: right;">
<a href="javascript:supp_pop('site_code','site_code','Site Code');" style="float: left;text-decoration: none;"> <a href="javascript:supp_pop('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 Site Code"/> <img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Delivery Site"/>
</a> </a>
</div>--> </div>
</div>
</td>
<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.site_descr" id="dlvDescr"
value="{site_descr}" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" />
</td>
</tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Order Site :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<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: 95%;" />
</div> </div>
</td> </td>
<!--<td colspan="2">
<input type="text" name="Detail1.{normalize-space($dbID)}.sitedescr" id="sitedescr"
value="" class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="margin-left: -9px;width: 180px" />
</td> -->
</tr> </tr>
<!--<tr> <!--<tr>
...@@ -324,6 +347,23 @@ ...@@ -324,6 +347,23 @@
</td> </td>
</tr>--> </tr>-->
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Currency :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 90%;">
<input type="text" name="Detail1.{normalize-space($dbID)}.curr_code" value="{$curr_code}" id="curr_code"
class="editInputClass" maxlength="10" ISCHANGED="false" readOnly = "1" style="width: 95%;" />
<div style="width:3%; float: right;">
<a href="javascript:supp_pop('curr_code','curr_code','Curr Code');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Currency Code"/>
</a>
</div>
</div>
</td>
</tr>
<tr> <tr>
<td class="td_leftAlign" nowrap="true"> <td class="td_leftAlign" nowrap="true">
...@@ -331,7 +371,7 @@ ...@@ -331,7 +371,7 @@
</td> </td>
<td class="td_leftAlign"> <td class="td_leftAlign">
<input type="text" name="Detail1.{normalize-space($dbID)}.exch_rate" id="exch_rate" <input type="text" name="Detail1.{normalize-space($dbID)}.exch_rate" id="exch_rate"
value="{$exch_rate}" onkeypress='return isNumberKey(event)' class="editInputClass" maxlength="10" style='text-align: right; width: 90%'/> value="{$exch_rate}" onkeypress='return isNumberKey(event)' class="editInputClass" maxlength="10" style='text-align: right; width: 60%'/>
</td> </td>
</tr> </tr>
...@@ -357,13 +397,31 @@ ...@@ -357,13 +397,31 @@
</td> </td>
</tr> </tr>
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Term Table :</strong>
</td>
<td class="td_leftAlign">
<div style="position:relative; width: 100%;">
<input type="text" class="editInputClass" value="{$term_table}" id="term_table" name="Detail1.{normalize-space($dbID)}.term_table"
maxlength="10" ISCHANGED="false" readOnly = "1"
style="width: 70%;" />
<div style="width:30%; float: right;">
<a href="javascript:supp_pop('term_table','term_table','Term table');" style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" title="Select Term table"/>
</a>
</div>
</div>
</td>
</tr>
<tr style="height: 10px;"> <tr style="height: 10px;">
</tr> </tr>
<tr> <tr>
<td> <td>
<input type="submit" onclick="javascript: return validate()" style="cursor:hand" value="Next" class="button" title='Next'/> <input type="submit" onclick="javascript: return validate()" style="cursor:hand" value="Next" class="button" title='Next'/>
<input type="hidden" name="Detail1.{normalize-space($dbID)}.emp_code" value="{emp_code}" />
</td> </td>
<!--<td> <!--<td>
<input type="button" style="cursor:hand" value="Add" class="button" title='Add' <input type="button" style="cursor:hand" value="Add" class="button" title='Add'
......
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