diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-09-24 17:44:51 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-09-24 17:44:51 +0000 |
commit | eedad02e621755aa269a6728364fa2ef07f6bca9 (patch) | |
tree | e56cb7ebc28954055603056c514dd3c4c62b02d0 /templates/Norwegian-ap_transaction.tex | |
parent | 1eb75f0d6e9074d96445c810267aebe415b1b2d7 (diff) |
Changed all templates to the new syntax
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@142 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'templates/Norwegian-ap_transaction.tex')
-rwxr-xr-x | templates/Norwegian-ap_transaction.tex | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/templates/Norwegian-ap_transaction.tex b/templates/Norwegian-ap_transaction.tex index dd064787..ff23b74f 100755 --- a/templates/Norwegian-ap_transaction.tex +++ b/templates/Norwegian-ap_transaction.tex @@ -28,16 +28,16 @@ \parbox{\textwidth}{% \parbox[b]{.42\textwidth}{% - <%company%> + <?lsmb company ?> - <%address%> + <?lsmb address ?> } \parbox[b]{.2\textwidth}{ \includegraphics[scale=0.3]{ledger-smb} }\hfill \begin{tabular}[b]{rr@{}} - Telephone & <%tel%>\\ - Facsimile & <%fax%> + Telephone & <?lsmb tel ?>\\ + Facsimile & <?lsmb fax ?> \end{tabular} \rule[1.5em]{\textwidth}{0.5pt} @@ -48,78 +48,78 @@ \vspace*{0.5cm} \parbox[t]{.5\textwidth}{ -<%name%> +<?lsmb name ?> -<%address1%> +<?lsmb address1 ?> -<%address2%> +<?lsmb address2 ?> -<%city%> <%state%> <%zipcode%> +<?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> -<%country%> +<?lsmb country ?> \vspace{0.3cm} -<%if contact%> -<%contact%> -<%end contact%> +<?lsmb if contact ?> +<?lsmb contact ?> +<?lsmb end contact ?> \vspace{0.2cm} -<%if customerphone%> -Tel: <%customerphone%> -<%end customerphone%> +<?lsmb if customerphone ?> +Tel: <?lsmb customerphone ?> +<?lsmb end customerphone ?> -<%if customerfax%> -Fax: <%customerfax%> -<%end customerfax%> +<?lsmb if customerfax ?> +Fax: <?lsmb customerfax ?> +<?lsmb end customerfax ?> -<%email%> +<?lsmb email ?> } \hfill \begin{tabular}[t]{ll} - \textbf{Invoice \#} & <%invnumber%> \\ - \textbf{Date} & <%invdate%> \\ - \textbf{Due} & <%duedate%> \\ - \textbf{Order \#} & <%ordnumber%> \\ - \textbf{Employee} & <%employee%> \\ + \textbf{Invoice \#} & <?lsmb invnumber ?> \\ + \textbf{Date} & <?lsmb invdate ?> \\ + \textbf{Due} & <?lsmb duedate ?> \\ + \textbf{Order \#} & <?lsmb ordnumber ?> \\ + \textbf{Employee} & <?lsmb employee ?> \\ \end{tabular} \vspace{1cm} \begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}} -<%foreach amount%> - <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\ -<%end amount%> +<?lsmb foreach amount ?> + <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb projectnumber ?> \\ +<?lsmb end amount ?> - \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\ -<%foreach tax%> - \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\ -<%end tax%> + \multicolumn{2}{r}{\textbf{Subtotal}} & <?lsmb subtotal ?> & \\ +<?lsmb foreach tax ?> + \multicolumn{2}{r}{\textbf{<?lsmb taxdescription ?> @ <?lsmb taxrate ?> \%}} & <?lsmb tax ?> & \\ +<?lsmb end tax ?> - \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\ + \multicolumn{2}{r}{\textbf{Total}} & <?lsmb invtotal ?> & \\ \end{tabularx} -<%notes%> +<?lsmb notes ?> \vspace{0.3cm} -<%text_amount%> ***** <%decimal%>/100 <%currency%> +<?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?> \vspace{0.3cm} -<%if paid%> +<?lsmb if paid ?> \begin{tabular}{@{}llllr@{}} \multicolumn{5}{c}{\textbf{Payments}} \\ \hline \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\ -<%end paid%> -<%foreach payment%> - <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\ -<%end payment%> -<%if paid%> +<?lsmb end paid ?> +<?lsmb foreach payment ?> + <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb paymentmemo ?> & <?lsmb payment ?> \\ +<?lsmb end payment ?> +<?lsmb if paid ?> \end{tabular} -<%end paid%> +<?lsmb end paid ?> \end{document} |