Commit c12b9eb1 authored by wansari's avatar wansari

D14JKAT004 added pord_wiz_amd2 xsl


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97543 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5dc22afc
<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html>
<body>
<link rel="stylesheet" href="/ibase/webitm/css/DD/default.css" type="text/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"/>
<script type="text/javascript" src="/ibase/webitm/js/Ammend.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>
<![CDATA[
$(function()
{
for(var i=1;i<=100;i++)
{
$( "#new_date"+i+"" ).datepicker({ minDate: 0, changeMonth: true, changeYear: true, dateFormat : "dd/mm/y"});
}
});
]]>
</script>
<form name="porderAmdSave" id="pordAmdFormII" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet">
<div class="mainPage-Container" style="overflow: auto;">
<div id="header">
<div id="headingText">Purchase Order Ammendment</div>
</div>
<table class="tableClass" id="Details" border="0" cellspacing="1" cellpadding="1" style="width:90%">
<thead class="table-head" style="text-align:center;">
<tr>
<th class="thClass" nowrap="true" width="5%">
</th>
<th class="thClass" nowrap="true" valign="bottom" width="8%">
<strong>Purchase Order</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="8%">
<strong>Item Code</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="8%">
<strong>Quantity</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="8%">
<strong>Delivery Date</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="20%">
<strong>New Date</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="8%">
<strong>Changed by user</strong>
</th>
</tr>
</thead>
<tbody class='table-body fadeInDown'>
<xsl:for-each select="//Detail2">
<xsl:variable name="dbID"><xsl:value-of select="@domID"/></xsl:variable>
<xsl:variable name="purc_order"><xsl:value-of select="purc_order"/></xsl:variable>
<xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable>
<xsl:variable name="supp_code"><xsl:value-of select="supp_code"/></xsl:variable>
<xsl:variable name="quantity"><xsl:value-of select="quantity"/></xsl:variable>
<xsl:variable name="dlv_date"><xsl:value-of select="dlv_date"/></xsl:variable>
<xsl:variable name="emp_code"><xsl:value-of select="emp_code"/></xsl:variable>
<xsl:variable name="line_no"><xsl:value-of select="line_no"/></xsl:variable>
<xsl:variable name="extra1"><xsl:value-of select="extra1"/></xsl:variable>
<xsl:variable name="site_code"><xsl:value-of select="site_code"/></xsl:variable>
<tr style="text-align:center;">
<td>
<input type="checkbox" name="Detail2.{normalize-space($dbID)}.selectbox"
id="Detail2.{normalize-space($dbID)}.selectbox" checked="true" value="true" />
</td>
<td>
<xsl:value-of select="purc_order"/>
</td>
<td>
<xsl:value-of select="item_code"/>
</td>
<td>
<xsl:value-of select="quantity"/>
</td>
<td>
<xsl:value-of select="dlv_date"/>
</td>
<td>
<input type="text" id="new_date{normalize-space($dbID)}" onchange="dateChange({$dbID})" name="Detail2.{normalize-space($dbID)}.new_date" value="{dlv_date}"
class="editDisplayClass" maxlength="0" ISCHANGED="false" readOnly = "1" style="width: 100px;" />
</td>
<td>
<xsl:value-of select="extra1"/>
</td>
<input type="hidden" id="Detail2.{normalize-space($dbID)}.dlv_date" class="editDisplayClass"
name="Detail2.{normalize-space($dbID)}.dlv_date" value="{dlv_date}" />
<input type="hidden" id="Detail2.{normalize-space($dbID)}.item_code" class="editDisplayClass"
name="Detail2.{normalize-space($dbID)}.item_code" value="{item_code}" />
<input type="hidden" id="Detail2.{normalize-space($dbID)}.supp_code" class="editDisplayClass"
name="Detail2.{normalize-space($dbID)}.supp_code" value="{supp_code}" />
<input type="hidden" id="Detail2.{normalize-space($dbID)}.purc_order" class="editDisplayClass"
name="Detail2.{normalize-space($dbID)}.purc_order" value="{purc_order}" />
<input type="hidden" id="Detail2.{normalize-space($dbID)}.site_code" class="editDisplayClass"
name="Detail2.{normalize-space($dbID)}.site_code" value="{site_code}" />
<input type="hidden" id="Detail2.{normalize-space($dbID)}.line_no" class="editDisplayClass"
name="Detail2.{normalize-space($dbID)}.line_no" value="{line_no}" />
<input type="hidden" id="Detail2.{normalize-space($dbID)}.extra1" class="editDisplayClass"
name="Detail2.{normalize-space($dbID)}.extra1" value="{extra1}" />
<input type="hidden" id="Detail2.{normalize-space($dbID)}.emp_code" class="editDisplayClass"
name="Detail2.{normalize-space($dbID)}.emp_code" value="{emp_code}" />
</tr>
</xsl:for-each>
</tbody>
</table>
<table>
<tr>
<td colspan="2">
<input type="hidden" value="2" name="FORM_NO" ID="FORM_NO" />
<input type="hidden" value="pord_wiz_amd" name="OBJ_NAME" />
<input type="hidden" value="" name="action" id="action" />
<input type="hidden" value="2:MP" name="formType" id="formType" />
<!-- <textarea name="PRE_FORM_VAL" ID="PRE_FORM_VAL" style="display:none;"></textarea> -->
<input type="submit" style="cursor:hand" class="button" value="Previous" title='Previous' onclick="javascript:setActionVal('previous')"/>
<input type="submit" style="cursor:hand" class="button" value="Finish" title='Finish' onclick="javascript:setActionVal('finish');javascript:return final()"/>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
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