[wiaflos-devel] COMMIT - r269 - trunk/contrib/templates/reports
svn at linuxrulz.org
svn at linuxrulz.org
Tue Dec 30 06:49:08 GMT 2008
Author: nkukard
Date: 2008-12-30 06:49:08 +0000 (Tue, 30 Dec 2008)
New Revision: 269
Added:
trunk/contrib/templates/reports/gltransactions1.tt2
Log:
* Added GL transaction report
Added: trunk/contrib/templates/reports/gltransactions1.tt2
===================================================================
--- trunk/contrib/templates/reports/gltransactions1.tt2 (rev 0)
+++ trunk/contrib/templates/reports/gltransactions1.tt2 2008-12-30 06:49:08 UTC (rev 269)
@@ -0,0 +1,57 @@
+[% INCLUDE header.tt2 %]
+
+<head>
+ <title>GL Transactions<title>
+ [% INCLUDE styles.tt2 %]
+</head>
+
+<body>
+
+[% SET data = api_gl_transactions() %]
+
+<table id="page" width="100%">
+ <colgroup span="2" width="50%">
+ </colgroup>
+ [% INCLUDE companydetails.tt2 %]
+ <tr>
+ <td colspan="2" class="bigtext border centeralign bold">
+ G L T R A N S A C T I O N S
+ <br />
+ [% StartDate %] to [% EndDate %]
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3" class="smalltext">
+ <table width="100%">
+ [% FOREACH account = data %]
+ <tr>
+ <td class="border bold centeralign" colspan="4">[% account.Number %] / [% account.Name %]</td>
+ </tr>
+ [% FOREACH transaction = account.Transactions %]
+ <tr>
+ <td class="centeralign" colspan="4">[% transaction.TransactionDate %]: [% transaction.Reference %] (ID: [% transaction.ID %])</td>
+ </tr>
+ [% FOREACH entry = transaction.Entries %]
+ <tr>
+ <td class="smalltext">[% entry.GLAccountNumber %]</td>
+ <td class="smalltext">[% entry.GLAccountName %]</td>
+ <td class="smalltext">[% entry.Reference %]</td>
+ <td class="smalltext">[% entry.Amount %]</td>
+ </tr>
+ [% END %]
+ [% END %]
+ [% END %]
+ <tr>
+ <td class="centeralign" colspan="4">All values in <span class="bold">USD</span> funds.</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<div class="smalltext centeralign">[% WiaflosString %]</div>
+
+
+
+</body>
+
+</html>
More information about the wiaflos-devel
mailing list