Commit 44869d5f authored by arawankar's avatar arawankar

Changes made in porder_preview.xsl

1.Added tax_amt in detail row count.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@182558 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 806c5d14
<?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="pord_type">
<xsl:value-of select="pord_type"></xsl:value-of>
</xsl:variable>
<xsl:variable name="ord_date">
<xsl:value-of select="ord_date"></xsl:value-of>
</xsl:variable>
<xsl:variable name="ind_no">
<xsl:value-of select="ind_no"></xsl:value-of>
</xsl:variable>
<xsl:variable name="quot_no">
<xsl:value-of select="quot_no"></xsl:value-of>
</xsl:variable>
<xsl:variable name="item_ser">
<xsl:value-of select="item_ser"></xsl:value-of>
</xsl:variable>
<xsl:variable name="site_code">
<xsl:value-of select="site_code"></xsl:value-of>
</xsl:variable>
<xsl:variable name="supp_name">
<xsl:value-of select="supp_name"></xsl:value-of>
</xsl:variable>
<xsl:variable name="site_descr">
<xsl:value-of select="site_descr"></xsl:value-of>
</xsl:variable>
<xsl:variable name="city__site">
<xsl:value-of select="city__site"></xsl:value-of>
</xsl:variable>
<xsl:variable name="price_list">
<xsl:value-of select="price_list"></xsl:value-of>
</xsl:variable>
<xsl:variable name="tax_amt">
<xsl:value-of select="tax_amt"></xsl:value-of>
</xsl:variable>
<xsl:variable name="tot_amt">
<xsl:value-of select="tot_amt"></xsl:value-of>
</xsl:variable>
<xsl:variable name="department_descr">
<xsl:value-of select="department_descr"></xsl:value-of>
</xsl:variable>
<xsl:variable name="site_code__bill">
<xsl:value-of select="site_code__bill"></xsl:value-of>
</xsl:variable>
<xsl:variable name="accept_criteria">
<xsl:value-of select="accept_criteria"></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">Purchase 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">Ord Date:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$ord_date}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">type:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" value ="{$pord_type}" class="input_editable" readonly="true"/></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">Indent No:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$ind_no}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Quotation No:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$quot_no}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Item Series:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value ="{$item_ser}" readonly="true"/></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">Supplier:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$supp_name}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Deliver At:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$site_descr}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">City:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value ="{$city__site}" readonly="true"/></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">Price List:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$price_list}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Tax Amt:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$tax_amt}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Total Amt:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value ="{$tot_amt}" readonly="true"/></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">Department:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$department_descr}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Bill To:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$site_code__bill}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Accept Criteria:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value ="{$accept_criteria}" readonly="true"/></td>
</tr>
<td></td>
<td></td>
</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" >Tax Amtount</th>
<th class="tHeader" nowrap="true" >Total Net Amount</th>
</tr>
</thead>
<tbody>
<xsl:for-each select="//Detail2">
<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="tot_net_amt">
<xsl:value-of select="tot_net_amt"></xsl:value-of>
</xsl:variable>
<xsl:variable name="tax_amt">
<xsl:value-of select="tax_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 ="{$tax_amt}" class="input_editable" readonly="true"/></td>
<td ><input type="text" style="border:none;text-align: center;padding:5px;" value ="{$tot_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