Commit ed830be1 authored by vkadam's avatar vkadam

[F15ESUN001] Add :- No attachments found if block is empty.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98564 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 26d57a13
......@@ -39,6 +39,11 @@
<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>
......@@ -90,6 +95,15 @@
</td>
</xsl:for-each>
</tr>
<xsl:if test=" $noofattach = 0 ">
<TR>
<TD colspan='5'>
<span class='no-attach-text'>No attachments found.</span>
</TD>
</TR>
</xsl:if>
</tbody>
</table>
</div>
......
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