#86 Edit document EcoAccount

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

No files matched your search

+3 -2
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'),