2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-19 11:38:05 +02:00

Added 'Nicht-selbstständige Tätigkeit'

This commit is contained in:
Martin Thoma 2014-01-13 13:43:50 +01:00
parent 8ed94114a2
commit 24cf7c8d0b
2 changed files with 20 additions and 4 deletions

View file

@ -0,0 +1,2 @@
Datum;Text;Betrag
01.09.2013-31.12.2013;HiWi Job - 40h im Montat,\newline{}8,90 EUR/h $\Rightarrow \num{8.90} \cdot 40 \cdot 3 = 1068$ ;1068.00
1 Datum Text Betrag
2 01.09.2013-31.12.2013 HiWi Job - 40h im Montat,\newline{}8,90 EUR/h $\Rightarrow \num{8.90} \cdot 40 \cdot 3 = 1068$ 1068.00

View file

@ -57,7 +57,7 @@
\begin{tabular}{|p{2.5cm}|p{2.5cm}|p{7cm}|p{2cm}|}\hline%
\textbf{Rechnungs-\newline{}nummer} & \textbf{Rechnungs-\newline{datum}} & \textbf{Text} & \textbf{Betrag\newline{}in EUR}
\csvreader[head to column names,separator=semicolon]{2013-einnahmen-selbststaendig.csv}{}%
{\\\hline\Rechnungsnummer & \Rechnungsdatum & \Text &\hfill\num{\Betrag}}%
{\\\hline\Rechnungsnummer & \Rechnungsdatum & \Text &\hfill\num[round-mode=places,round-precision=2]{\Betrag}}%
\\\hline\hline
\multicolumn{3}{|l|}{Summe} & \hfill\num[round-mode=places,round-precision=2]{\einnahmen}
\\\hline
@ -71,7 +71,7 @@
\begin{tabular}{|p{2cm}|p{10.4cm}|p{2cm}|}\hline%
\textbf{Datum} & \textbf{Text} & \textbf{Betrag}
\csvreader[head to column names,separator=semicolon]{2013-ausgaben.csv}{}%
{\\\hline\Datum & \Text &\hfill\num{\Betrag}}%
{\\\hline\Datum & \Text &\hfill\num[round-mode=places,round-precision=2]{\Betrag}}%
\\\hline\hline
\multicolumn{2}{|l|}{Summe} & \hfill\num[round-mode=places,round-precision=2]{\ausgaben}
\\\hline
@ -90,7 +90,7 @@
\begin{tabular}{|p{2cm}|p{10.4cm}|p{2cm}|}\hline%
\textbf{Datum} & \textbf{Text} & \textbf{Betrag}
\csvreader[head to column names,separator=semicolon]{2013-einnahmen-sonstiges.csv}{}%
{\\\hline\Datum & \Text &\hfill\num{\Betrag}}%
{\\\hline\Datum & \Text &\hfill\num[round-mode=places,round-precision=2]{\Betrag}}%
\\\hline\hline
\multicolumn{2}{|l|}{Summe} & \hfill\num[round-mode=places,round-precision=2]{\selbststaendig}
\\\hline
@ -104,10 +104,24 @@
\begin{tabular}{|p{2cm}|p{10.4cm}|p{2cm}|}\hline%
\textbf{Datum} & \textbf{Text} & \textbf{Betrag}
\csvreader[head to column names,separator=semicolon]{2013-kapitalertraege.csv}{}%
{\\\hline\Datum & \Text &\hfill\num{\Betrag}}%
{\\\hline\Datum & \Text &\hfill\num[round-mode=places,round-precision=2]{\Betrag}}%
\\\hline\hline
\multicolumn{2}{|l|}{Summe} & \hfill\num[round-mode=places,round-precision=2]{\kapitalsum}
\\\hline
\end{tabular}
\subsection*{Einnahmen aus nicht-selbstständiger Tätigkeit}
\csvreader[before reading=\def\nichstselbststaendig{0},separator=semicolon]{2013-nicht-selbststaendig.csv}{Betrag=\Betrag}{%
\pgfmathsetmacro{\nichstselbststaendig}{\nichstselbststaendig+\Betrag}%
}
\begin{tabular}{|p{2cm}|p{10.4cm}|p{2cm}|}\hline%
\textbf{Datum} & \textbf{Text} & \textbf{Betrag}
\csvreader[head to column names,separator=semicolon]{2013-nicht-selbststaendig.csv}{}%
{\\\hline\Datum & \Text &\hfill\num[round-mode=places,round-precision=2]{\Betrag}}%
\\\hline\hline
\multicolumn{2}{|l|}{Summe} & \hfill\num[round-mode=places,round-precision=2]{\nichstselbststaendig}
\\\hline
\end{tabular}
\end{document}