Commit b4d0c43f authored by jshaikh's avatar jshaikh

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@181905 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b335591d
<?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: 370px !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="sord_no">
<xsl:value-of select="sord_no"></xsl:value-of>
</xsl:variable>
<xsl:variable name="desp_date">
<xsl:value-of select="desp_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">
<xsl:value-of select="cust_name"></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>
<xsl:variable name="desp_id">
<xsl:value-of select="desp_id"></xsl:value-of>
</xsl:variable>
<xsl:variable name="trans_mode">
<xsl:value-of select="trans_mode"></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="{$sord_no}" readonly="true" />
</td>
<td class="td_rightAlign" nowrap="true">Despatch Id:</td>
<td class="td_leftAlign">
<input type="text" style="border:none;" class="input_editable" value="{$desp_id}" readonly="true" />
</td>
<td class="td_rightAlign" nowrap="true">Despatch Date:</td>
<td class="td_leftAlign">
<input type="text" style="border:none;" value ="{$desp_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"></xsl:value-of>
</td>
<td class="td_rightAlign" nowrap="true">Trans Mode:</td>
<td class="td_leftAlign">
<input type="text" style="border:none;" class="input_editable" value ="{$trans_mode}" readonly="true"/>
</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" >Total Net Amount</th>
</tr>
</thead>
<tbody>
<xsl:for-each select="//Detail2">
<!--Changes made by Jaffar to do not display deleted row in summary page -->
<xsl:if test="attribute/@updateFlag!='D'">
<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="net_amt">
<xsl:value-of select="net_amt"></xsl:value-of>
</xsl:variable>
<tr class='trClass'>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value ="{$item_code}" class="input_editable" readonly="true"/></td>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value="{$item_descr}" class="input_editable" readonly="true" /></td>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value ="{$quantity}" class="input_editable" readonly="true"/></td>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value ="{$net_amt}" 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