Commit 6eb41621 authored by kdabholkar's avatar kdabholkar

commited by kaustubh for transaction preview screen


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@43892 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 44f98314
This diff is collapsed.
This diff is collapsed.
<?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="amd_no">
<xsl:value-of select="amd_no"></xsl:value-of>
</xsl:variable>
<xsl:variable name="amd_date">
<xsl:value-of select="amd_date"></xsl:value-of>
</xsl:variable>
<xsl:variable name="amd_type">
<xsl:value-of select="amd_type"></xsl:value-of>
</xsl:variable>
<xsl:variable name="purc_order">
<xsl:value-of select="purc_order"></xsl:value-of>
</xsl:variable>
<xsl:variable name="pord_type">
<xsl:value-of select="pord_type"></xsl:value-of>
</xsl:variable>
<xsl:variable name="item_ser">
<xsl:value-of select="item_ser"></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="site_city">
<xsl:value-of select="site_city"></xsl:value-of>
</xsl:variable>
<xsl:variable name="emp_fname">
<xsl:value-of select="emp_fname"></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>
<table id="activityTable" Class="editDisplayColumnClass" border="0" cellSpacing="0" width="100%" cellPadding="5" >
<tr>
<td>
<tbody>
<tr>
<td class="td_rightAlign" nowrap="true">Amendment No:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$amd_no}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Amd Date:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$amd_date}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Amd Type:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" value ="{$amd_type}" class="input_editable" readonly="true"/></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">Purchase Order No.:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$purc_order}" readonly="true" /></td>
<td class="td_rightAlign" nowrap="true">Order Type:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$pord_type}" 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;" value ="{$supp_name}" class="input_editable" 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="{$site_city}" readonly="true" /></td>
</tr>
<tr>
<td class="td_rightAlign" nowrap="true">Purchaser:</td>
<td class="td_leftAlign">
<input type="text" style="border:none;" value ="{$emp_fname}" class="input_editable" readonly="true"/>
</td>
<td class="td_rightAlign" nowrap="true">Tax Amount:</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 Amount:</td>
<td class="td_leftAlign"><input type="text" style="border:none;" class="input_editable" value="{$tot_amt}" 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">
<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>
<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 ="{$tot_net_amt}" class="input_editable" readonly="true"/></td>
</tr>
</xsl:for-each>
</tbody>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
This diff is collapsed.
This diff is collapsed.
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