#86 Edit document EcoAccount

* adds support for editing of documents
* adds buttons and urls for ecoaccount
This commit is contained in:
2022-02-10 10:51:52 +01:00
parent a9bd92c57c
commit aa616db1f0
3 changed files with 51 additions and 18 deletions

View File

@@ -30,8 +30,9 @@ urlpatterns = [
# Documents
path('<id>/document/new/', new_document_view, name='new-doc'),
path('document/<doc_id>', get_document_view, name='get-doc'),
path('document/<doc_id>/remove/', remove_document_view, name='remove-doc'),
path('<id>/document/<doc_id>', get_document_view, name='get-doc'),
path('<id>/document/<doc_id>/edit', edit_document_view, name='edit-doc'),
path('<id>/document/<doc_id>/remove/', remove_document_view, name='remove-doc'),
# Eco-account deductions
path('<id>/deduction/<deduction_id>/remove', deduction_remove_view, name='remove-deduction'),