Commit bc642ef3 authored by asonawane's avatar asonawane

changes made on view and css


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92455 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 65bf2762
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
<xsl:template match="/"> <xsl:template match="/">
<html> <html>
<head> <head>
<link type="text/css" rel="stylesheet" href="/ibase/css/TARO_FINANCE.css"/> <link type="text/css" rel="stylesheet" href="/ibase/css/workflowsign.css"/>
</head> </head>
<body> <body>
<div> <div>
<table border="1" width="100%" class="tTableHeader"> <table width="100%" class="tTableHeader">
<tr> <tr>
<td colspan="4" align="center" class="tTitle">Credit Note</td> <td colspan="4" align="center" class="tTitle">Credit Note</td>
</tr> </tr>
...@@ -27,22 +27,18 @@ ...@@ -27,22 +27,18 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td colspan="2">
<span class="tLabel">Reference Series : </span> <span class="tLabel">Reference Series : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/tran_ser"/></span> <span class="tLabelData"><xsl:value-of select="//Detail1/tran_ser"/></span>
</td> </td>
<td> <td>
<span class="tLabel">Currency Code : </span> <span class="tLabel">Amount : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/curr_code"/></span> <span class="tLabelData"><xsl:value-of select="//Detail1/amount"/> [<xsl:value-of select="//Detail1/curr_code"/>]</span>
</td> </td>
<td> <td>
<span class="tLabel">Exchange Rate : </span> <span class="tLabel">Exchange Rate : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/exch_rate"/></span> <span class="tLabelData"><xsl:value-of select="//Detail1/exch_rate"/></span>
</td> </td>
<td>
<span class="tLabel">Amount : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/amount"/></span>
</td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
...@@ -75,28 +71,28 @@ ...@@ -75,28 +71,28 @@
<xsl:if test="//Detail2/line_no!=''"> <xsl:if test="//Detail2/line_no!=''">
<div> <div>
<table border="1" width="100%" class="tTableDetail"> <table width="100%" class="tTableDetail">
<tr> <tr>
<td colspan="7" align="center" class="tTitle">Pay Detail</td> <td colspan="7" align="center" class="tTitleD">Pay Detail</td>
</tr> </tr>
<tr> <tr>
<td class="tLabel">Line No</td> <td class="tLabelD">Line No</td>
<td class="tLabel">Reason Code</td> <td class="tLabelD">Reason Code</td>
<td class="tLabel">DR/CR Amount</td> <td class="tLabelD">DR/CR Amount</td>
<td class="tLabel">Tax Amount</td> <td class="tLabelD">Tax Amount</td>
<td class="tLabel">Net Amount</td> <td class="tLabelD">Net Amount</td>
<td class="tLabel">Account</td> <td class="tLabelD">Account</td>
<td class="tLabel">Cost center</td> <td class="tLabelD">Cost center</td>
</tr> </tr>
<xsl:for-each select="//Detail2"> <xsl:for-each select="//Detail2">
<tr> <tr>
<td class="tLabelData"><xsl:value-of select="line_no"/></td> <td class="tLabelDataD"><xsl:value-of select="line_no"/></td>
<td class="tLabelData"><xsl:value-of select="reas_code"/></td> <td class="tLabelDataD"><xsl:value-of select="reas_code"/></td>
<td class="tLabelData"><xsl:value-of select="drcr_amt"/></td> <td class="tLabelDataD tAmountFields"><xsl:value-of select="drcr_amt"/></td>
<td class="tLabelData"><xsl:value-of select="tax_amt"/></td> <td class="tLabelDataD tAmountFields"><xsl:value-of select="tax_amt"/></td>
<td class="tLabelData"><xsl:value-of select="net_amt"/></td> <td class="tLabelDataD tAmountFields"><xsl:value-of select="net_amt"/></td>
<td class="tLabelData"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td> <td class="tLabelDataD"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="cctr_code"/></td> <td class="tLabelDataD"><xsl:value-of select="cctr_code"/></td>
</tr> </tr>
</xsl:for-each> </xsl:for-each>
</table> </table>
...@@ -107,24 +103,24 @@ ...@@ -107,24 +103,24 @@
<xsl:if test="//Detail3/line_no!=''"> <xsl:if test="//Detail3/line_no!=''">
<div> <div>
<table border="1" width="100%" class="tTableDetail"> <table width="100%" class="tTableDetail">
<tr> <tr>
<td colspan="5" align="center" class="tTitle">Pay Account</td> <td colspan="5" align="center" class="tTitleD">Pay Account</td>
</tr> </tr>
<tr> <tr>
<td class="tLabel">Line No</td> <td class="tLabelD">Line No</td>
<td class="tLabel">Analysis Code</td> <td class="tLabelD">Analysis Code</td>
<td class="tLabel">Amount</td> <td class="tLabelD">Amount</td>
<td class="tLabel">Account</td> <td class="tLabelD">Account</td>
<td class="tLabel">Cost center</td> <td class="tLabelD">Cost center</td>
</tr> </tr>
<xsl:for-each select="//Detail3"> <xsl:for-each select="//Detail3">
<tr> <tr>
<td class="tLabelData"><xsl:value-of select="line_no"/></td> <td class="tLabelDataD"><xsl:value-of select="line_no"/></td>
<td class="tLabelData"><xsl:value-of select="anal_code"/></td> <td class="tLabelDataD"><xsl:value-of select="anal_code"/></td>
<td class="tLabelData"><xsl:value-of select="amount"/></td> <td class="tLabelDataD tAmountFields"><xsl:value-of select="amount"/></td>
<td class="tLabelData"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td> <td class="tLabelDataD"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="cctr_code"/></td> <td class="tLabelDataD"><xsl:value-of select="cctr_code"/></td>
</tr> </tr>
</xsl:for-each> </xsl:for-each>
</table> </table>
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
<xsl:template match="/"> <xsl:template match="/">
<html> <html>
<head> <head>
<link type="text/css" rel="stylesheet" href="/ibase/css/TARO_FINANCE.css"/> <link type="text/css" rel="stylesheet" href="/ibase/css/workflowsign.css"/>
</head> </head>
<body> <body>
<div> <div>
<table border="1" width="100%" class="tTableHeader"> <table width="100%" class="tTableHeader">
<tr> <tr>
<td colspan="4" align="center" class="tTitle">Debit Note</td> <td colspan="4" align="center" class="tTitle">Debit Note</td>
</tr> </tr>
...@@ -75,28 +75,28 @@ ...@@ -75,28 +75,28 @@
<xsl:if test="//Detail2/line_no!=''"> <xsl:if test="//Detail2/line_no!=''">
<div> <div>
<table border="1" width="100%" class="tTableDetail"> <table width="100%" class="tTableDetail">
<tr> <tr>
<td colspan="7" align="center" class="tTitle">Pay Detail</td> <td colspan="7" align="center" class="tTitleD">Pay Detail</td>
</tr> </tr>
<tr> <tr>
<td class="tLabel">Line No</td> <td class="tLabelD">Line No</td>
<td class="tLabel">Reason Code</td> <td class="tLabelD">Reason Code</td>
<td class="tLabel">DR/CR Amount</td> <td class="tLabelD">DR/CR Amount</td>
<td class="tLabel">Tax Amount</td> <td class="tLabelD">Tax Amount</td>
<td class="tLabel">Net Amount</td> <td class="tLabelD">Net Amount</td>
<td class="tLabel">Account</td> <td class="tLabelD">Account</td>
<td class="tLabel">Cost center</td> <td class="tLabelD">Cost center</td>
</tr> </tr>
<xsl:for-each select="//Detail2"> <xsl:for-each select="//Detail2">
<tr> <tr>
<td class="tLabelData"><xsl:value-of select="line_no"/></td> <td class="tLabelDataD"><xsl:value-of select="line_no"/></td>
<td class="tLabelData"><xsl:value-of select="reas_code"/></td> <td class="tLabelDataD"><xsl:value-of select="reas_code"/></td>
<td class="tLabelData"><xsl:value-of select="drcr_amt"/></td> <td class="tLabelDataD"><xsl:value-of select="drcr_amt"/></td>
<td class="tLabelData"><xsl:value-of select="tax_amt"/></td> <td class="tLabelDataD"><xsl:value-of select="tax_amt"/></td>
<td class="tLabelData"><xsl:value-of select="net_amt"/></td> <td class="tLabelDataD"><xsl:value-of select="net_amt"/></td>
<td class="tLabelData"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td> <td class="tLabelDataD"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="cctr_code"/></td> <td class="tLabelDataD"><xsl:value-of select="cctr_code"/></td>
</tr> </tr>
</xsl:for-each> </xsl:for-each>
</table> </table>
...@@ -107,24 +107,24 @@ ...@@ -107,24 +107,24 @@
<xsl:if test="//Detail3/line_no!=''"> <xsl:if test="//Detail3/line_no!=''">
<div> <div>
<table border="1" width="100%" class="tTableDetail"> <table width="100%" class="tTableDetail">
<tr> <tr>
<td colspan="5" align="center" class="tTitle">Pay Account</td> <td colspan="5" align="center" class="tTitleD">Pay Account</td>
</tr> </tr>
<tr> <tr>
<td class="tLabel">Line No</td> <td class="tLabelD">Line No</td>
<td class="tLabel">Analysis Code</td> <td class="tLabelD">Analysis Code</td>
<td class="tLabel">Amount</td> <td class="tLabelD">Amount</td>
<td class="tLabel">Account</td> <td class="tLabelD">Account</td>
<td class="tLabel">Cost center</td> <td class="tLabelD">Cost center</td>
</tr> </tr>
<xsl:for-each select="//Detail3"> <xsl:for-each select="//Detail3">
<tr> <tr>
<td class="tLabelData"><xsl:value-of select="line_no"/></td> <td class="tLabelDataD"><xsl:value-of select="line_no"/></td>
<td class="tLabelData"><xsl:value-of select="anal_code"/></td> <td class="tLabelDataD"><xsl:value-of select="anal_code"/></td>
<td class="tLabelData"><xsl:value-of select="amount"/></td> <td class="tLabelDataD"><xsl:value-of select="amount"/></td>
<td class="tLabelData"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td> <td class="tLabelDataD"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="cctr_code"/></td> <td class="tLabelDataD"><xsl:value-of select="cctr_code"/></td>
</tr> </tr>
</xsl:for-each> </xsl:for-each>
</table> </table>
......
...@@ -4,17 +4,17 @@ ...@@ -4,17 +4,17 @@
<xsl:template match="/"> <xsl:template match="/">
<html> <html>
<head> <head>
<link type="text/css" rel="stylesheet" href="/ibase/css/TARO_FINANCE.css"/> <link type="text/css" rel="stylesheet" href="/ibase/css/workflowsign.css"/>
</head> </head>
<body> <body>
<div> <div>
<table border="1" width="100%" class="tTableHeader"> <table width="100%" class="tTableHeader">
<tr> <tr>
<td colspan="4" align="center" class="tTitle">Journal Voucher</td> <td colspan="4" align="center" class="tTitle">Journal Voucher</td>
</tr> </tr>
<tr> <tr>
<td> <td>
<span class="tLabel">Journal Vouch No. : </span> <span class="tLabel">Journal Voucher No. : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/tran_id"/></span> <span class="tLabelData"><xsl:value-of select="//Detail1/tran_id"/></span>
</td> </td>
<td> <td>
...@@ -35,11 +35,21 @@ ...@@ -35,11 +35,21 @@
<span class="tLabel">Reference Series : </span> <span class="tLabel">Reference Series : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/ref_ser"/> </span> <span class="tLabelData"><xsl:value-of select="//Detail1/ref_ser"/> </span>
</td> </td>
<td> <td colspan="2">
<span class="tLabel">Reference No. : </span> <span class="tLabel">Reference No. : </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/ref_no"/> </span> <span class="tLabelData"><xsl:value-of select="//Detail1/ref_no"/> </span>
</td> </td>
<td colspan="2"> <td>
<span class="tLabelData">
<xsl:choose>
<xsl:when test="//Detail1/reversible = 'Y'">Reversible</xsl:when>
<xsl:when test="//Detail1/reversible = 'N'">Non-Reversible</xsl:when>
</xsl:choose>
</span>
</td>
</tr>
<tr>
<td colspan="4">
<span class="tLabel">Site: </span> <span class="tLabel">Site: </span>
<span class="tLabelData"><xsl:value-of select="//Detail1/site_code"/> [<xsl:value-of select="//Detail1/site_descr"/>]</span> <span class="tLabelData"><xsl:value-of select="//Detail1/site_code"/> [<xsl:value-of select="//Detail1/site_descr"/>]</span>
</td> </td>
...@@ -64,28 +74,28 @@ ...@@ -64,28 +74,28 @@
</div> </div>
<br /> <br /> <br /> <br />
<div> <div>
<table border="1" width="100%" class="tTableDetail"> <table width="100%" class="tTableDetail">
<xsl:if test="//Detail2/line_no!=''"> <xsl:if test="//Detail2/line_no!=''">
<tr> <tr>
<td colspan="6" align="center" class="tTitle">Details</td> <td colspan="6" align="center" class="tTitleD">Details</td>
</tr> </tr>
<tr> <tr>
<td class="tLabel">Journal Vouch No.</td> <td class="tLabelD">Journal Voucher No.</td>
<td class="tLabel">Line No.</td> <td class="tLabelD">Line No.</td>
<td class="tLabel">Account</td> <td class="tLabelD">Account</td>
<td class="tLabel">Cost Center</td> <td class="tLabelD">Cost Center</td>
<td class="tLabel">Debit/Credit</td> <td class="tLabelD">Debit/Credit</td>
<td class="tLabel">Amount</td> <td class="tLabelD">Amount</td>
</tr> </tr>
<xsl:for-each select="//Detail2"> <xsl:for-each select="//Detail2">
<tr> <tr>
<td class="tLabelData"><xsl:value-of select="tran_id"/></td> <td class="tLabelDataD"><xsl:value-of select="tran_id"/></td>
<td class="tLabelData"><xsl:value-of select="line_no"/></td> <td class="tLabelDataD"><xsl:value-of select="line_no"/></td>
<td class="tLabelData"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td> <td class="tLabelDataD"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="cctr_code"/></td> <td class="tLabelDataD"><xsl:value-of select="cctr_code"/></td>
<td class="tLabelData"><xsl:value-of select="drcr_flag"/></td> <td class="tLabelDataD"><xsl:value-of select="drcr_flag"/></td>
<td class="tLabelData"><xsl:value-of select="amount"/></td> <td class="tLabelDataD"><xsl:value-of select="amount"/></td>
</tr> </tr>
</xsl:for-each> </xsl:for-each>
</xsl:if> </xsl:if>
......
...@@ -4,24 +4,30 @@ ...@@ -4,24 +4,30 @@
<xsl:template match="/"> <xsl:template match="/">
<html> <html>
<head> <head>
<link type="text/css" rel="stylesheet" href="/ibase/css/TARO_FINANCE.css"/> <link type="text/css" rel="stylesheet" href="/ibase/css/workflowsign.css"/>
</head> </head>
<body> <body>
<div> <div>
<table border="1" width="100%" class="tTableHeader"> <table width="100%" class="tTableHeader">
<xsl:for-each select="//Detail1"> <xsl:for-each select="//Detail1">
<tr> <tr>
<td colspan="4" align="center" class="tTitle">Payable Voucher</td> <td colspan="4" align="center" class="tTitle">Payable Voucher</td>
</tr> </tr>
<tr> <tr>
<td> <td colspan="3">
<span class="tLabel">Transaction ID : </span> <span class="tLabel">Transaction ID : </span>
<span class="tLabelData"><xsl:value-of select="tran_id"/></span> <span class="tLabelData"><xsl:value-of select="tran_id"/></span>
</td> </td>
<td> <td>
<span class="tLabel">Transaction Date : </span> <span class="tLabel">Transaction Date : </span>
<span class="tLabelData"><xsl:value-of select="tran_date"/></span> <span class="tLabelData"><xsl:value-of select="tran_date"/></span>
</td>
</tr>
<tr>
<td colspan="3">
<span class="tLabel">Site Code :</span>
<span class="tLabelData"><xsl:value-of select="site_code" /> [<xsl:value-of select="site_descr" />]</span>
</td> </td>
<td> <td>
<span class="tLabel">Voucher Type :</span> <span class="tLabel">Voucher Type :</span>
...@@ -67,13 +73,15 @@ ...@@ -67,13 +73,15 @@
</xsl:choose> </xsl:choose>
</span> </span>
</td> </td>
<td> </tr>
<span class="tLabel">Site Code :</span> <tr>
<span class="tLabelData"><xsl:value-of select="site_code" /> [<xsl:value-of select="site_descr" />]</span> <td colspan="4">
<span class="tLabel">Cheque Name : </span>
<span class="tLabelData"><xsl:value-of select="chq_name"/></span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td colspan="2">
<span class="tLabel">Bill No : </span> <span class="tLabel">Bill No : </span>
<span class="tLabelData"><xsl:value-of select="bill_no"/></span> <span class="tLabelData"><xsl:value-of select="bill_no"/></span>
</td> </td>
...@@ -82,24 +90,27 @@ ...@@ -82,24 +90,27 @@
<span class="tLabelData"><xsl:value-of select="bill_date"/></span> <span class="tLabelData"><xsl:value-of select="bill_date"/></span>
</td> </td>
<td> <td>
<span class="tLabel">Sundry Type : </span> <span class="tLabel">Order Reference : </span>
<span class="tLabelData"><xsl:value-of select="sundry_type" /> [<xsl:value-of select="advance" />]</span> <span class="tLabelData"><xsl:value-of select="order_ref"/></span>
</td>
<td>
<span class="tLabel">Sundry Code : </span>
<span class="tLabelData"><xsl:value-of select="sundry_code" /> [<xsl:value-of select="sundry_name" />]</span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td colspan="4">
<span class="tLabel">Cheque Name : </span> <span class="tLabel">Payable To : </span>
<span class="tLabelData"><xsl:value-of select="chq_name"/></span> <span class="tLabelData">
</td> <xsl:if test="sundry_type='S'">Supplier</xsl:if>
<td> <xsl:if test="sundry_type='C'">Customer</xsl:if>
<span class="tLabel">Reference Order : </span> <xsl:if test="sundry_type='P'">Sales Person</xsl:if>
<span class="tLabelData"><xsl:value-of select="order_ref"/></span> <xsl:if test="sundry_type='B'">Bank</xsl:if>
<xsl:if test="sundry_type='E'">Employee</xsl:if>
<xsl:if test="sundry_type='O'">Others</xsl:if>
<xsl:if test="sundry_type='R'">Strategic Customer</xsl:if>
<xsl:text>&#160;</xsl:text><xsl:value-of select="sundry_code" /> [<xsl:value-of select="sundry_name" />] [<xsl:value-of select="advance" />]
</span>
</td> </td>
<td> </tr>
<tr>
<td colspan="4">
<span class="tLabel">Remarks : </span> <span class="tLabel">Remarks : </span>
<span class="tLabelData"><xsl:value-of select="remarks" /></span> <span class="tLabelData"><xsl:value-of select="remarks" /></span>
</td> </td>
...@@ -112,41 +123,42 @@ ...@@ -112,41 +123,42 @@
<xsl:if test="//Detail3/line_no!=''"> <xsl:if test="//Detail3/line_no!=''">
<div> <div>
<table border="1" width="100%" class ="tTableDetail"> <table width="100%" class ="tTableDetail">
<tr>
<td colspan="13" align="center" class="tTitleD">Detail</td>
</tr>
<tr> <tr>
<td class="tLabel" rowspan="2">#</td> <td class="tLabelD" rowspan="2">#</td>
<td class="tLabel" colspan="3">Ref. Sundry Information</td> <td class="tLabelD" colspan="3">Ref. Sundry Information</td>
<td class="tLabel" rowspan="2">Account</td> <td class="tLabelD" rowspan="2">Account</td>
<td class="tLabel" rowspan="2">Cost Center</td> <td class="tLabelD" rowspan="2">Cost Center</td>
<td class="tLabel" rowspan="2">Analysis</td> <td class="tLabelD" rowspan="2">Analysis</td>
<td class="tLabel" rowspan="2">Bill No</td> <td class="tLabelD" rowspan="2">Bill No</td>
<td class="tLabel" rowspan="2">Bill Date</td> <td class="tLabelD" rowspan="2">Bill Date</td>
<td class="tLabel" rowspan="2">Bill Amount(Rs.)</td> <td class="tLabelD" rowspan="2">Bill Amount(Rs.)</td>
<td class="tLabel" rowspan="2">Tax Amount</td> <td class="tLabelD" rowspan="2">Tax Amount</td>
<td class="tLabel" rowspan="2">Amount</td> <td class="tLabelD" rowspan="2">Amount</td>
<td class="tLabel" rowspan="2">Remarks</td>
</tr> </tr>
<tr> <tr>
<td class="tLabel" width="2%">Type </td> <td class="tLabelD" width="2%">Type </td>
<td class="tLabel" width="2%">Code </td> <td class="tLabelD" width="2%">Code </td>
<td class="tLabel" width="10%">Name </td> <td class="tLabelD" width="10%">Name </td>
</tr> </tr>
<xsl:for-each select="//Detail3"> <xsl:for-each select="//Detail3">
<tr> <tr>
<td class="tLabelData" align="center"><xsl:value-of select="line_no"/></td> <td class="tLabelDataD"><xsl:value-of select="line_no"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="sundry_type__for"/></td> <td class="tLabelDataD"><xsl:value-of select="sundry_type__for"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="sundry_code__for"/></td> <td class="tLabelDataD"><xsl:value-of select="sundry_code__for"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="sundry_name"/></td> <td class="tLabelDataD"><xsl:value-of select="sundry_name"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td> <td class="tLabelDataD"><xsl:value-of select="acct_code"/> [<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData" align="center"><xsl:value-of select="cctr_code"/> [<xsl:value-of select="costctr_descr"/>]</td> <td class="tLabelDataD"><xsl:value-of select="cctr_code"/> [<xsl:value-of select="costctr_descr"/>]</td>
<td class="tLabelData" align="center"><xsl:value-of select="anal_code"/> [<xsl:value-of select="anal_code"/>]</td> <td class="tLabelDataD"><xsl:value-of select="anal_code"/> [<xsl:value-of select="anal_code"/>]</td>
<td class="tLabelData" align="center"><xsl:value-of select="bill_no"/></td> <td class="tLabelDataD"><xsl:value-of select="bill_no"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="bill_date"/></td> <td class="tLabelDataD"><xsl:value-of select="bill_date"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="bill_amt"/></td> <td class="tLabelDataD"><xsl:value-of select="bill_amt"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="tax_amt"/></td> <td class="tLabelDataD"><xsl:value-of select="tax_amt"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="amount"/></td> <td class="tLabelDataD"><xsl:value-of select="amount"/></td>
<td class="tLabelData" align="center"><xsl:value-of select="remarks"/></td>
</tr> </tr>
</xsl:for-each> </xsl:for-each>
</table> </table>
......
...@@ -4,31 +4,29 @@ ...@@ -4,31 +4,29 @@
<xsl:template match="/"> <xsl:template match="/">
<html> <html>
<head> <head>
<link type="text/css" rel="stylesheet" href="/ibase/css/TARO_FINANCE.css"/> <link type="text/css" rel="stylesheet" href="/ibase/css/workflowsign.css"/>
</head> </head>
<body> <body>
<div> <div>
<table border="1" width="100%" class="tTableHeader"> <table width="100%" class="tTableHeader">
<tr> <tr>
<td colspan="4" align="center" class="tTitle">Payments</td> <td colspan="4" align="center" class="tTitle">Payments</td>
</tr> </tr>
<xsl:for-each select="//Detail1"> <xsl:for-each select="//Detail1">
<tr> <tr>
<td colspan="2"> <td>
<span class="tLabel">Transaction ID : </span> <span class="tLabel">Transaction ID : </span>
<span class="tLabelData"><xsl:value-of select="tran_id"/></span> <span class="tLabelData"><xsl:value-of select="tran_id"/></span>
</td> </td>
<td colspan="2"> <td>
<span class="tLabel">Transaction Date : </span> <span class="tLabel">Transaction Date : </span>
<span class="tLabelData"><xsl:value-of select="tran_date"/></span > <span class="tLabelData"><xsl:value-of select="tran_date"/></span >
</td> </td>
</tr>
<tr>
<td> <td>
<span class="tLabel">Payment Type : </span> <span class="tLabel">Payment Type : </span>
<span class="tLabelData"><xsl:value-of select="tran_type"/></span> <span class="tLabelData"><xsl:value-of select="tran_type"/></span>
</td> </td>
<td colspan="3"> <td>
<span class="tLabel">Payment Mode : </span> <span class="tLabel">Payment Mode : </span>
<span class="tLabelData"> <span class="tLabelData">
<xsl:variable name="payMode"><xsl:value-of select="pay_mode"/></xsl:variable> <xsl:variable name="payMode"><xsl:value-of select="pay_mode"/></xsl:variable>
...@@ -75,22 +73,25 @@ ...@@ -75,22 +73,25 @@
</tr> </tr>
<tr> <tr>
<td colspan="4"> <td colspan="4">
<span class="tLabel">Sundry Code : </span> <span class="tLabel">Payable To : </span>
<span class="tLabelData"><xsl:value-of select="sundry_code"/> [<xsl:value-of select="sundry_name"/>]</span> <span class="tLabelData">
</td> <xsl:if test="sundry_type='S'">Supplier</xsl:if>
</tr> <xsl:if test="sundry_type='C'">Customer</xsl:if>
<tr> <xsl:if test="sundry_type='P'">Sales Person</xsl:if>
<td colspan="4"> <xsl:if test="sundry_type='B'">Bank</xsl:if>
<span class="tLabel">Sundry Type : </span> <xsl:if test="sundry_type='E'">Employee</xsl:if>
<span class="tLabelData"><xsl:value-of select="sundry_type"/></span> <xsl:if test="sundry_type='O'">Others</xsl:if>
<xsl:if test="sundry_type='R'">Strategic Customer</xsl:if>
<xsl:text>&#160;</xsl:text><xsl:value-of select="sundry_code" /> [<xsl:value-of select="sundry_name" />]
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td colspan="3">
<span class="tLabel">Cheque/DD No : </span> <span class="tLabel">Cheque/DD No : </span>
<span class="tLabelData"><xsl:value-of select="ref_no"/></span> <span class="tLabelData"><xsl:value-of select="ref_no"/></span>
</td> </td>
<td colspan="3"> <td>
<span class="tLabel">Cheque/DD Date : </span> <span class="tLabel">Cheque/DD Date : </span>
<span class="tLabelData"><xsl:value-of select="ref_date"/></span> <span class="tLabelData"><xsl:value-of select="ref_date"/></span>
</td> </td>
...@@ -113,38 +114,38 @@ ...@@ -113,38 +114,38 @@
<xsl:if test="//Detail2/line_no!=''"> <xsl:if test="//Detail2/line_no!=''">
<div> <div>
<table border="1" width="100%" class="tTableDetail"> <table width="100%" class="tTableDetail">
<tr> <tr>
<td colspan="12" align="center" class="tTitle">Details</td> <td colspan="12" align="center" class="tTitleD">Details</td>
</tr> </tr>
<tr> <tr>
<td class="tLabel">Line No.</td> <td class="tLabelD">Line No.</td>
<td class="tLabel">Tran Series</td> <td class="tLabelD">Tran Series</td>
<td class="tLabel">Voucher No.</td> <td class="tLabelD">Voucher No.</td>
<td class="tLabel">Voucher Date</td> <td class="tLabelD">Voucher Date</td>
<td class="tLabel">Exchange Rate</td> <td class="tLabelD">Exchange Rate</td>
<td class="tLabel">Currency</td> <td class="tLabelD">Currency</td>
<td class="tLabel">Net Amount</td> <td class="tLabelD">Net Amount</td>
<td class="tLabel">Amount Paid</td> <td class="tLabelD">Amount Paid</td>
<td class="tLabel">Bill No.</td> <td class="tLabelD">Bill No.</td>
<td class="tLabel">Bill Date</td> <td class="tLabelD">Bill Date</td>
<td class="tLabel">Account</td> <td class="tLabelD">Account</td>
<td class="tLabel">Cost Center</td> <td class="tLabelD">Cost Center</td>
</tr> </tr>
<xsl:for-each select="//Detail2"> <xsl:for-each select="//Detail2">
<tr> <tr>
<td class="tLabelData"><xsl:value-of select="line_no"/></td> <td class="tLabelDataD"><xsl:value-of select="line_no"/></td>
<td class="tLabelData"><xsl:value-of select="tran_ser"/></td> <td class="tLabelDataD"><xsl:value-of select="tran_ser"/></td>
<td class="tLabelData"><xsl:value-of select="vouch_no"/></td> <td class="tLabelDataD"><xsl:value-of select="vouch_no"/></td>
<td class="tLabelData"><xsl:value-of select="vouch_date"/></td> <td class="tLabelDataD"><xsl:value-of select="vouch_date"/></td>
<td class="tLabelData"><xsl:value-of select="curr_code"/></td> <td class="tLabelDataD"><xsl:value-of select="curr_code"/></td>
<td class="tLabelData"><xsl:value-of select="exch_rate__vouch"/></td> <td class="tLabelDataD"><xsl:value-of select="exch_rate__vouch"/></td>
<td class="tLabelData"><xsl:value-of select="net_amt"/></td> <td class="tLabelDataD"><xsl:value-of select="net_amt"/></td>
<td class="tLabelData"><xsl:value-of select="pay_amt"/></td> <td class="tLabelDataD"><xsl:value-of select="pay_amt"/></td>
<td class="tLabelData"><xsl:value-of select="bill_no"/></td> <td class="tLabelDataD"><xsl:value-of select="bill_no"/></td>
<td class="tLabelData"><xsl:value-of select="bill_date"/></td> <td class="tLabelDataD"><xsl:value-of select="bill_date"/></td>
<td class="tLabelData"><xsl:value-of select="acct_code__ap"/> [<xsl:value-of select="accounts_descr"/>]</td> <td class="tLabelDataD"><xsl:value-of select="acct_code__ap"/> [<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="cctr_code__ap"/></td> <td class="tLabelDataD"><xsl:value-of select="cctr_code__ap"/></td>
</tr> </tr>
</xsl:for-each> </xsl:for-each>
</table> </table>
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
<xsl:template match="/"> <xsl:template match="/">
<html> <html>
<head> <head>
<link type="text/css" rel="stylesheet" href="/ibase/css/TARO_FINANCE.css"/> <link type="text/css" rel="stylesheet" href="/ibase/css/workflowsign.css"/>
</head> </head>
<body> <body>
<div> <div>
<table border="1" width="100%" class="tTableHeader"> <table width="100%" class="tTableHeader">
<tr> <tr>
<td colspan="4" align="center" class="tTitle">Purchase Voucher</td> <td colspan="4" align="center" class="tTitle">Purchase Voucher</td>
</tr> </tr>
...@@ -73,114 +73,116 @@ ...@@ -73,114 +73,116 @@
<br /><br /> <br /><br />
<xsl:if test="//Detail2/line_no!=''">
<div> <div>
<table border="1" width="100%" class="tTableDetail"> <table width="100%" class="tTableDetail">
<tr> <tr>
<td colspan="9" align="center" class="tTitle">Advance</td> <td colspan="9" align="center" class="tTitleD">Advance</td>
</tr> </tr>
<tr> <tr>
<td class="tLabel">Reference Series</td> <td class="tLabelD">Reference Series</td>
<td class="tLabel">Reference No.</td> <td class="tLabelD">Reference No.</td>
<td class="tLabel">Total Amount</td> <td class="tLabelD">Total Amount</td>
<td class="tLabel">Adjusted Amount</td> <td class="tLabelD">Adjusted Amount</td>
<td class="tLabel">Diff Amt Exch</td> <td class="tLabelD">Diff Amt Exch</td>
<td class="tLabel">Currency</td> <td class="tLabelD">Currency</td>
<td class="tLabel">Exchange Rate</td> <td class="tLabelD">Exchange Rate</td>
<td class="tLabel">Account</td> <td class="tLabelD">Account</td>
<td class="tLabel">Cost Center</td> <td class="tLabelD">Cost Center</td>
</tr> </tr>
<tr> <tr>
<td class="tLabelData"><xsl:value-of select="//Detail2/ref_ser"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail2/ref_ser"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail2/ref_no"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail2/ref_no"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail2/tot_amt"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail2/tot_amt"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail2/adj_amt"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail2/adj_amt"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail2/diff_amt__exch"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail2/diff_amt__exch"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail2/curr_code"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail2/curr_code"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail2/exch_rate__vouch"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail2/exch_rate__vouch"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail2/acct_code"/>[<xsl:value-of select="accounts_descr"/>]</td> <td class="tLabelDataD"><xsl:value-of select="//Detail2/acct_code"/>[<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="//Detail2/cctr_code"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail2/cctr_code"/></td>
</tr> </tr>
</table> </table>
</div> </div>
</xsl:if>
<br /> <br />
<div>
<table border="1" width="100%">
<xsl:if test="//Detail3/line_no!=''"> <xsl:if test="//Detail3/line_no!=''">
<div>
<table width="100%" class="tTableDetail">
<tr> <tr>
<td colspan="10" align="center"><h4>Receipt</h4></td> <td colspan="10" align="center"><h4>Receipt</h4></td>
</tr> </tr>
<tr> <tr>
<td class="tLabel">Line No.</td> <td class="tLabelD">Line No.</td>
<td class="tLabel">Purchase Receipt No.</td> <td class="tLabelD">Purchase Receipt No.</td>
<td class="tLabel">Line No. Receipt</td> <td class="tLabelD">Line No. Receipt</td>
<td class="tLabel">Item</td> <td class="tLabelD">Item</td>
<td class="tLabel">Item Description</td> <td class="tLabelD">Item Description</td>
<td class="tLabel">Voucher Quantity</td> <td class="tLabelD">Voucher Quantity</td>
<td class="tLabel">Voucher Rate</td> <td class="tLabelD">Voucher Rate</td>
<td class="tLabel">Voucher Amount</td> <td class="tLabelD">Voucher Amount</td>
<td class="tLabel">Voucher No.</td> <td class="tLabelD">Voucher No.</td>
<td class="tLabel">Unit</td> <td class="tLabelD">Unit</td>
</tr> </tr>
<xsl:for-each select="//Detail3"> <xsl:for-each select="//Detail3">
<tr> <tr>
<td class="tLabelData"><xsl:value-of select="//Detail3/line_no"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail3/line_no"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/prcp_id"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail3/prcp_id"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/line_no__rcp"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail3/line_no__rcp"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/item_code"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail3/item_code"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/item_descr"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail3/item_descr"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/vouch_qty"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail3/vouch_qty"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/vouch_rate"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail3/vouch_rate"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/vouch_amt"/>[<xsl:value-of select="accounts_descr"/>]</td> <td class="tLabelDataD"><xsl:value-of select="//Detail3/vouch_amt"/>[<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="//Detail3/tran_id"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail3/tran_id"/></td>
<td class="tLabelData"><xsl:value-of select="//Detail3/unit"/></td> <td class="tLabelDataD"><xsl:value-of select="//Detail3/unit"/></td>
</tr> </tr>
</xsl:for-each> </xsl:for-each>
</xsl:if>
</table> </table>
</div> </div>
</xsl:if>
<br /> <br />
<div>
<table border="1" width="100%" class="tTableDetail">
<xsl:if test="//Detail4/line_no!=''"> <xsl:if test="//Detail4/line_no!=''">
<div>
<table width="100%" class="tTableDetail">
<tr> <tr>
<td colspan="11" align="center" class="tTitle">Detail</td> <td colspan="11" align="center" class="tTitleD">Detail</td>
</tr> </tr>
<tr> <tr>
<td class="tLabel">Transaction ID</td> <td class="tLabelD">Transaction ID</td>
<td class="tLabel">Line No.</td> <td class="tLabelD">Line No.</td>
<td class="tLabel">Account</td> <td class="tLabelD">Account</td>
<td class="tLabel">Cost Center</td> <td class="tLabelD">Cost Center</td>
<td class="tLabel">Department Code</td> <td class="tLabelD">Department Code</td>
<td class="tLabel">Amount</td> <td class="tLabelD">Amount</td>
<td class="tLabel">Apply Tax</td> <td class="tLabelD">Apply Tax</td>
<td class="tLabel">Tax Amount</td> <td class="tLabelD">Tax Amount</td>
<td class="tLabel">Tax Class</td> <td class="tLabelD">Tax Class</td>
<td class="tLabel">Tax Chap</td> <td class="tLabelD">Tax Chap</td>
<td class="tLabel">Tax Env</td> <td class="tLabelD">Tax Env</td>
</tr> </tr>
<xsl:for-each select="//Detail4"> <xsl:for-each select="//Detail4">
<tr> <tr>
<td class="tLabelData"><xsl:value-of select="tran_id"/></td> <td class="tLabelDataD"><xsl:value-of select="tran_id"/></td>
<td class="tLabelData"><xsl:value-of select="line_no"/></td> <td class="tLabelDataD"><xsl:value-of select="line_no"/></td>
<td class="tLabelData"><xsl:value-of select="acct_code"/>[<xsl:value-of select="accounts_descr"/>]</td> <td class="tLabelDataD"><xsl:value-of select="acct_code"/>[<xsl:value-of select="accounts_descr"/>]</td>
<td class="tLabelData"><xsl:value-of select="cctr_code"/></td> <td class="tLabelDataD"><xsl:value-of select="cctr_code"/></td>
<td class="tLabelData"><xsl:value-of select="dept_code"/></td> <td class="tLabelDataD"><xsl:value-of select="dept_code"/></td>
<td class="tLabelData"><xsl:value-of select="amount"/></td> <td class="tLabelDataD"><xsl:value-of select="amount"/></td>
<td class="tLabelData"><xsl:value-of select="apply_tax"/></td> <td class="tLabelDataD"><xsl:value-of select="apply_tax"/></td>
<td class="tLabelData"><xsl:value-of select="tax_amt"/></td> <td class="tLabelDataD"><xsl:value-of select="tax_amt"/></td>
<td class="tLabelData"><xsl:value-of select="tax_class"/></td> <td class="tLabelDataD"><xsl:value-of select="tax_class"/></td>
<td class="tLabelData"><xsl:value-of select="tax_chap"/></td> <td class="tLabelDataD"><xsl:value-of select="tax_chap"/></td>
<td class="tLabelData"><xsl:value-of select="tax_env"/></td> <td class="tLabelDataD"><xsl:value-of select="tax_env"/></td>
</tr> </tr>
</xsl:for-each> </xsl:for-each>
</xsl:if>
</table> </table>
</div> </div>
</xsl:if>
</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