Commit 41b1d9a7 authored by wansari's avatar wansari

D14IKAT004 added supplier name column


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97452 ce508802-f39f-4f6c-b175-0d175dae99d5
parent fda401ba
...@@ -12,14 +12,20 @@ ...@@ -12,14 +12,20 @@
<body onload="setUserTheme()"> <body onload="setUserTheme()">
<form name="Porder_Finish"> <form name="Porder_Finish">
<table class="tableClass" id="Details" border="0" cellspacing="1" cellpadding="1"> <table class="tableClass" id="Details1" border="0" cellspacing="1" cellpadding="1">
<thead class="table-head"> <thead class="table-head">
<tr> <tr>
<th class="thClass" nowrap="true" valign="bottom" width="20%"> <th class="thClass" nowrap="true" valign="bottom" width="20%">
<strong>Purchase Order</strong> <strong>Purchase Order</strong>
</th> </th>
<th class="thClass" nowrap="true" valign="bottom" width="75%"> <th class="thClass" nowrap="true" valign="bottom" width="20%">
<strong>Description</strong> <strong>Remarks</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="20%">
<strong>Supplier Code</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="20%">
<strong>Supplier Name</strong>
</th> </th>
</tr> </tr>
</thead> </thead>
...@@ -28,6 +34,8 @@ ...@@ -28,6 +34,8 @@
<xsl:for-each select="//finish"> <xsl:for-each select="//finish">
<xsl:variable name="fieldId"><xsl:value-of select="fieldId"/></xsl:variable> <xsl:variable name="fieldId"><xsl:value-of select="fieldId"/></xsl:variable>
<xsl:variable name="fieldValue"><xsl:value-of select="fieldValue"/></xsl:variable> <xsl:variable name="fieldValue"><xsl:value-of select="fieldValue"/></xsl:variable>
<xsl:variable name="supp_code"><xsl:value-of select="supp_code"/></xsl:variable>
<xsl:variable name="supp_name"><xsl:value-of select="supp_name"/></xsl:variable>
<tr> <tr>
<td> <td>
...@@ -35,7 +43,55 @@ ...@@ -35,7 +43,55 @@
</td> </td>
<td> <td>
<xsl:value-of select="fieldValue"/> <xsl:value-of select="fieldValue"/>
</td> </td>
<td>
<xsl:value-of select="supp_code"/>
</td>
<td>
<xsl:value-of select="supp_name"/>
</td>
</tr>
</xsl:for-each>
</tbody>
</table>
<table class="tableClass" id="Details2" border="0" cellspacing="1" cellpadding="1">
<thead class="table-head">
<tr>
<th class="thClass" nowrap="true" valign="bottom" width="20%">
<strong>Item SKU Code</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="20%">
<strong>Quantity</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="20%">
<strong>Total Amount</strong>
</th>
<th class="thClass" nowrap="true" valign="bottom" width="20%">
<strong>Tax Amount</strong>
</th>
</tr>
</thead>
<tbody class="table-body">
<xsl:for-each select="//finish">
<xsl:variable name="item_code"><xsl:value-of select="item_code"/></xsl:variable>
<xsl:variable name="tot_amt"><xsl:value-of select="tot_amt"/></xsl:variable>
<xsl:variable name="supp_code"><xsl:value-of select="supp_code"/></xsl:variable>
<xsl:variable name="tax_amt"><xsl:value-of select="tax_amt"/></xsl:variable>
<xsl:variable name="quantity"><xsl:value-of select="quantity"/></xsl:variable>
<tr>
<td>
<xsl:value-of select="item_code"/>
</td>
<td>
<xsl:value-of select="quantity"/>
</td>
<td>
<xsl:value-of select="tot_amt"/>
</td>
<td>
<xsl:value-of select="tax_amt"/>
</td>
</tr> </tr>
</xsl:for-each> </xsl:for-each>
</tbody> </tbody>
......
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