Commit 629d5649 authored by vvengurlekar's avatar vvengurlekar

sorder_preview.xsl - committed for sales order summary pge


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@182310 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b524f103
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/Standard/default.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/theme/galaxy-theme.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/htmlWizard.css"/>
<style>
.previewContainer
{
overflow: auto !important;
position: relative !important;
zoom: 1 !important;
height: 300px !important;
}
input[type=text]{
width: 100%;
}
</style>
</head>
<body class='headerDetailBody'>
<TABLE border="0" width="100%" 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%" >
Header Details:
</td>
</div>
</TR>
</TABLE>
<form id="detail" METHOD="POST">
<xsl:for-each select="//Detail1">
<xsl:variable name="sale_order">
<xsl:value-of select="sale_order"></xsl:value-of>
</xsl:variable>
<xsl:variable name="order_date">
<xsl:value-of select="order_date"></xsl:value-of>
</xsl:variable>
<xsl:variable name="cust_code">
<xsl:value-of select="cust_code"></xsl:value-of>
</xsl:variable>
<xsl:variable name="cust_name__bil">
<xsl:value-of select="cust_name__bil"></xsl:value-of>
</xsl:variable>
<xsl:variable name="due_date">
<xsl:value-of select="due_date"></xsl:value-of>
</xsl:variable>
<xsl:variable name="dlv_add1">
<xsl:value-of select="dlv_add1"></xsl:value-of>
</xsl:variable>
<xsl:variable name="site_code">
<xsl:value-of select="site_code"></xsl:value-of>
</xsl:variable>
<xsl:variable name="dlv_city">
<xsl:value-of select="dlv_city"></xsl:value-of>
</xsl:variable>
<table id="activityTable" Class="editDisplayColumnClass" border="0" cellSpacing="0" width="100%" cellPadding="5">
<tr>
<td>
<tbody>
<tr>
<td class="td_rightAlign" nowrap="true">Sale Order:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$sale_order}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Order Date:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" value ="{$order_date}" class="input_editable" readonly="true"/></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">Customer Code:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$cust_code}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Customer Name:</td>
<td class="td_leftAlign" style="color: #333; background: white; text-align: left; font-size: 14px;"> <xsl:value-of select="cust_name__bil"></xsl:value-of></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">Delivery City:</td>
<td class="td_leftAlign">
<input type="text" style="border:none;" value ="{$dlv_city}" class="input_editable" readonly="true"/>
</td>
<td class="td_rightAlign" nowrap="true">Site Code:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$site_code}" readonly="true" /></td>
</tr>
</tbody>
</td>
</tr>
</table>
<TABLE border="0" width="100%" height="2%" class="header_td" cellpadding="0" cellspacing="0" style="background-color: #f7f8fa;">
<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%" >
Details:
</td>
</div>
</TR>
</TABLE>
</xsl:for-each>
<table>
<tr>
<td>
<table class="headertableClass " cellspacing="0" cellpadding="0" width='100%'>
<thead class="table-head">
<tr>
<th class="tHeader" nowrap="true" >Item Code</th>
<th class="tHeader" nowrap="true" >Item Descriptionr</th>
<th class="tHeader" nowrap="true" >Quantity</th>
<th class="tHeader" nowrap="true" >Rate</th>
</tr>
</thead>
<tbody>
<xsl:for-each select="//Detail2">
<!--Changes made by Varsha D. to do not add deleted row in summary page[Start] -->
<xsl:if test="attribute/@updateFlag!='D'">
<!--Changes made by Varsha D. to do not add deleted row in summary page[End] -->
<xsl:variable name="item_descr">
<xsl:value-of select="item_descr"></xsl:value-of>
</xsl:variable>
<xsl:variable name="item_code">
<xsl:value-of select="item_code"></xsl:value-of>
</xsl:variable>
<xsl:variable name="quantity">
<xsl:value-of select="quantity"></xsl:value-of>
</xsl:variable>
<xsl:variable name="rate">
<xsl:value-of select="rate"></xsl:value-of>
</xsl:variable>
<tr class='trClass'>
<td ><input type="text" style="border:none;text-align: left;padding:5px;" value ="{$item_code}" class="input_editable" readonly="true"/></td>
<td ><input type="text" style="border:none;text-align: left;padding:5px;" value="{$item_descr}" class="input_editable" readonly="true" /></td>
<td ><input type="text" style="border:none;text-align: right;padding:5px;" value ="{$quantity}" class="input_editable" readonly="true"/></td>
<td ><input type="text" style="border:none;text-align: right;padding:5px;" value="{$rate}" class="input_editable" readonly="true" /></td>
</tr>
</xsl:if>
</xsl:for-each>
</tbody>
</table>
</td>
</tr>
</table>
</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