details.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {% extends "base/base.html" %}
  2. {% block title %}Forderungen | Details: {{ forderungen_details[0].Beleg_Nr }}{% endblock %}
  3. {% block page_class %}gc-detail-page{% endblock %}
  4. {% block content %}
  5. {% set row = forderungen_details[0] %}
  6. <section class="gc-case-context" aria-label="Aktueller Beleg">
  7. <div class="gc-context-heading">
  8. <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>
  9. <h1>{{ row.Beleg_Text }}</h1>
  10. <p>{{ row.Kunde_Name }} <span>· {{ row.Kunde_Nr }}</span></p>
  11. </div>
  12. <div class="gc-context-metrics">
  13. <div class="gc-metric gc-metric-balance"><span>Offener Betrag</span><strong>{{ row.Beleg_Offen|number_format }} €</strong></div>
  14. <div class="gc-metric gc-metric-level{% if row.Mahnstufe|string == "0" %} gc-metric-clear{% endif %}"><span>Mahnstufe</span><strong>{{ row.Mahnstufe }}</strong></div>
  15. </div>
  16. </section>
  17. <div class="gc-case-grid">
  18. <aside class="gc-case-data" aria-label="Grunddaten zum Beleg">
  19. {% include 'forderungen/details/details_uebersicht.html' %}
  20. </aside>
  21. <div class="gc-case-conversation">
  22. {% include 'base/chat_container.html' %}
  23. </div>
  24. <aside class="gc-case-actions" aria-label="Zusätzliche Informationen">
  25. <section class="gc-detail-card" aria-labelledby="actions-title">
  26. <h2 class="gc-section-title" id="actions-title"><i class="icon cil-settings" aria-hidden="true"></i> Bearbeitung</h2>
  27. {% include 'forderungen/details/details_formular.html' %}
  28. </section>
  29. {% if auftraege_positionen|length > 0 %}
  30. <section class="gc-detail-card" aria-labelledby="positions-title">
  31. <h2 class="gc-section-title" id="positions-title"><i class="icon cil-list" aria-hidden="true"></i> Auftragspositionen</h2>
  32. <div class="gc-table-scroll" tabindex="0" role="region" aria-label="Auftragspositionen">
  33. {% include 'forderungen/details/details_positionen.html' %}
  34. </div>
  35. </section>
  36. {% endif %}
  37. </aside>
  38. </div>
  39. {% include 'forderungen/details/files_panel.html' %}
  40. <section class="gc-detail-card gc-case-bookings gc-case-history" aria-labelledby="bookings-title">
  41. <h2 class="gc-section-title" id="bookings-title"><i class="icon cil-calculator" aria-hidden="true"></i> Buchungsbelege</h2>
  42. <p class="gc-section-description">Debitorenkonto {{ row.Kunde_Nr }} · {{ row.Kunde_Name }}</p>
  43. {% include 'forderungen/details/details_buchungen.html' %}
  44. </section>
  45. {% endblock %}