Commit 52b016ab authored by pchavan's avatar pchavan

update to remove site code from header.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@179802 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 133da912
......@@ -42,7 +42,6 @@ var isAnyRecordSelected = false;
<div class="eachSection">
<div class="eachContent title">Accounting Effect</div>
<div class="eachContent title"> <xsl:value-of select="./Detail1[attribute/@updateFlag!='D']/refser"/>-<xsl:value-of select="./Detail1[attribute/@updateFlag!='D']/ref_id" />
Site - <xsl:value-of select="./Detail1[attribute/@updateFlag!='D']/site_code"/>
</div>
</div>
......@@ -73,23 +72,23 @@ var isAnyRecordSelected = false;
<xsl:if test="$sundryType != 'O'">
<div class="eachContent"><xsl:value-of select='sundrydescr'/> : <xsl:value-of select='sundry_name'/> (<xsl:value-of select='sundry_code'/>)</div>
</xsl:if>
<div class ="eachContent">Site - <xsl:value-of select="site_code"/></div>
<div class="eachContent">Remarks : <xsl:value-of select='remarks'/> </div>
</div>
<div class="eachSection alighrt" >
<xsl:if test="cr_amt &gt; 0">
<xsl:if test="dr_amt &gt; 0">
<div class="eachContent textRtAlign">
<span class="cr-amt">+
<xsl:value-of select='cr_amt'/><xsl:text> </xsl:text>
<span class="dr-amt">Dr
<xsl:value-of select='dr_amt'/><xsl:text> </xsl:text>
</span>
<xsl:value-of select='curr_code'/>
</div>
</xsl:if>
<xsl:if test="dr_amt &gt; 0">
<xsl:if test="cr_amt &gt; 0">
<div class="eachContent textRtAlign">
<span class="dr-amt">-
<xsl:value-of select='dr_amt'/><xsl:text> </xsl:text>
<span class="cr-amt">Cr
<xsl:value-of select='cr_amt'/><xsl:text> </xsl:text>
</span>
<xsl:value-of select='curr_code'/>
<xsl:if test="$exchangeRate != '1'">
......@@ -114,16 +113,16 @@ var isAnyRecordSelected = false;
</xsl:for-each>
<div class="eachRow">
<div class="eachSection alighrt">
<div class="eachSection alighlt ">Total Credit:
<span class="cr-amt">+
<xsl:value-of select= "sum(/DocumentRoot/group0/Header0/Detail1[attribute/@updateFlag!='D']/cr_amt)"/>
<div class="eachSection alighlt ">Total Debit:
<span class="dr-amt">Dr
<xsl:value-of select= "sum(/DocumentRoot/group0/Header0/Detail1[attribute/@updateFlag!='D']/dr_amt)"/>
</span>
<xsl:text> </xsl:text>
<xsl:value-of select="/DocumentRoot/group0/Header0/Detail1[attribute/@updateFlag!='D']/curr_code"/>
</div>
<div class="eachSection alighlt ">Total Debit:
<span class="dr-amt">-
<xsl:value-of select="sum(/DocumentRoot/group0/Header0/Detail1[attribute/@updateFlag!='D']/dr_amt)"/>
<div class="eachSection alighlt ">Total Credit:
<span class="cr-amt">Cr
<xsl:value-of select="sum(/DocumentRoot/group0/Header0/Detail1[attribute/@updateFlag!='D']/cr_amt)"/>
</span>
<xsl:text> </xsl:text>
<xsl:value-of select="/DocumentRoot/group0/Header0/Detail1[attribute/@updateFlag!='D']/curr_code"/>
......
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