summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-06 20:54:42 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-06 20:54:42 +0000
commit030b169a8f85ba045fb1c0385c49b3e41084289f (patch)
tree2514643066b0c099d1d53951a773b658aa61aeff /templates
parent3319160e3a08e39f3fdb356beaf240c4acc81268 (diff)
Adjusting statements for batch printing (1789160)
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1523 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'templates')
-rw-r--r--templates/demo/statement.html4
-rw-r--r--templates/demo/statement.tex6
2 files changed, 10 insertions, 0 deletions
diff --git a/templates/demo/statement.html b/templates/demo/statement.html
index 6bdee5d1..bc6ccc1e 100644
--- a/templates/demo/statement.html
+++ b/templates/demo/statement.html
@@ -1,6 +1,9 @@
<body bgcolor=ffffff>
+<?lsmb FOREACH customer IN data ?>
+<?lsmb import(customer) ?>
+
<table width="100%">
<?lsmb INCLUDE letterhead.html ?>
@@ -133,6 +136,7 @@
</table>
+<?lsmb END ?>
</body>
</html>
diff --git a/templates/demo/statement.tex b/templates/demo/statement.tex
index b6580af6..8bfe6240 100644
--- a/templates/demo/statement.tex
+++ b/templates/demo/statement.tex
@@ -7,6 +7,8 @@
\begin{document}
+<?lsmb FOREACH customer IN data ?>
+<?lsmb import(customer) ?>
\pagestyle{myheadings}
\thispagestyle{empty}
@@ -82,5 +84,9 @@ All amounts in \textbf{<?lsmb currency ?>} funds.
Please make check payable to \textbf{<?lsmb company ?>}
+<?lsmb IF NOT loop.last ?>
+\pagebreak
+<?lsmb END ?>
+<?lsmb END ?>
\end{document}
<?lsmb END ?>