format of output
This commit is contained in:
@ -9,12 +9,12 @@
|
||||
|
||||
\begin{document}
|
||||
|
||||
\subsection*{Kontoauszug $year}
|
||||
\subsection*{Account Statement $year}
|
||||
|
||||
\begin{longtable}{|r|r|p{5cm}|r|r|r|p{3cm}|r|p{5cm}|}
|
||||
\hline \textcolor{blue}{\tt{id}} & \textcolor{blue}{\tt{date}} & \textcolor{blue}{\tt{description}} & \textcolor{blue}{\tt{amount}} & \textcolor{blue}{\tt{docNo}} & \textcolor{blue}{\tt{year}} & \textcolor{blue}{\tt{category}} & \textcolor{blue}{\tt{isRef}} & \textcolor{blue}{\tt{baseAccount}} \\ \hline \hline
|
||||
\begin{longtable}{|r|r|p{6cm}|r|r|r|p{3cm}|r|p{5cm}|}
|
||||
\hline \textcolor{blue}{\bf{ID}} & \textcolor{blue}{\bf{Date}} & \textcolor{blue}{\bf{Description}} & \textcolor{blue}{\bf{Amount}} & \textcolor{blue}{\bf{DocNo}} & \textcolor{blue}{\bf{Year}} & \textcolor{blue}{\bf{Category}} & \textcolor{blue}{\bf{IsRef}} & \textcolor{blue}{\bf{BaseAccount}} \\ \hline \hline
|
||||
\endfirsthead
|
||||
\hline \textcolor{blue}{\tt{id}} & \textcolor{blue}{\tt{date}} & \textcolor{blue}{\tt{description}} & \textcolor{blue}{\tt{amount}} & \textcolor{blue}{\tt{docNo}} & \textcolor{blue}{\tt{year}} & \textcolor{blue}{\tt{category}} & \textcolor{blue}{\tt{isRef}} & \textcolor{blue}{\tt{baseAccount}} \\ \hline \hline
|
||||
\hline \textcolor{blue}{\bf{ID}} & \textcolor{blue}{\bf{Date}} & \textcolor{blue}{\bf{Description}} & \textcolor{blue}{\bf{Amount}} & \textcolor{blue}{\bf{DocNo}} & \textcolor{blue}{\bf{Year}} & \textcolor{blue}{\bf{Category}} & \textcolor{blue}{\bf{IsRef}} & \textcolor{blue}{\bf{BaseAccount}} \\ \hline \hline
|
||||
\endhead
|
||||
\multicolumn{9}{r}{\em{to be continued}}
|
||||
\endfoot
|
||||
@ -26,7 +26,7 @@
|
||||
#if $entry['amount'] <= 0
|
||||
\textcolor{red}{#slurp
|
||||
#end if
|
||||
\tt{$entry['amount']}#slurp
|
||||
\tt{$entry['amount']} \,\euro{}#slurp
|
||||
#if $entry['amount'] <= 0
|
||||
}#slurp
|
||||
#end if
|
||||
@ -34,4 +34,26 @@
|
||||
#end for
|
||||
\end{longtable}
|
||||
|
||||
\pagebreak
|
||||
\subsection*{Overviews}
|
||||
|
||||
\begin{tabular}{|l|r|} \hline
|
||||
\hline \textcolor{blue}{\bf{category}} & \textcolor{blue}{\bf{sum}} \\
|
||||
#for $entry in $overview
|
||||
\hline \tt{$entry['category']} & #slurp
|
||||
#if $entry['sum'] <= 0
|
||||
\textcolor{red}{#slurp
|
||||
#end if
|
||||
\tt{$entry['sum']} \,\euro{}#slurp
|
||||
#if $entry['sum'] <= 0
|
||||
}#slurp
|
||||
#end if
|
||||
\\
|
||||
#end for
|
||||
|
||||
\hline \hline related & \tt{$related['sum']} \,\euro{} \\
|
||||
\hline unrelated & \tt{$unrelated['sum']} \,\euro{} \\
|
||||
\hline \hline
|
||||
\end{tabular}
|
||||
|
||||
\end{document}
|
||||
|
Reference in New Issue
Block a user