feat: Add edit and delete functionality for Verwaltungskosten

- Add verwaltungskosten_delete view with confirmation page
- Add delete URL route and template
- Fix template action buttons to use proper URLs for edit/delete
- Include audit logging for deletions
- Add comprehensive delete confirmation with entry details
- Remove non-functional details button from action group
This commit is contained in:
2025-10-05 23:42:05 +02:00
parent ca3bf0f296
commit f04d93c7f0
4 changed files with 135 additions and 5 deletions

View File

@@ -219,6 +219,11 @@ urlpatterns = [
views.verwaltungskosten_edit,
name="verwaltungskosten_edit",
),
path(
"geschaeftsfuehrung/verwaltungskosten/<uuid:pk>/loeschen/",
views.verwaltungskosten_delete,
name="verwaltungskosten_delete",
),
path(
"verwaltungskosten/mark-paid/",
views.mark_expense_paid,