Kontoauszug
This commit is contained in:
37
cli/accountStatement.tmpl
Normal file
37
cli/accountStatement.tmpl
Normal file
@ -0,0 +1,37 @@
|
||||
\documentclass[10pt]{article}
|
||||
\usepackage{german}
|
||||
\usepackage{eurosym}
|
||||
\usepackage[a4paper, landscape=true, left=2cm, right=2cm, top=2cm]{geometry}
|
||||
\usepackage{icomma}
|
||||
\usepackage{longtable}
|
||||
\usepackage{color}
|
||||
\setlength{\parindent}{0pt}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\subsection*{Kontoauszug $year}
|
||||
|
||||
\begin{longtable}{rrp{5cm}rrrp{3cm}l}
|
||||
\bf{id} & \bf{createdAt} & \bf{description} & \bf{amount} & \bf{documentNo} & \bf{fiscalYear} & \bf{category} & \bf{account} \\ \hline
|
||||
\endfirsthead
|
||||
\bf{id} & \bf{createdAt} & \bf{description} & \bf{amount} & \bf{documentNo} & \bf{fiscalYear} & \bf{category} & \bf{account} \\ \hline
|
||||
\endhead
|
||||
\hline \multicolumn{8}{r}{\em{to be continued}}
|
||||
\endfoot
|
||||
\hline
|
||||
\endlastfoot
|
||||
|
||||
#for $entry in $entries
|
||||
\tt{$entry['id']} & \tt{$entry['created_at']} & \tt{$entry['description']} & #slurp
|
||||
#if not $entry['income']
|
||||
\textcolor{red}{#slurp
|
||||
#end if
|
||||
\tt{$entry['amount']}#slurp
|
||||
#if not $entry['income']
|
||||
}#slurp
|
||||
#end if
|
||||
& \tt{$entry['document_no']} & \tt{$entry['fiscal_year']} & \tt{$entry['category']} & \tt{{ $entry['account'].replace('_', '\\textunderscore ') }} \\
|
||||
#end for
|
||||
\end{longtable}
|
||||
|
||||
\end{document}
|
Reference in New Issue
Block a user