Commit 2dc0f44e authored by jshaikh's avatar jshaikh

updated with important information to be displayed

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@171362 ce508802-f39f-4f6c-b175-0d175dae99d5
parent cfa8b09f
<?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" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/> <xsl:template match="/">
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html> <html>
<head> <head>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="/ibase/webitm/css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="/ibase/E12MOBILE/css/hr_portal1.css"></link>
<style type="text/css"> <style type="text/css">
.tTitle1
{
text-align:center;
}
.tHeaderD1
{
text-align:right;
}
.tTitleD1
{
text-align:center;
}
.numberData
{
text-align:right;
}
.editDisplayClass
{readOnly:true;border :inset 1;COLOR:BLACK ;BACKGROUND:#FFFFD9; TEXT-ALIGN:left;FONT:
8ptarial; width:auto;};
.editDisplayRemarkClass
{readOnly:true;border :inset 1;COLOR:black ; BACKGROUND:#FFFFD9; TEXT-ALIGN:left;FONT:
7ptarial;};
.editDisplayrightClass
{readOnly:true;border :inset 1;COLOR:black ; TEXT-ALIGN:right;FONT:8ptarial;};
.editDisplayecnterClass
{readOnly:true;border :inset 1;COLOR:white ;
BACKGROUND:#5b7290;TEXT-ALIGN:center;FONT:8ptarial;};
.displayCenterClass
{readOnly:true;border :inset 1;COLOR:#DC143C;
BACKGROUND:#CCCCFF;TEXT-ALIGN:center;FONT:10ptarial;};
.displayCenterClass2
{readOnly:true;border :inset 1;COLOR:#0000CD;
BACKGROUND:#E0FFFF;TEXT-ALIGN:center;FONT:10ptarial;};
.editDisplayColumnClass{readOnly:true;color:#555; TEXT-ALIGN:left;
padding:5px; font-size:16px; font-weight:normal;}
.editDisplayheaderClass{readOnly:true;color:#000; TEXT-ALIGN:left;
padding:5px; font-weight:normal; font-size:14px;
vertical-align:top;}
.editDisplayrightClass{readOnly:true;border :inset 1;COLOR:black ; BACKGROUND:#FFFFD9;TEXT-ALIGN:right;
font-weight:normal;}
.editDisplayecnterClass{readOnly:true; color:#5fdeb2; TEXT-ALIGN:left; font-size:18px; padding:5px 0;
font-weight:normal;}
.editDisplayecnterClass2{readOnly:true;border :inset 1;COLOR:black ; TEXT-ALIGN:center; font-weight:normal;}
.editDisplayClass{background-color: transparent
!important;readOnly:true;color:#555; TEXT-ALIGN:left; padding:5px;
font-weight:normal; font-size:14px;}
.editDisplayecnterClass1 {readOnly:true; color:#5fdeb2; TEXT-ALIGN:left; font-size:16px;
padding:10px 0 0 0;}
.editDisplayecnterClass3 {readOnly:true; color:#5fdeb2; TEXT-ALIGN:left; font-size:16px;
padding:10px 0 0 0;}
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF; .tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px /*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;} solid #d9d9d9;}
...@@ -68,331 +23,197 @@ ...@@ -68,331 +23,197 @@
font-size: 11px; font-size: 11px;
font-weight: normal; font-weight: normal;
} }
.tableClass1 {
margin-bottom: 5px;
width: 100%;
background-color: #FFF;
border-LEFT: 1px solid #d9d9d9;
border-top: 1px solid #d9d9d9;
}
.tableClass1 td {
border-bottom: 1px solid #d9d9d9;
border-right: 1px solid #d9d9d9;
font-size: 14px;
line-height: 18px;
padding: 5px;
}
</style> </style>
</head> </head>
<body> <body>
<input type="hidden" value="salesreturn_retn" name="OBJ_NAME" id="OBJ_NAME" /> <INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='salesreturn_retn'/>
<input type="hidden" value="2" name="PAGE_CONTEXT" id="PAGE_CONTEXT" /> <INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<input type="hidden" value="1" name="OBJ_CONTEXT" id="OBJ_CONTEXT" /> <INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<form name="SalesReturn"> <INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<table cellSpacing="0" cellPadding="0" width="100%" border="0"> <INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<tbody>
<tr>
<td colSpan="4" class="editDisplayColumnClass">
<font size="4">
Sales Return
</font>
</td>
</tr>
</tbody>
</table>
<xsl:for-each select="//Detail1"> <xsl:for-each select="//Detail1">
<table class="tableClass tbletopbrd" cellSpacing="0" cellPadding="0" width="100%" border="0"> <TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<TBODY> <tr>
<xsl:variable name="dbID"> <td colspan="3" >
<xsl:value-of select="@dbID" /> <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
</xsl:variable> <tr>
<xsl:variable name="wf_status"> <td class="tLabelDataD3" width="50%" style="text-align:left;" >
<xsl:value-of select="wf_status" />
</xsl:variable>
<xsl:variable name="tran_id">
<xsl:value-of select="tran_id" />
</xsl:variable>
<xsl:variable name="tran_date">
<xsl:value-of select="tran_date" />
</xsl:variable>
<xsl:variable name="claim_date">
<xsl:value-of select="claim_date" />
</xsl:variable>
<xsl:variable name="item_code">
<xsl:value-of select="item_code" />
</xsl:variable>
<xsl:variable name="descr">
<xsl:value-of select="descr" />
</xsl:variable>
<xsl:variable name="reas_code">
<xsl:value-of select="reas_code" />
</xsl:variable>
<xsl:variable name="reason_descr">
<xsl:value-of select="reason_descr" />
</xsl:variable>
<xsl:variable name="item_ser">
<xsl:value-of select="item_ser" />
</xsl:variable>
<xsl:variable name="itemser_descr">
<xsl:value-of select="itemser_descr" />
</xsl:variable>
<xsl:variable name="cust_code">
<xsl:value-of select="cust_code" />
</xsl:variable>
<xsl:variable name="cust_name">
<xsl:value-of select="cust_name" />
</xsl:variable>
<xsl:variable name="site_code">
<xsl:value-of select="site_code" />
</xsl:variable>
<xsl:variable name="site_descr">
<xsl:value-of select="site_descr" />
</xsl:variable>
<xsl:variable name="invoice_id">
<xsl:value-of select="invoice_id" />
</xsl:variable>
<xsl:variable name="cust_code__dlv">
<xsl:value-of select="cust_code__dlv" />
</xsl:variable>
<xsl:variable name="cust_name__dlv">
<xsl:value-of select="cust_name__dlv" />
</xsl:variable>
<xsl:variable name="ret_opt">
<xsl:value-of select="ret_opt" />
</xsl:variable>
<xsl:variable name="full_ret">
<xsl:value-of select="full_ret" />
</xsl:variable>
<xsl:variable name="ret_ref">
<xsl:value-of select="ret_ref" />
</xsl:variable>
<xsl:variable name="site_code__dlv">
<xsl:value-of select="site_code__dlv" />
</xsl:variable>
<xsl:variable name="dlv_location">
<xsl:value-of select="dlv_location" />
</xsl:variable>
<xsl:variable name="remarks">
<xsl:value-of select="remarks" />
</xsl:variable>
<xsl:variable name="process_fee">
<xsl:value-of select="process_fee" />
</xsl:variable>
<TR>
<td class="editDisplayClass" width="50%">
<font face="Times New Roman">
<font size="2"> <font size="2">
<strong>Ref. Invoice Id : </strong> Ref. Invoice Id :
<b><xsl:value-of select="invoice_id" /></b>
</font> </font>
</td>
<td NOWRAP="TRUE" class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2"> <font size="2">
Full Return :
<b><xsl:for-each select="//Detail2">
<xsl:choose> <xsl:choose>
<xsl:when test="normalize-space($invoice_id)= ''"> <xsl:when test="full_ret= 'Y' ">
NA Yes
</xsl:when>
<xsl:when test="full_ret='N' ">
No
</xsl:when> </xsl:when>
<xsl:otherwise>
<xsl:value-of select="invoice_id" />
</xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:for-each></b>
</font> </font>
</font>
</td>
<td class="editDisplayClass" style="text-align: right;" width="50%">
<font face="Times New Roman">
<font size="2">
<b>Claim Date : </b>
<xsl:value-of select="claim_date" />
</font>
</font>
</td>
</TR>
<tr>
<td class="editDisplayheaderClass"
style="text-align: center;font-size: 18px;border: 0px;padding-bottom: 0px;" colspan="2">
Sales Return No :
<xsl:value-of select="tran_id" />
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="date" style="text-align: center;border: 0px;padding-top: 0px;" width="100%" colspan="2"> <td colspan="3" NOWRAP = "TRUE" class = "tLabelDataD3" >
<xsl:value-of select="tran_date"/>
<div class = "tLabelDataD3" >
<font size="4">
Sales Return :
<b><xsl:value-of select="tran_id" /></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="2">
<b><xsl:value-of select="tran_date"/></b>
</font>
</div>
</td> </td>
</tr> </tr>
&#160;
<tr> <tr>
<td class="editDisplayClass"> <td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2"> <font size="2">
<strong>Site : </strong> Site :
<xsl:value-of select="site_code" /> <xsl:for-each select="//Detail1">
<b><xsl:value-of select="site_descr" />&#160;
(<xsl:value-of select="site_code" />)</b>
</xsl:for-each>
</font> </font>
</td> </td>
<td class="editDisplayClass" style="text-align: right;"> <td NOWRAP="TRUE" class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2"> <font size="2">
<strong>Item Series : </strong>&#160;<xsl:value-of select="item_ser" /> Customer :
<b><xsl:value-of select="cust_name" />&#160;
(<xsl:value-of select="cust_code" />)</b>
</font> </font>
</td> </td>
</tr> </tr>
<tr> </TABLE>
<td class="editDisplayClass" colspan = "2">
<font size="2"><strong>Customer : </strong>
<xsl:value-of select="cust_code"/>
<!--, <xsl:value-of select="cust_name" />-->
</font>
</td> </td>
</tr> </tr>
</TBODY> <br/>
</table> <tr>
<br></br> <td colspan="3">
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tbody> <tr>
<tr border="1"> <td class="cellttl1">Delivery to : </td>
<td class="editDisplayheaderClass"> <td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<font face="Times New Roman" size="2">Return Type</font> <xsl:value-of select="cust_name__dlv"/>&#160;
</td> (<xsl:value-of select="cust_code__dlv"/>)<br/>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Adj Misc Crn</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Delivery Site</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Cust Reference</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Full Return</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Return Option</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Net Amount</font>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;"> <td class="cellttl1">Reason : </td>
<font face="Times New Roman" size="2"> <td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select="tran_type" /> <xsl:for-each select="//Detail1">
</font> <xsl:value-of select="reason_descr" />&#160;
</td> (<xsl:value-of select="reas_code" />)
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;"> </xsl:for-each>
<font face="Times New Roman" size="2">
<xsl:value-of select="adj_misc_crn" />
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="site_code__dlv" />
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="cust_ref" />
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:if test="full_ret='Y'">
<label>Yes</label>
</xsl:if>
<xsl:if test="full_ret='N'">
<label>No</label>
</xsl:if>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:if test="ret_opt='R'">
<label>Replaced</label>
</xsl:if>
<xsl:if test="ret_opt='C'">
<label>Credit Note</label>
</xsl:if>
<xsl:if test="ret_opt='D'">
<label>Debit Note (Replacement)</label>
</xsl:if>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt,'#####0.00')" />
</font>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="editDisplayheaderClass" colSpan="3" width="1%" style="text-align: left;font-size: 18px;"> <td class="cellttl1">Return option : </td>
<font face="Times New Roman" size="2"> <td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
Customer Bill: <xsl:choose>
<xsl:value-of select="cust_code__bill" /> <xsl:when test="ret_opt= 'R' ">
</font> Replaced
</td> </xsl:when>
<td class="editDisplayheaderClass" colSpan="4" width="1%" style="text-align: left;font-size: 18px;"> <xsl:when test="ret_opt='C' ">
<font face="Times New Roman" size="2"> Credit Note
Customer Dlv: </xsl:when>
<xsl:value-of select="cust_code__dlv" />, <xsl:when test="ret_opt='D' ">
&#160; Debit Note (Replacement)
<xsl:value-of select="cust_name__dlv" /> </xsl:when>
</font> </xsl:choose>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="editDisplayheaderClass" colSpan="3" width="1%" style="text-align: left;font-size: 18px;"> <td class="cellttl1">Item series : </td>
<font face="Times New Roman" size="2"> <td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
Reason Code : <xsl:value-of select= "item_ser"/>
<xsl:value-of select="reas_code" />&#160;
<xsl:value-of select="reason_descr" />
</font>
</td> </td>
<td class="editDisplayheaderClass" colSpan="4" width="1%" style="text-align: left;font-size: 18px;"> </tr>
<font face="Times New Roman" size="2"> <tr>
Return Reference : <td class="cellttl1">Return reference : </td>
<td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select="ret_ref" /> <xsl:value-of select="ret_ref" />
</font>
</td> </td>
</tr> </tr>
<tr> <!--<tr>
<td class="editDisplayRemarkClass" style = "padding: 5px;" colspan = "8"> <td class="cellttl1">Outstanding amount : </td>
<font face="Times New Roman"> <td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<font size="2">Remarks: <xsl:value-of select="remarks"/></font> <xsl:value-of select="os_amt" />
</font>
</td> </td>
</tr> </tr>
</tbody>
</table>
</xsl:for-each>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td class="editDisplayheaderClass" width="1%"> <td class="cellttl1">Overdue amount : </td>
Sales Return Details <td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select="ovos_amt" />
</td> </td>
</tr> </tr>-->
</table> </table>
</td>
</tr>
</TABLE>
</xsl:for-each>
<br/><br/>
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0"> <table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody> <tbody>
<xsl:for-each select="//Detail1"> <xsl:for-each select="//Detail1">
<tr border="1"> <tr border="1">
<td class="editDisplayheaderClass"> <td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Sr No</font> <font face="Times New Roman" size="2">Sr no</font>
</td> </td>
<td class="editDisplayheaderClass"> <td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Item Code</font> <font face="Times New Roman" size="2">Item</font>
</td> </td>
<td class="editDisplayheaderClass"> <td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Description </font> <font face="Times New Roman" size="2">Batch no</font>
</td> </td>
<td class="editDisplayheaderClass"> <td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Unit <font face="Times New Roman" size="2">Quantity</font>
</font>
</td> </td>
<td class="editDisplayheaderClass"> <td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Quantity</font> <font face="Times New Roman" size="2">Unit</font>
</td> </td>
<td class="editDisplayheaderClass"> <td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Rate <font face="Times New Roman" size="2">Rate<br/>(<xsl:value-of select="curr_code"/>)</font>
</font>
</td> </td>
<td class="editDisplayheaderClass"> <td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Amount <font face="Times New Roman" size="2">Discount<br/>(<xsl:value-of select="curr_code"/>)</font>
</font> </td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Tax amount<br/>(<xsl:value-of select="curr_code"/>)</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Net amount<br/>(<xsl:value-of select="curr_code"/>)</font>
</td> </td>
<!--<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Total Amount</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Delivery Date</font>
</td>-->
</tr> </tr>
</xsl:for-each> </xsl:for-each>
<xsl:for-each select="//Detail2"> <xsl:for-each select="//Detail2">
...@@ -406,68 +227,92 @@ ...@@ -406,68 +227,92 @@
<xsl:variable name="line_no__inv"> <xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" /> <xsl:value-of select="line_no__inv" />
</xsl:variable> </xsl:variable>
<xsl:variable name="invoice_id">
<xsl:value-of select="invoice_id" />
</xsl:variable>
<xsl:variable name="item_code">
<xsl:value-of select="item_code" />
</xsl:variable>
<xsl:variable name="item_descr">
<xsl:value-of select="item_descr" />
</xsl:variable>
<xsl:variable name="quantity">
<xsl:value-of select="quantity" />
</xsl:variable>
<xsl:variable name="rate">
<xsl:value-of select="rate" />
</xsl:variable>
<xsl:variable name="rate__clg">
<xsl:value-of select="rate__clg" />
</xsl:variable>
<xsl:variable name="pre_item_code">
<xsl:value-of select="preceding-sibling::Detail2[1]/item_code" />
</xsl:variable>
<tr> <tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;"> <td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2"> <font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/> <xsl:value-of select="line_no"/>
</font> </font>
</td> </td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;"> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2"> <font face="Times New Roman" size="2">
<xsl:value-of select="item_code"/> <xsl:for-each select="//Detail2">
<xsl:value-of select="item_descr" />&#160;
(<xsl:value-of select="item_code" />)
</xsl:for-each>
</font> </font>
</td> </td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;"> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2"> <font face="Times New Roman" size="2">
<xsl:value-of select="item_descr"/> <xsl:for-each select="//Detail2">
<xsl:value-of select="lot_no" />
</xsl:for-each>
</font> </font>
</td> </td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;"> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2"> <font face="Times New Roman" size="2">
<xsl:value-of select="unit"/> <xsl:for-each select="//Detail2">
<xsl:value-of select="quantity" />
</xsl:for-each>
</font> </font>
</td> </td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;"> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2"> <font face="Times New Roman" size="2">
<xsl:value-of select="quantity"/> <xsl:for-each select="//Detail2">
<xsl:value-of select="unit" />
</xsl:for-each>
</font> </font>
</td> </td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;"> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2"> <font face="Times New Roman" size="2">
<xsl:value-of select="rate"/> <xsl:for-each select="//Detail2">
<!--<xsl:value-of select="rate" />-->
<xsl:value-of select="format-number(rate, '##,###,###,###,###')"/>
</xsl:for-each>
</font> </font>
</td> </td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;"> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="discount" />-->
<xsl:value-of select="format-number(discount, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="format-number(tax_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2"> <font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/> <xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font> </font>
</td> </td>
<!--<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="format-number(tot_amt_o, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="dsp_date_o" />
</xsl:for-each>
</font>
</td>-->
</tr> </tr>
</xsl:for-each> </xsl:for-each>
</tbody> </tbody>
</table> </table>
</form>
</body> </body>
</html> </html>
</xsl:template> </xsl:template>
......
<?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" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/> <xsl:template match="/">
<xsl:decimal-format NaN="0"/>
<xsl:template match="/">
<html> <html>
<head> <head>
<link type="text/css" rel="stylesheet" href="css/workflowsign.css"></link>
<link type="text/css" rel="stylesheet" href="css/expandy.css"></link>
<link type="text/css" rel="stylesheet" href="css/fonts.css"/>
<link type="text/css" rel="stylesheet" href="css/hr_portal1.css"></link>
<style type="text/css"> <style type="text/css">
.tTitle1
{
text-align:center;
}
.tHeaderD1
{
text-align:right;
}
.tTitleD1
{
text-align:center;
}
.numberData
{
text-align:right;
}
.editDisplayClass
{readOnly:true;border :inset 1;COLOR:BLACK ;BACKGROUND:#FFFFD9; TEXT-ALIGN:left;FONT:
8ptarial; width:auto;};
.editDisplayRemarkClass
{readOnly:true;border :inset 1;COLOR:black ; BACKGROUND:#FFFFD9; TEXT-ALIGN:left;FONT:
7ptarial;};
.editDisplayrightClass
{readOnly:true;border :inset 1;COLOR:black ; TEXT-ALIGN:right;FONT:8ptarial;};
.editDisplayecnterClass
{readOnly:true;border :inset 1;COLOR:white ;
BACKGROUND:#5b7290;TEXT-ALIGN:center;FONT:8ptarial;};
.displayCenterClass
{readOnly:true;border :inset 1;COLOR:#DC143C;
BACKGROUND:#CCCCFF;TEXT-ALIGN:center;FONT:10ptarial;};
.displayCenterClass2
{readOnly:true;border :inset 1;COLOR:#0000CD;
BACKGROUND:#E0FFFF;TEXT-ALIGN:center;FONT:10ptarial;};
.editDisplayColumnClass{readOnly:true;color:#555; TEXT-ALIGN:left;
padding:5px; font-size:16px; font-weight:normal;}
.editDisplayheaderClass{readOnly:true;color:#000; TEXT-ALIGN:left;
padding:5px; font-weight:normal; font-size:14px;
vertical-align:top;}
.editDisplayrightClass{readOnly:true;border :inset 1;COLOR:black ; BACKGROUND:#FFFFD9;TEXT-ALIGN:right;
font-weight:normal;}
.editDisplayecnterClass{readOnly:true; color:#5fdeb2; TEXT-ALIGN:left; font-size:18px; padding:5px 0;
font-weight:normal;}
.editDisplayecnterClass2{readOnly:true;border :inset 1;COLOR:black ; TEXT-ALIGN:center; font-weight:normal;}
.editDisplayClass{background-color: transparent
!important;readOnly:true;color:#555; TEXT-ALIGN:left; padding:5px;
font-weight:normal; font-size:14px;}
.editDisplayecnterClass1 {readOnly:true; color:#5fdeb2; TEXT-ALIGN:left; font-size:16px;
padding:10px 0 0 0;}
.editDisplayecnterClass3 {readOnly:true; color:#5fdeb2; TEXT-ALIGN:left; font-size:16px;
padding:10px 0 0 0;}
.tableClass {margin-bottom:10px; width:100%; background-color:#FFF; .tableClass {margin-bottom:10px; width:100%; background-color:#FFF;
/*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px /*padding:10px;*/ border-left: 1px solid #d9d9d9; border-top: 1px
solid #d9d9d9;} solid #d9d9d9;}
...@@ -68,331 +23,197 @@ ...@@ -68,331 +23,197 @@
font-size: 11px; font-size: 11px;
font-weight: normal; font-weight: normal;
} }
.tableClass1 {
margin-bottom: 5px;
width: 100%;
background-color: #FFF;
border-LEFT: 1px solid #d9d9d9;
border-top: 1px solid #d9d9d9;
}
.tableClass1 td {
border-bottom: 1px solid #d9d9d9;
border-right: 1px solid #d9d9d9;
font-size: 14px;
line-height: 18px;
padding: 5px;
}
</style> </style>
</head> </head>
<body> <body>
<input type="hidden" value="salesreturn_retn" name="OBJ_NAME" id="OBJ_NAME" /> <INPUT type="hidden" name="OBJ_NAME" id="OBJ_NAME" value='salesreturn_retn'/>
<input type="hidden" value="2" name="PAGE_CONTEXT" id="PAGE_CONTEXT" /> <INPUT type='hidden' name='OBJ_CONTEXT' value='1'/>
<input type="hidden" value="1" name="OBJ_CONTEXT" id="OBJ_CONTEXT" /> <INPUT type='hidden' name='EDIT_FLAG' value='A'/>
<form name="SalesReturn"> <INPUT type='hidden' name='DOM_ID' value='{@domID}'/>
<table cellSpacing="0" cellPadding="0" width="100%" border="0"> <INPUT type='hidden' name='DB_ID' value='{@dbID}'/>
<tbody>
<tr>
<td colSpan="4" class="editDisplayColumnClass">
<font size="4">
Sales Return
</font>
</td>
</tr>
</tbody>
</table>
<xsl:for-each select="//Detail1"> <xsl:for-each select="//Detail1">
<table class="tableClass tbletopbrd" cellSpacing="0" cellPadding="0" width="100%" border="0"> <TABLE name="main" id="main" class="tLabel" style="position:relative; width:100%; border-top: #5fdeb2 3px solid;" cellspacing="0" cellpadding="0" >
<TBODY> <tr>
<xsl:variable name="dbID"> <td colspan="3" >
<xsl:value-of select="@dbID" /> <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="tblenew">
</xsl:variable> <tr>
<xsl:variable name="wf_status"> <td class="tLabelDataD3" width="50%" style="text-align:left;" >
<xsl:value-of select="wf_status" />
</xsl:variable>
<xsl:variable name="tran_id">
<xsl:value-of select="tran_id" />
</xsl:variable>
<xsl:variable name="tran_date">
<xsl:value-of select="tran_date" />
</xsl:variable>
<xsl:variable name="claim_date">
<xsl:value-of select="claim_date" />
</xsl:variable>
<xsl:variable name="item_code">
<xsl:value-of select="item_code" />
</xsl:variable>
<xsl:variable name="descr">
<xsl:value-of select="descr" />
</xsl:variable>
<xsl:variable name="reas_code">
<xsl:value-of select="reas_code" />
</xsl:variable>
<xsl:variable name="reason_descr">
<xsl:value-of select="reason_descr" />
</xsl:variable>
<xsl:variable name="item_ser">
<xsl:value-of select="item_ser" />
</xsl:variable>
<xsl:variable name="itemser_descr">
<xsl:value-of select="itemser_descr" />
</xsl:variable>
<xsl:variable name="cust_code">
<xsl:value-of select="cust_code" />
</xsl:variable>
<xsl:variable name="cust_name">
<xsl:value-of select="cust_name" />
</xsl:variable>
<xsl:variable name="site_code">
<xsl:value-of select="site_code" />
</xsl:variable>
<xsl:variable name="site_descr">
<xsl:value-of select="site_descr" />
</xsl:variable>
<xsl:variable name="invoice_id">
<xsl:value-of select="invoice_id" />
</xsl:variable>
<xsl:variable name="cust_code__dlv">
<xsl:value-of select="cust_code__dlv" />
</xsl:variable>
<xsl:variable name="cust_name__dlv">
<xsl:value-of select="cust_name__dlv" />
</xsl:variable>
<xsl:variable name="ret_opt">
<xsl:value-of select="ret_opt" />
</xsl:variable>
<xsl:variable name="full_ret">
<xsl:value-of select="full_ret" />
</xsl:variable>
<xsl:variable name="ret_ref">
<xsl:value-of select="ret_ref" />
</xsl:variable>
<xsl:variable name="site_code__dlv">
<xsl:value-of select="site_code__dlv" />
</xsl:variable>
<xsl:variable name="dlv_location">
<xsl:value-of select="dlv_location" />
</xsl:variable>
<xsl:variable name="remarks">
<xsl:value-of select="remarks" />
</xsl:variable>
<xsl:variable name="process_fee">
<xsl:value-of select="process_fee" />
</xsl:variable>
<TR>
<td class="editDisplayClass" width="50%">
<font face="Times New Roman">
<font size="2"> <font size="2">
<strong>Ref. Invoice Id : </strong> Ref. invoice id :
<b><xsl:value-of select="invoice_id" /></b>
</font> </font>
</td>
<td NOWRAP="TRUE" class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2"> <font size="2">
Full return :
<b><xsl:for-each select="//Detail2">
<xsl:choose> <xsl:choose>
<xsl:when test="normalize-space($invoice_id)= ''"> <xsl:when test="full_ret= 'Y' ">
NA Yes
</xsl:when>
<xsl:when test="full_ret='N' ">
No
</xsl:when> </xsl:when>
<xsl:otherwise>
<xsl:value-of select="invoice_id" />
</xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:for-each></b>
</font> </font>
</font>
</td>
<td class="editDisplayClass" style="text-align: right;" width="50%">
<font face="Times New Roman">
<font size="2">
<b>Claim Date : </b>
<xsl:value-of select="claim_date" />
</font>
</font>
</td>
</TR>
<tr>
<td class="editDisplayheaderClass"
style="text-align: center;font-size: 18px;border: 0px;padding-bottom: 0px;" colspan="2">
Sales Return No :
<xsl:value-of select="tran_id" />
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="date" style="text-align: center;border: 0px;padding-top: 0px;" width="100%" colspan="2"> <td colspan="3" NOWRAP = "TRUE" class = "tLabelDataD3" >
<xsl:value-of select="tran_date"/>
<div class = "tLabelDataD3" >
<font size="4">
Sales return :
<b><xsl:value-of select="tran_id" /></b>
</font>
</div>
<div class="empInfoDiv" >
<font size="2">
<b><xsl:value-of select="tran_date"/></b>
</font>
</div>
</td> </td>
</tr> </tr>
&#160;
<tr> <tr>
<td class="editDisplayClass"> <td class="tLabelDataD3" width="50%" style="text-align:left;" >
<font size="2"> <font size="2">
<strong>Site : </strong> Site :
<xsl:value-of select="site_code" /> <xsl:for-each select="//Detail1">
<b><xsl:value-of select="site_descr" />&#160;
(<xsl:value-of select="site_code" />)</b>
</xsl:for-each>
</font> </font>
</td> </td>
<td class="editDisplayClass" style="text-align: right;"> <td NOWRAP="TRUE" class="tLabelDataD3" width="50%" style="text-align:right;">
<font size="2"> <font size="2">
<strong>Item Series : </strong>&#160;<xsl:value-of select="item_ser" /> Customer :
<b><xsl:value-of select="cust_name" />&#160;
(<xsl:value-of select="cust_code" />)</b>
</font> </font>
</td> </td>
</tr> </tr>
<tr> </TABLE>
<td class="editDisplayClass" colspan = "2">
<font size="2"><strong>Customer : </strong>
<xsl:value-of select="cust_code"/>
<!--, <xsl:value-of select="cust_name" />-->
</font>
</td> </td>
</tr> </tr>
</TBODY> <br/>
</table> <tr>
<br></br> <td colspan="3">
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tTitleD" >
<tbody> <tr>
<tr border="1"> <td class="cellttl1">Delivery to : </td>
<td class="editDisplayheaderClass"> <td class="tLabelDataD1" style="text-align:left">
<font face="Times New Roman" size="2">Return Type</font> <xsl:value-of select="cust_name__dlv"/>&#160;
</td> (<xsl:value-of select="cust_code__dlv"/>)<br/>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Adj Misc Crn</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Delivery Site</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Cust Reference</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Full Return</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Return Option</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Net Amount</font>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;"> <td class="cellttl1">Reason : </td>
<font face="Times New Roman" size="2"> <td class="tLabelDataD1" style="text-align:left">
<xsl:value-of select="tran_type" /> <xsl:for-each select="//Detail1">
</font> <xsl:value-of select="reason_descr" />&#160;
</td> (<xsl:value-of select="reas_code" />)
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;"> </xsl:for-each>
<font face="Times New Roman" size="2">
<xsl:value-of select="adj_misc_crn" />
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="site_code__dlv" />
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="cust_ref" />
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:if test="full_ret='Y'">
<label>Yes</label>
</xsl:if>
<xsl:if test="full_ret='N'">
<label>No</label>
</xsl:if>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:if test="ret_opt='R'">
<label>Replaced</label>
</xsl:if>
<xsl:if test="ret_opt='C'">
<label>Credit Note</label>
</xsl:if>
<xsl:if test="ret_opt='D'">
<label>Debit Note (Replacement)</label>
</xsl:if>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt,'#####0.00')" />
</font>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="editDisplayheaderClass" colSpan="3" width="1%" style="text-align: left;font-size: 18px;"> <td class="cellttl1">Return option : </td>
<font face="Times New Roman" size="2"> <td class="tLabelDataD1" style="text-align:left">
Customer Bill: <xsl:choose>
<xsl:value-of select="cust_code__bill" /> <xsl:when test="ret_opt= 'R' ">
</font> Replaced
</td> </xsl:when>
<td class="editDisplayheaderClass" colSpan="4" width="1%" style="text-align: left;font-size: 18px;"> <xsl:when test="ret_opt='C' ">
<font face="Times New Roman" size="2"> Credit note
Customer Dlv: </xsl:when>
<xsl:value-of select="cust_code__dlv" />, <xsl:when test="ret_opt='D' ">
&#160; Debit note (replacement)
<xsl:value-of select="cust_name__dlv" /> </xsl:when>
</font> </xsl:choose>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="editDisplayheaderClass" colSpan="3" width="1%" style="text-align: left;font-size: 18px;"> <td class="cellttl1">Item series : </td>
<font face="Times New Roman" size="2"> <td class="tLabelDataD1" style="text-align:left">
Reason Code : <xsl:value-of select= "item_ser"/>
<xsl:value-of select="reas_code" />&#160;
<xsl:value-of select="reason_descr" />
</font>
</td> </td>
<td class="editDisplayheaderClass" colSpan="4" width="1%" style="text-align: left;font-size: 18px;"> </tr>
<font face="Times New Roman" size="2"> <tr>
Return Reference : <td class="cellttl1">Return reference : </td>
<td class="tLabelDataD1" style="text-align:left">
<xsl:value-of select="ret_ref" /> <xsl:value-of select="ret_ref" />
</font>
</td> </td>
</tr> </tr>
<tr> <!--<tr>
<td class="editDisplayRemarkClass" style = "padding: 5px;" colspan = "8"> <td class="cellttl1">Outstanding amount : </td>
<font face="Times New Roman"> <td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<font size="2">Remarks: <xsl:value-of select="remarks"/></font> <xsl:value-of select="os_amt" />
</font>
</td> </td>
</tr> </tr>
</tbody>
</table>
</xsl:for-each>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td class="editDisplayheaderClass" width="1%"> <td class="cellttl1">Overdue amount : </td>
Sales Return Details <td class="tLabelDataD1" NOWRAP="TRUE" style="text-align:left">
<xsl:value-of select="ovos_amt" />
</td> </td>
</tr> </tr>-->
</table> </table>
</td>
</tr>
</TABLE>
</xsl:for-each>
<br/><br/>
<table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0"> <table class="tableClass" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tbody> <tbody>
<xsl:for-each select="//Detail1"> <xsl:for-each select="//Detail1">
<tr border="1"> <tr border="1">
<td class="editDisplayheaderClass"> <td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Sr No</font> <font face="Times New Roman" size="2">Sr no</font>
</td> </td>
<td class="editDisplayheaderClass"> <td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Item Code</font> <font face="Times New Roman" size="2">Item</font>
</td> </td>
<td class="editDisplayheaderClass"> <td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Description </font> <font face="Times New Roman" size="2">Batch no</font>
</td> </td>
<td class="editDisplayheaderClass"> <td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Unit <font face="Times New Roman" size="2">Quantity</font>
</font>
</td> </td>
<td class="editDisplayheaderClass"> <td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Quantity</font> <font face="Times New Roman" size="2">Unit</font>
</td> </td>
<td class="editDisplayheaderClass"> <td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Rate <font face="Times New Roman" size="2">Rate<br/>(<xsl:value-of select="curr_code"/>)</font>
</font>
</td> </td>
<td class="editDisplayheaderClass"> <td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Amount <font face="Times New Roman" size="2">Discount<br/>(<xsl:value-of select="curr_code"/>)</font>
</font> </td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Tax amount<br/>(<xsl:value-of select="curr_code"/>)</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Net amount<br/>(<xsl:value-of select="curr_code"/>)</font>
</td> </td>
<!--<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Total Amount</font>
</td>
<td class="editDisplayheaderClass">
<font face="Times New Roman" size="2">Delivery Date</font>
</td>-->
</tr> </tr>
</xsl:for-each> </xsl:for-each>
<xsl:for-each select="//Detail2"> <xsl:for-each select="//Detail2">
...@@ -406,68 +227,92 @@ ...@@ -406,68 +227,92 @@
<xsl:variable name="line_no__inv"> <xsl:variable name="line_no__inv">
<xsl:value-of select="line_no__inv" /> <xsl:value-of select="line_no__inv" />
</xsl:variable> </xsl:variable>
<xsl:variable name="invoice_id">
<xsl:value-of select="invoice_id" />
</xsl:variable>
<xsl:variable name="item_code">
<xsl:value-of select="item_code" />
</xsl:variable>
<xsl:variable name="item_descr">
<xsl:value-of select="item_descr" />
</xsl:variable>
<xsl:variable name="quantity">
<xsl:value-of select="quantity" />
</xsl:variable>
<xsl:variable name="rate">
<xsl:value-of select="rate" />
</xsl:variable>
<xsl:variable name="rate__clg">
<xsl:value-of select="rate__clg" />
</xsl:variable>
<xsl:variable name="pre_item_code">
<xsl:value-of select="preceding-sibling::Detail2[1]/item_code" />
</xsl:variable>
<tr> <tr>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;"> <td class="editDisplayColumnClass" style = "padding: 5px;color:#555;">
<font face="Times New Roman" size="2"> <font face="Times New Roman" size="2">
<xsl:value-of select="line_no"/> <xsl:value-of select="line_no"/>
</font> </font>
</td> </td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;"> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2"> <font face="Times New Roman" size="2">
<xsl:value-of select="item_code"/> <xsl:for-each select="//Detail2">
<xsl:value-of select="item_descr" />&#160;
(<xsl:value-of select="item_code" />)
</xsl:for-each>
</font> </font>
</td> </td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;"> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2"> <font face="Times New Roman" size="2">
<xsl:value-of select="item_descr"/> <xsl:for-each select="//Detail2">
<xsl:value-of select="lot_no" />
</xsl:for-each>
</font> </font>
</td> </td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;"> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2"> <font face="Times New Roman" size="2">
<xsl:value-of select="unit"/> <xsl:for-each select="//Detail2">
<xsl:value-of select="quantity" />
</xsl:for-each>
</font> </font>
</td> </td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;"> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2"> <font face="Times New Roman" size="2">
<xsl:value-of select="quantity"/> <xsl:for-each select="//Detail2">
<xsl:value-of select="unit" />
</xsl:for-each>
</font> </font>
</td> </td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;"> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2"> <font face="Times New Roman" size="2">
<xsl:value-of select="rate"/> <xsl:for-each select="//Detail2">
<!--<xsl:value-of select="rate" />-->
<xsl:value-of select="format-number(rate, '##,###,###,###,###')"/>
</xsl:for-each>
</font> </font>
</td> </td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;"> <td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<!--<xsl:value-of select="discount" />-->
<xsl:value-of select="format-number(discount, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="format-number(tax_amt, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2"> <font face="Times New Roman" size="2">
<xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/> <xsl:value-of select="format-number(net_amt, '##,###,###,###,###')"/>
</font> </font>
</td> </td>
<!--<td class="editDisplayColumnClass" style = "padding: 5px;color:#555;" align="right">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail1">
<xsl:value-of select="format-number(tot_amt_o, '##,###,###,###,###')"/>
</xsl:for-each>
</font>
</td>
<td class="editDisplayColumnClass" style="padding: 5px;color:#555;">
<font face="Times New Roman" size="2">
<xsl:for-each select="//Detail2">
<xsl:value-of select="dsp_date_o" />
</xsl:for-each>
</font>
</td>-->
</tr> </tr>
</xsl:for-each> </xsl:for-each>
</tbody> </tbody>
</table> </table>
</form>
</body> </body>
</html> </html>
</xsl:template> </xsl:template>
......
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