| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- {% extends "base/base.html" %}
- {% block title %}Forderungen | Details: {{ forderungen_details[0].Beleg_Nr }}{% endblock %}
- {% block page_class %}gc-detail-page{% endblock %}
- {% block content %}
- {% set row = forderungen_details[0] %}
- <section class="gc-case-context" aria-label="Aktueller Beleg">
- <div class="gc-context-heading">
- <a class="btn btn-outline-secondary gc-back-link" href="{{ return_url }}" hx-boost="false" data-gc-return-url="{{ return_url }}">← Zurück zur Liste</a>
- <h1>{{ row.Beleg_Text }}</h1>
- <p>{{ row.Kunde_Name }} <span>· {{ row.Kunde_Nr }}</span></p>
- </div>
- <div class="gc-context-metrics">
- <div class="gc-metric gc-metric-balance"><span>Offener Betrag</span><strong>{{ row.Beleg_Offen|number_format }} €</strong></div>
- <div class="gc-metric gc-metric-level{% if row.Mahnstufe|string == "0" %} gc-metric-clear{% endif %}"><span>Mahnstufe</span><strong>{{ row.Mahnstufe }}</strong></div>
- </div>
- </section>
- <div class="gc-case-grid">
- <aside class="gc-case-data" aria-label="Grunddaten zum Beleg">
- {% include 'forderungen/details/details_uebersicht.html' %}
- </aside>
- <div class="gc-case-conversation">
- {% include 'base/chat_container.html' %}
- </div>
- <aside class="gc-case-actions" aria-label="Zusätzliche Informationen">
- <section class="gc-detail-card" aria-labelledby="actions-title">
- <h2 class="gc-section-title" id="actions-title"><i class="icon cil-settings" aria-hidden="true"></i> Bearbeitung</h2>
- {% include 'forderungen/details/details_formular.html' %}
- </section>
- {% if auftraege_positionen|length > 0 %}
- <section class="gc-detail-card" aria-labelledby="positions-title">
- <h2 class="gc-section-title" id="positions-title"><i class="icon cil-list" aria-hidden="true"></i> Auftragspositionen</h2>
- <div class="gc-table-scroll" tabindex="0" role="region" aria-label="Auftragspositionen">
- {% include 'forderungen/details/details_positionen.html' %}
- </div>
- </section>
- {% endif %}
- </aside>
- </div>
- {% include 'forderungen/details/files_panel.html' %}
- <section class="gc-detail-card gc-case-bookings gc-case-history" aria-labelledby="bookings-title">
- <h2 class="gc-section-title" id="bookings-title"><i class="icon cil-calculator" aria-hidden="true"></i> Buchungsbelege</h2>
- <p class="gc-section-description">Debitorenkonto {{ row.Kunde_Nr }} · {{ row.Kunde_Name }}</p>
- {% include 'forderungen/details/details_buchungen.html' %}
- </section>
- {% endblock %}
|