Generalize email system with invoice workflow and Stiftungsgeschichte category
- Rename DestinataerEmailEingang → EmailEingang with category support (destinataer, rechnung, land_pacht, stiftungsgeschichte, allgemein) - Add invoice capture workflow: create Verwaltungskosten from email, link DMS documents as invoice attachments, track payment status - Add Stiftungsgeschichte email category with auto-detection patterns (Ahnenforschung, Genealogie, Chronik, etc.) and DMS integration - Update poll_emails task with category detection and DMS context mapping - Show available history documents in Geschichte editor sidebar - Consolidate DMS views, remove legacy dokument templates - Update all detail/form templates for DMS document linking - Add deploy.sh script and streamline compose.yml Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -296,8 +296,8 @@
|
||||
<span class="badge bg-primary ms-2">{{ verknuepfte_dokumente.count }}</span>
|
||||
{% endif %}
|
||||
</h6>
|
||||
<a href="/dokumente/verwaltung/" class="btn btn-outline-primary btn-sm">
|
||||
<i class="fas fa-link me-1"></i>Dokumentenverwaltung
|
||||
<a href="{% url 'stiftung:dms_list' %}" class="btn btn-outline-primary btn-sm">
|
||||
<i class="fas fa-folder-open me-1"></i>Dokumentenverwaltung
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@@ -318,10 +318,7 @@
|
||||
</small>
|
||||
</div>
|
||||
<div class="d-flex gap-2">
|
||||
<a href="/api/paperless/documents/{{ dokument.paperless_document_id }}/"
|
||||
class="btn btn-outline-primary btn-sm" target="_blank" title="In Paperless öffnen">
|
||||
<i class="fas fa-external-link-alt"></i>
|
||||
</a>
|
||||
<span class="badge bg-secondary">Legacy</span>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
@@ -332,7 +329,7 @@
|
||||
<small class="text-muted">
|
||||
<i class="fas fa-info-circle me-1"></i>
|
||||
Es werden nur die neuesten 10 Dokumente angezeigt.
|
||||
<a href="/dokumente/verwaltung/" class="text-decoration-none">Alle Dokumente anzeigen</a>
|
||||
<a href="{% url 'stiftung:dms_list' %}" class="text-decoration-none">Alle Dokumente anzeigen</a>
|
||||
</small>
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -342,7 +339,7 @@
|
||||
<h5 class="text-muted">Keine Dokumente verknüpft</h5>
|
||||
<p class="text-muted">
|
||||
Verknüpfen Sie Dokumente über die
|
||||
<a href="/dokumente/verwaltung/" class="text-decoration-none">Dokumentenverwaltung</a>.
|
||||
<a href="{% url 'stiftung:dms_list' %}" class="text-decoration-none">Dokumentenverwaltung</a>.
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user