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'?> <?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:stylesheet version="1.0"
<xsl:output method="html"/> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:decimal-format NaN="0"/> <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/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/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[ <![CDATA[
$(function() { $(function() {
}); });
]]> ]]>
</script> </script>
<body> <body>
<div class="mainPage-Container"> <div class="mainPage-Container">
<div id="splitter"> <div id="splitter">
<xsl:variable name="noofattach">
<xsl:value-of select="count(//VOUCHER_DET)" />
</xsl:variable>
<div id="splitterLeftPane"> <div id="splitterLeftPane">
<div class="detailPage-Container"> <div class="detailPage-Container">
...@@ -36,58 +43,89 @@ ...@@ -36,58 +43,89 @@
<input type="button" value="&gt;" onclick="scrollDivRight()" /> <input type="button" value="&gt;" onclick="scrollDivRight()" />
</div> </div>
<div id="dataDivID" class="pophelp-Contents" style="width: 90%; overflow: hidden;" align="center"> <div id="dataDivID" class="pophelp-Contents" style="width: 90%; overflow: hidden;"
<table id="Details" border="0" cellspacing="5" cellpadding="5" style="width: 18%"> align="center">
<table id="Details" border="0" cellspacing="5"
cellpadding="5" style="width: 18%">
<tbody class="attach-table-body"> <tbody class="attach-table-body">
<xsl:variable name="noofattach">
<xsl:value-of select="count(//VOUCHER_DET)" />
</xsl:variable>
<tr> <tr>
<xsl:for-each select="//VOUCHER_DET"> <xsl:for-each select="//VOUCHER_DET">
<xsl:variable name="voucher_no"><xsl:value-of select="voucher_no" /></xsl:variable> <xsl:variable name="voucher_no">
<xsl:variable name="purc_order"><xsl:value-of select="purc_order" /></xsl:variable> <xsl:value-of select="voucher_no" />
<xsl:variable name="confirmed"><xsl:value-of select="confirmed" /></xsl:variable> </xsl:variable>
<xsl:variable name="ref_id"><xsl:value-of select="ref_id" /></xsl:variable> <xsl:variable name="purc_order">
<xsl:variable name="status"><xsl:value-of select="status" /></xsl:variable> <xsl:value-of select="purc_order" />
<xsl:variable name="tran_date"><xsl:value-of select="tran_date" /></xsl:variable> </xsl:variable>
<xsl:variable name="dbID"><xsl:value-of select="@domID" /></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)}" <td id="Details-{normalize-space($dbID)}"
onclick="viewAttachments('{normalize-space($ref_id)}'),selectedRowsHighlight( this.id );"> 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> <tbody>
<tr> <tr>
<td> <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> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <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> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <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> </td>
</tr> </tr>
<tr> <tr>
<td> <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>
<!-- <td style="text-align: right;"> --> <!-- <td style="text-align: right;"> -->
<!-- <label><b>Due&#160;On&#160;:&#160;</b><xsl:value-of select="due_date" /></label> --> <!-- <label><b>Due&#160;On&#160;:&#160;</b><xsl:value-of
<!-- </td> --> select="due_date" /></label> -->
<!-- </td> -->
</tr> </tr>
<tr> <tr>
<td> <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> </td>
</tr> </tr>
<tr> <tr>
<td> <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> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -99,7 +137,7 @@ ...@@ -99,7 +137,7 @@
<xsl:if test=" $noofattach = 0 "> <xsl:if test=" $noofattach = 0 ">
<TR> <TR>
<TD colspan='5'> <TD colspan='5'>
<span class='no-attach-text'>No attachments found.</span> <span class='no-attach-text'>No records found.</span>
</TD> </TD>
</TR> </TR>
</xsl:if> </xsl:if>
...@@ -113,37 +151,44 @@ ...@@ -113,37 +151,44 @@
<div id="splitterRightPane"> <div id="splitterRightPane">
<!-- Commented to remove Report part. VALLABH KADAM <!-- Commented to remove Report part. VALLABH KADAM <div id="splitterTopPane">
<div id="splitterTopPane"> <div id="loadingReportDiv" align="center" class="loadingImg"> <span style="vertical-align:
<div id="loadingReportDiv" align="center" class="loadingImg"> middle">Loading...</span> </div> <iframe id='reportSrc' style='height: 99.8%;
<span style="vertical-align: middle">Loading...</span> width: 99.8%; float: left;' frameborder="0" scrolling="no"></iframe> </div> -->
</div>
<iframe id='reportSrc' style='height: 99.8%; width: 99.8%; float: left;' frameborder="0" scrolling="no"></iframe>
</div>-->
<!-- #TopPane --> <!-- #TopPane -->
<!--VALLABH KADAM The Repoer DIV is removed <!--VALLABH KADAM The Repoer DIV is removed Made following chnages
Made following chnages in splitterBottomPane in splitterBottomPane align="center" style="margin-left:160px; height: 630px;
align="center" width: 300px" also in iframe style='height: 99.8%; width: 99%; float: left;'
style="margin-left:160px; height: 630px; width: 300px" In CSS #splitterBottomPane min-height: 100px;min-width: 1200px; -->
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"> <div id="loadingAttachDiv" align="center" class="loadingImg">
<xsl:if test=" $noofattach != 0 ">
<span style="vertical-align: middle">Loading...</span> <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> </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> <!-- #BottomPane -->
</div> <!-- #RightPane --> </div> <!-- #RightPane -->
</div> <!-- #MySplitter --> </div> <!-- #MySplitter -->
</div> </div>
</body> </body>
</html> </html>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
\ No newline at end of file
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
</table> </table>
</div> </div>
</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>
</div> </div>
</body> </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