overview tmpl

This commit is contained in:
2022-01-29 15:43:50 +01:00
parent 7d8755aab9
commit d7c713404d
3 changed files with 33 additions and 24 deletions

View File

@ -1,19 +1,33 @@
\documentclass[12pt]{article}
\usepackage{german}
\usepackage{eurosym}
\usepackage[a4paper, left=2cm, right=2cm, top=2cm]{geometry}
\begin{document}
Haus: $details['description']
Jahr: $year
\begin{tabular}{|p{5cm}|r|r|r|}
Art | Wohnungen | andere Flächen | gesamt
\hline Art & Wohnungen & andere Fl"achen & gesamt \\
Fläche | $areas['flat_area'] | $areas['other_area']
Faktor | $areas['flat_factor'] | $areas['other_factor']
\hline Fl"ache & $areas['flat_area'] & $areas['other_area'] & $areas['total_area'] \\
\hline Faktor & #echo '%.10f' % $areas['flat_factor'] # & #echo '%.10f' % $areas['other_factor'] # & \\
#for $item in $overhead_items
$item['category'] | $item['flat_part'] | $item['other_part'] | $item['sum']
\hline $item['category'] & #echo '%.2f' % $item['flat_part'] # & #echo '%.2f' % $item['other_part'] # & #echo '%.2f' % $item['sum'] # \\
#end for
Zwischensumme | $flat_sum | $other_sum | $total_sum
Umlageausfallwagnis | $umlage_ausfall_wagnis
Summe | $flat_sum_2
\hline Zwischensumme & #echo '%.2f' % $flat_sum # & #echo '%.2f' % $other_sum # & #echo '%.2f' % $total_sum # \\
\hline Umlageausfallwagnis & #echo '%.2f' % $umlage_ausfall_wagnis # & & \\
\hline Summe & #echo '%.2f' % $flat_sum_2 # & & \\
Anteil / Monat / m2 | $part_by_montharea
\hline Anteil / Monat / m2 & #echo '%.10f' % $part_by_montharea # & & \\
\hline
\end{tabular}
\end{document}