Commit fe04db54 authored by ssalve's avatar ssalve

Sarita : Done changes to show sale order status on 11DEC2017

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175701 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 441d4a98
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<!-- <xsl:if test="not(//header_data)"> <!-- <xsl:if test="not(//header_data)">
<p style="font-size:16px;">Sales order confirmation is pending or order is cancelled.</p> <p style="font-size:16px;">Sales order confirmation is pending or order is cancelled.</p>
</xsl:if> changes by sarita on 30NOV2017--> </xsl:if> changes by sarita on 30NOV2017-->
<!-- <xsl:for-each select="//Detail1"> changes by sarita on 30NOV2017--> <!-- <xsl:for-each select="//Detail1"> changes by sarita on 30NOV2017-->
<xsl:variable name="orderStatus"><xsl:value-of select="//Detail1/header_data/status"/></xsl:variable> <xsl:variable name="orderStatus"><xsl:value-of select="//Detail1/header_data/status"/></xsl:variable>
<xsl:variable name="custPo"><xsl:value-of select="//Detail1/header_data/cust_pord"/></xsl:variable> <xsl:variable name="custPo"><xsl:value-of select="//Detail1/header_data/cust_pord"/></xsl:variable>
<xsl:variable name="custPoDate"><xsl:value-of select="//Detail1/header_data/pord_date"/></xsl:variable> <xsl:variable name="custPoDate"><xsl:value-of select="//Detail1/header_data/pord_date"/></xsl:variable>
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
</div> </div>
<!-- <xsl:for-each select="//Detail1"> changes by sarita on 30NOV2017--> <!-- <xsl:for-each select="//Detail1"> changes by sarita on 30NOV2017-->
<div class="dataContainer"> <div class="dataContainer">
<xsl:for-each select="//Detail1/Item"> <xsl:for-each select="//Detail1/Item">
<xsl:variable name="lineStatus"><xsl:value-of select="status"/></xsl:variable> <xsl:variable name="lineStatus"><xsl:value-of select="status"/></xsl:variable>
<xsl:variable name="stkQty"><xsl:value-of select="stk_qty"/></xsl:variable> <xsl:variable name="stkQty"><xsl:value-of select="stk_qty"/></xsl:variable>
...@@ -155,8 +155,22 @@ ...@@ -155,8 +155,22 @@
<xsl:value-of select="quantity"/>&#160;<xsl:value-of select="unit"/><br></br> <xsl:value-of select="quantity"/>&#160;<xsl:value-of select="unit"/><br></br>
Orderd Orderd
</div> </div>
<div class='closeOrderSumryDiv'> <!-- <div class='closeOrderSumryDiv'>
Line shipped completely Line shipped completely
</div> changes by sarita on 11DEC2017-->
<div class='closeOrderSumryDiv'>
<xsl:if test="$lineStatus='H'">
<span>Sales order is on hold</span>
</xsl:if>
<xsl:if test="$lineStatus='P'">
<span>Sales order is pending</span>
</xsl:if>
<xsl:if test="$lineStatus='D'">
<span>Line shipped completely</span>
</xsl:if>
<xsl:if test="$lineStatus='X'">
<span>Sales order is cancelled</span>
</xsl:if>
</div> </div>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
...@@ -165,8 +179,8 @@ ...@@ -165,8 +179,8 @@
</xsl:for-each> </xsl:for-each>
</div> </div>
<!-- <xsl:for-each select="//Detail1"> changes by sarita on 30NOV2017--> <!-- <xsl:for-each select="//Detail1"> changes by sarita on 30NOV2017-->
<TABLE id="invoiceDetails" border="0" width="100%" cellpadding="0" cellspacing="0" style="margin-top:20px;margin-bottom:10px;"> <TABLE id="invoiceDetails" border="0" width="100%" cellpadding="0" cellspacing="0" style="margin-top:20px;margin-bottom:10px;">
<xsl:for-each select="//Detail1/Invoice"> <xsl:for-each select="//Detail1/Invoice">
<xsl:variable name="invoiceId"><xsl:value-of select="invoice_id"/></xsl:variable> <xsl:variable name="invoiceId"><xsl:value-of select="invoice_id"/></xsl:variable>
<xsl:variable name="transMode"><xsl:value-of select="trans_mode"/></xsl:variable> <xsl:variable name="transMode"><xsl:value-of select="trans_mode"/></xsl:variable>
......
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