summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-11-15 00:49:16 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-11-15 00:49:16 +0000
commit4548566ebb520679c2b7d9c5e2d786d3b0ea3c98 (patch)
tree55f83bac85cc60ade303a6bba00ba6a2647f7cfe /templates
parent5d995fd5de1d4ae1201a3d49b75c7e1f11f95a67 (diff)
Moving fields in check template up 0.75 inches
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2400 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'templates')
-rw-r--r--templates/demo/check_base.tex117
1 files changed, 66 insertions, 51 deletions
diff --git a/templates/demo/check_base.tex b/templates/demo/check_base.tex
index 9493c7ee..a93b87c7 100644
--- a/templates/demo/check_base.tex
+++ b/templates/demo/check_base.tex
@@ -1,65 +1,80 @@
-<?lsmb BLOCK check_single ?>
-\parbox[t]{12cm}{
- <?lsmb company ?>
+\usepackage{textpos}
- <?lsmb address ?>}
-\hfill
-\parbox[t]{6cm}{\hfill <?lsmb source ?>}
+\setlength{\TPHorizModule}{1in}
+\setlength{\TPVertModule}{1in}
+<?lsmb BLOCK check_single ?>
+%\parbox[t]{12cm}{
+% <?lsmb company ?>
+%
+% <?lsmb address ?>}
+%\hfill
+%\parbox[t]{6cm}{\hfill <?lsmb source ?>}
+%
+%\vspace*{0.6cm}
+
+\begin{textblock}{2}(6.75, 0.75)
+<?lsmb datepaid ?>
+\end{textblock}
+\begin{textblock}{5.5}(0.75, 1.12)
+<?lsmb legal_name ?>
+\end{textblock}
-\vspace*{0.6cm}
+%\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?>
+\begin{textblock}{2}(6.6, 1.15)
+<?lsmb format_amount({amount = amount, format = '1,000.00'}) ?>
+\end{textblock}
+\begin{textblock}{7.25}(0, 1.5)
<?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill}
-
+\end{textblock}
\vspace{0.5cm}
-\hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?>
-
+%
% different date format for datepaid
% <?lsmb DD ?><?lsmb MM ?><?lsmb YYYY ?>
-
-\vspace{0.5cm}
-
-<?lsmb legal_name ?>
-
-<?lsmb street1 ?>
-
-<?lsmb street2 ?>
-
-<?lsmb city ?>
-<?lsmb IF state ?>
-\hspace{-0.1cm}, <?lsmb state ?>
-<?lsmb END # state ?>
-
-<?lsmb mail_code ?>
-
-<?lsmb country ?>
-
-\vspace{1.8cm}
-
-<?lsmb memo ?>
-
-\vspace{0.8cm}
-
-<?lsmb company ?>
-
+%
+%\vspace{0.5cm}
+%
+%<?lsmb legal_name ?>
+%
+%<?lsmb street1 ?>
+%
+%<?lsmb street2 ?>
+%
+%<?lsmb city ?>
+%<?lsmb IF state ?>
+%\hspace{-0.1cm}, <?lsmb state ?>
+%<?lsmb END # state ?>
+%
+%<?lsmb mail_code ?>
+%
+%<?lsmb country ?>
+%
+%\vspace{1.8cm}
+%
+%<?lsmb memo ?>
+%
+%\vspace{0.8cm}
+%
+%<?lsmb company ?>
+%
+
+
+\begin{textblock}{7}(0, 3.75)
\vspace{0.5cm}
+\noindent Master Code: <?lsmb control_code ?> \\
+Date: <?lsmb datepaid ?>\\
+Description: <?lsmb batch_description ?>\\
+Total Amount: <?lsmb amount ?>\\
+\end{textblock}
-<?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?>
-
+\begin{textblock}{7}(0, 6.75)
\vspace{0.5cm}
-\begin{tabularx}{\textwidth}{lXrr@{}}
-\textbf{Invoice \#} & \textbf{Invoice Date}
- & \textbf{Amount Due} & \textbf{Applied} \\
-<?lsmb FOR inv = invoices ?>
-<?lsmb inv.invnumber ?> & <?lsmb inv.invdate ?> \dotfill
- & <?lsmb inv.due ?> & <?lsmb inv.paid ?> \\
-<?lsmb END # FOREACH inv ?>
-\end{tabularx}
-
-\vspace{1cm}
-
-<?lsmb memo ?>
+\noindent Master Code: <?lsmb control_code ?> \\
+Date: <?lsmb datepaid ?>\\
+Description: <?lsmb batch_description ?>\\
+Total Amount: <?lsmb amount ?>\\
+\end{textblock}
\vfill
-<?lsmb message ?>
<?lsmb END # BLOCK ?>