[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[4721] trunk/UI/Reports/display_report.odst



Revision: 4721
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4721&view=rev
Author:   einhverfr
Date:     2012-05-18 12:29:13 +0000 (Fri, 18 May 2012)
Log Message:
-----------
ODS reports

Added Paths:
-----------
    trunk/UI/Reports/display_report.odst

Added: trunk/UI/Reports/display_report.odst
===================================================================
--- trunk/UI/Reports/display_report.odst	                        (rev 0)
+++ trunk/UI/Reports/display_report.odst	2012-05-18 12:29:13 UTC (rev 4721)
@@ -0,0 +1,30 @@
+<?lsmb PROCESS "dynatable.odst" 
+
+HEADS 2;
+
+IF hlines.size;
+
+  HEADS = HEADS + hlines.size;
+
+END;
+
+?>
+<workbook>
+<worksheet name="<?lsmb text('Title Page') ?>" rows="<?lsmb HEADS ?>" 
+           columns="2">
+<row><cell text="<?lsmb text('Report Name') ?>:" />
+     <cell text="<?lsmb name ?>" />
+</row>
+<row><cell text="<?lsmb text('Company') ?>:" />
+     <cell test="<?lsmb request.company ?>" />
+</row>
+<?lsmb FOREACH HLINE IN hlines -?>
+<row><cell text="<?lsmb HLINE.text ?>:" />
+     <cell text="<?lsmb request.${LINE.name} ?>" />
+</row>
+<?lsmb END -?>
+</worksheet>
+<?lsmb PROCESS dynatable
+       attributes = {id = name }
+       tbody = {rows = rows } ?>
+</workbook>

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.