{% extends "base.html" %} {% block content %}
← Previous

{{ year }} - {{ month_name }} (Sheet {{ month }}/6)

Next → Go to Summary

Table 1: Top Left

{% for header in top_left_headers %} {% endfor %} {% for row in top_left_rows %} {% with rownum=forloop.counter %} {% for cell in row.cells %} {% if is_start_sheet or rownum == 1 or rownum == 5 or rownum == 6 %} {# Editable in start sheet OR always editable rows (B3, B7, B8) #} {% else %} {# Readonly for non-start sheets #} {% endif %} {% endfor %} {% endwith %} {% endfor %}
Row Label{{ header }}Sum
{% if rownum == 1 %} Stand der Gaszähler (Nm³) {% elif rownum == 2 %} Stand der Gaszähler (Vormonat) (Nm³) {% elif rownum == 3 %} Gasrückführung (Nm³) {% elif rownum == 4 %} Rückführung flüssig (Lit. L-He) {% elif rownum == 5 %} Sonderrückführungen (Lit. L-He) {% elif rownum == 6 %} Bestand in Kannen-1 (Lit. L-He) {% elif rownum == 7 %} Summe Bestand (Lit. L-He) {% elif rownum == 8 %} Best. in Kannen Vormonat (Lit. L-He) {% elif rownum == 9 %} Bezug (Liter L-He) {% elif rownum == 10 %} Rückführ. Soll (Lit. L-He) {% elif rownum == 11 %} Verluste (Soll-Rückf.) (Lit. L-He) {% elif rownum == 12 %} Füllungen warm (Lit. L-He) {% elif rownum == 13 %} Kaltgas Rückgabe (Lit. L-He) – Faktor {% elif rownum == 14 %} Faktor 0.06 {% elif rownum == 15 %} Verbraucherverluste (Liter L-He) {% elif rownum == 16 %} % {% elif rownum == 17 %} Gesamtrückführung (Nm³) {% elif rownum == 18 %} Aufgeteilte Verluste (Liter L-He) {% endif %} {{ cell.value|default:"" }} {{ cell.value|default:"" }} {{ row.sum|default_if_none:"" }}

Table 2: Top Right

{% for header in top_right_headers %} {% endfor %} {% for row in top_right_rows %} {% with rownum=forloop.counter %} {% for cell in row.cells %} {% with client_name=cell.client.name|default:"" %} {# Determine if this cell should be editable #} {% if is_start_sheet %} {% elif rownum == 4 or rownum == 6 or rownum == 1 and client_name in "M3 Thiele,M3 Buntkowsky,M3 Gutfleisch" %} {% else %} {% endif %} {% endwith %} {% endfor %} {% endwith %} {% endfor %}
Row Label{{ header }}Sum
{% if rownum == 1 %} Stand der Gaszähler (Vormonat) (Nm³) {% elif rownum == 2 %} Gasrückführung (Nm³) {% elif rownum == 3 %} Rückführung flüssig (Lit. L-He) {% elif rownum == 4 %} Sonderrückführungen (Lit. L-He) {% elif rownum == 5 %} Sammelrückführungen (Lit. L-He) {% elif rownum == 6 %} Bestand in Kannen-1 (Lit. L-He) {% elif rownum == 7 %} Summe Bestand (Lit. L-He) {% elif rownum == 8 %} Best. in Kannen Vormonat (Lit. L-He) {% elif rownum == 9 %} Bezug (Liter L-He) {% elif rownum == 10 %} Rückführ. Soll (Lit. L-He) {% elif rownum == 11 %} Verluste (Soll-Rückf.) (Lit. L-He) {% elif rownum == 12 %} Füllungen warm (Lit. L-He) {% elif rownum == 13 %} Kaltgas Rückgabe (Lit. L-He) – Faktor {% elif rownum == 14 %} Faktor 0.06 {% elif rownum == 15 %} Verbraucherverluste (Liter L-He) {% elif rownum == 16 %} % {% endif %} {{ cell.value|default:"" }} {{ cell.value|default:"" }} {% if rownum == 2 %} Aufteilung Nach Verbrauch {% else %} {{ cell.value|default:"" }} {% endif %} {{ row.sum|default_if_none:"" }}

Bottom Table 1

{% for client in clients %} {% endfor %} {% for row in cells_by_table.bottom_1 %} {% for cell in row %} {% endfor %} {% endfor %}
Row Label{{ client.name }}
Row {{ forloop.counter }} {{ cell.value|default:"" }}

Bottom Table 2

{% for client in clients %} {% endfor %} {% for row in cells_by_table.bottom_2 %} {% for cell in row %} {% endfor %} {% endfor %}
Row Label{{ client.name }}
Row {{ forloop.counter }} {{ cell.value|default:"" }}

Bottom Table 3

{% for client in clients %} {% endfor %} {% for row in cells_by_table.bottom_3 %} {% for cell in row %} {% endfor %} {% endfor %}
Row Label{{ client.name }}
Row {{ forloop.counter }} {{ cell.value|default:"" }}
Saved cells Calculated cells
{% endblock %}