Commit 8dd97318 authored by vkadam's avatar vkadam

Change in xsl.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98577 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d557431c
<?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: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="/">
<xsl:template match="/">
<html>
<html>
<link id="userThemeLink" type="text/css" rel="stylesheet" href=""/>
<link id="userThemeLink" type="text/css" rel="stylesheet" href="" />
<script type="text/javascript" src="/ibase/webitm/js/splitter/jquery.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/splitter/splitter-152.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/splitter/jquery.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/splitter/splitter-152.js"></script>
<link href="/ibase/webitm/js/fixed-header/fixed_table_rc.css" rel="stylesheet"/>
<link href="/ibase/webitm/js/fixed-header/fixed_table_rc.css"
rel="stylesheet" />
<script language="JavaScript" type="text/javascript">
<script language="JavaScript" type="text/javascript">
<![CDATA[
$(function() {
});
]]>
</script>
</script>
<body>
<div class="mainPage-Container">
<body>
<div class="mainPage-Container">
<div id="splitter">
<xsl:variable name="noofattach">
<xsl:value-of select="count(//VOUCHER_DET)" />
</xsl:variable>
<div id="splitterLeftPane">
<div class="detailPage-Container">
......@@ -36,58 +43,89 @@
<input type="button" value="&gt;" onclick="scrollDivRight()" />
</div>
<div id="dataDivID" class="pophelp-Contents" style="width: 90%; overflow: hidden;" align="center">
<table id="Details" border="0" cellspacing="5" cellpadding="5" style="width: 18%">
<div id="dataDivID" class="pophelp-Contents" style="width: 90%; overflow: hidden;"
align="center">
<table id="Details" border="0" cellspacing="5"
cellpadding="5" style="width: 18%">
<tbody class="attach-table-body">
<xsl:variable name="noofattach">
<xsl:value-of select="count(//VOUCHER_DET)" />
</xsl:variable>
<tr>
<xsl:for-each select="//VOUCHER_DET">
<xsl:variable name="voucher_no"><xsl:value-of select="voucher_no" /></xsl:variable>
<xsl:variable name="purc_order"><xsl:value-of select="purc_order" /></xsl:variable>
<xsl:variable name="confirmed"><xsl:value-of select="confirmed" /></xsl:variable>
<xsl:variable name="ref_id"><xsl:value-of select="ref_id" /></xsl:variable>
<xsl:variable name="status"><xsl:value-of select="status" /></xsl:variable>
<xsl:variable name="tran_date"><xsl:value-of select="tran_date" /></xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID" /></xsl:variable>
<xsl:variable name="voucher_no">
<xsl:value-of select="voucher_no" />
</xsl:variable>
<xsl:variable name="purc_order">
<xsl:value-of select="purc_order" />
</xsl:variable>
<xsl:variable name="confirmed">
<xsl:value-of select="confirmed" />
</xsl:variable>
<xsl:variable name="ref_id">
<xsl:value-of select="ref_id" />
</xsl:variable>
<xsl:variable name="status">
<xsl:value-of select="status" />
</xsl:variable>
<xsl:variable name="tran_date">
<xsl:value-of select="tran_date" />
</xsl:variable>
<xsl:variable name="dbID">
<xsl:value-of select="@domID" />
</xsl:variable>
<td id="Details-{normalize-space($dbID)}"
onclick="viewAttachments('{normalize-space($ref_id)}'),selectedRowsHighlight( this.id );">
<table name="Details-tab" border="0" cellspacing="1" cellpadding="1" style="width: 220px;">
<table name="Details-tab" border="0" cellspacing="1"
cellpadding="1" style="width: 220px;">
<tbody>
<tr>
<td>
<label style="font-size: 17px;"><b>Purchase&#160;Voucher&#160;:&#160;</b><xsl:value-of select="voucher_no" /></label>
<label style="font-size: 17px;">
<b>Purchase&#160;Voucher&#160;:&#160;</b>
<xsl:value-of select="voucher_no" />
</label>
</td>
</tr>
<tr>
<td colspan="2">
<label><b>Purchase&#160;Order&#160;:&#160;</b><xsl:value-of select="purc_order" /></label>
<label>
<b>Purchase&#160;Order&#160;:&#160;</b>
<xsl:value-of select="purc_order" />
</label>
</td>
</tr>
<tr>
<td colspan="2">
<label><b>Confirmed&#160;:&#160;</b><xsl:value-of select="confirmed" /></label>
<label>
<b>Confirmed&#160;:&#160;</b>
<xsl:value-of select="confirmed" />
</label>
</td>
</tr>
<tr>
<td>
<label><b>Bank&#160;Guarantee&#160;:&#160;</b><xsl:value-of select="ref_id" /></label>
<label>
<b>Bank&#160;Guarantee&#160;:&#160;</b>
<xsl:value-of select="ref_id" />
</label>
</td>
<!-- <td style="text-align: right;"> -->
<!-- <label><b>Due&#160;On&#160;:&#160;</b><xsl:value-of select="due_date" /></label> -->
<!-- </td> -->
<!-- <td style="text-align: right;"> -->
<!-- <label><b>Due&#160;On&#160;:&#160;</b><xsl:value-of
select="due_date" /></label> -->
<!-- </td> -->
</tr>
<tr>
<td>
<label><b>Bank&#160;Guarantee&#160;Status&#160;:&#160;</b><xsl:value-of select="status" /></label>
<label>
<b>Bank&#160;Guarantee&#160;Status&#160;:&#160;</b>
<xsl:value-of select="status" />
</label>
</td>
</tr>
<tr>
<td>
<label><b>Date&#160;:&#160;</b><xsl:value-of select="tran_date" /></label>
<label>
<b>Date&#160;:&#160;</b>
<xsl:value-of select="tran_date" />
</label>
</td>
</tr>
</tbody>
......@@ -99,7 +137,7 @@
<xsl:if test=" $noofattach = 0 ">
<TR>
<TD colspan='5'>
<span class='no-attach-text'>No attachments found.</span>
<span class='no-attach-text'>No records found.</span>
</TD>
</TR>
</xsl:if>
......@@ -113,37 +151,44 @@
<div id="splitterRightPane">
<!-- Commented to remove Report part. VALLABH KADAM
<div id="splitterTopPane">
<div id="loadingReportDiv" align="center" class="loadingImg">
<span style="vertical-align: middle">Loading...</span>
</div>
<iframe id='reportSrc' style='height: 99.8%; width: 99.8%; float: left;' frameborder="0" scrolling="no"></iframe>
</div>-->
<!-- Commented to remove Report part. VALLABH KADAM <div id="splitterTopPane">
<div id="loadingReportDiv" align="center" class="loadingImg"> <span style="vertical-align:
middle">Loading...</span> </div> <iframe id='reportSrc' style='height: 99.8%;
width: 99.8%; float: left;' frameborder="0" scrolling="no"></iframe> </div> -->
<!-- #TopPane -->
<!--VALLABH KADAM The Repoer DIV is removed
Made following chnages in splitterBottomPane
align="center"
style="margin-left:160px; height: 630px; width: 300px"
also in iframe
style='height: 99.8%; width: 99%; float: left;'
In CSS #splitterBottomPane
min-height: 100px;min-width: 1200px;-->
<!--VALLABH KADAM The Repoer DIV is removed Made following chnages
in splitterBottomPane align="center" style="margin-left:160px; height: 630px;
width: 300px" also in iframe style='height: 99.8%; width: 99%; float: left;'
In CSS #splitterBottomPane min-height: 100px;min-width: 1200px; -->
<div id="splitterBottomPane" align="center" style="margin-left:160px; height: 626px; width: 300px">
<div id="splitterBottomPane" align="center"
style="margin-left:50px; height: 500px; width: 275px">
<div id="loadingAttachDiv" align="center" class="loadingImg">
<xsl:if test=" $noofattach != 0 ">
<span style="vertical-align: middle">Loading...</span>
</xsl:if>
<xsl:if test=" $noofattach = 0 ">
<span class='no-attach-text'>No attachments found.</span>
</xsl:if>
</div>
<iframe id='attachSrc' style='height: 99%; width: 99.8%; float: left;' frameborder="0" scrolling="no"></iframe>
<iframe id='attachSrc' style='height: 99.8%; width: 100%; float: left;'
frameborder="0" scrolling="no">
</iframe>
</div> <!-- #BottomPane -->
</div> <!-- #RightPane -->
</div> <!-- #MySplitter -->
</div>
</body>
</html>
</xsl:template>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
\ No newline at end of file
......@@ -46,7 +46,7 @@
</table>
</div>
</div>
<div id="fileViewer" style="width: 94.8%; float: right;">
<div id="fileViewer" style="width: 94.8%; float: right; margin-right:10px;">
</div>
</div>
</body>
......
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