Refactors the Berichte section from a single hardcoded Jahresbericht into a modular report-building system. Jahresbericht now uses PDFGenerator for corporate identity (logo, colors, headers/footers, cover page). 8 reusable section templates can be freely combined. 6 predefined report templates (Jahres-, Destinatär-, Grundstücks-, Finanz-, Förder-, Pachtbericht) with HTML preview and PDF export. New Bericht-Baukasten UI lets users compose custom reports from individual sections. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
31 lines
782 B
HTML
31 lines
782 B
HTML
<!-- Sektion: Verwaltungskosten -->
|
|
{% if verwaltungskosten_nach_kategorie %}
|
|
<div class="section">
|
|
<h2>Verwaltungskosten {{ jahr }}</h2>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Kategorie</th>
|
|
<th>Anzahl</th>
|
|
<th>Betrag</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for k in verwaltungskosten_nach_kategorie %}
|
|
<tr>
|
|
<td>{{ k.kategorie|capfirst }}</td>
|
|
<td>{{ k.anzahl }}</td>
|
|
<td class="amount">€{{ k.summe|floatformat:2 }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
<tfoot>
|
|
<tr style="font-weight: bold; background: #f0f7f4;">
|
|
<td colspan="2">Gesamt</td>
|
|
<td class="amount">€{{ total_verwaltungskosten|floatformat:2 }}</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</div>
|
|
{% endif %}
|