2021-08-24 15:55:06 +02:00
|
|
|
"""
|
|
|
|
Author: Michel Peltriaux
|
|
|
|
Organization: Struktur- und Genehmigungsdirektion Nord, Rhineland-Palatinate, Germany
|
|
|
|
Contact: michel.peltriaux@sgdnord.rlp.de
|
|
|
|
Created on: 24.08.21
|
|
|
|
|
|
|
|
"""
|
|
|
|
from django.urls import path
|
2021-11-16 09:02:44 +01:00
|
|
|
from compensation.views.eco_account import *
|
2021-08-24 15:55:06 +02:00
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path("", index_view, name="acc-index"),
|
|
|
|
path('new/', new_view, name='acc-new'),
|
2021-10-05 16:35:24 +02:00
|
|
|
path('new/id', new_id_view, name='acc-new-id'),
|
2021-10-13 09:26:46 +02:00
|
|
|
path('<id>', detail_view, name='acc-detail'),
|
2021-08-24 15:55:06 +02:00
|
|
|
path('<id>/log', log_view, name='acc-log'),
|
|
|
|
path('<id>/record', record_view, name='acc-record'),
|
2021-10-13 17:35:11 +02:00
|
|
|
path('<id>/report', report_view, name='acc-report'),
|
2021-08-24 15:55:06 +02:00
|
|
|
path('<id>/edit', edit_view, name='acc-edit'),
|
|
|
|
path('<id>/remove', remove_view, name='acc-remove'),
|
|
|
|
path('<id>/state/new', state_new_view, name='acc-new-state'),
|
|
|
|
path('<id>/action/new', action_new_view, name='acc-new-action'),
|
2021-11-09 13:06:22 +01:00
|
|
|
path('<id>/state/<state_id>/remove', state_remove_view, name='acc-state-remove'),
|
|
|
|
path('<id>/action/<action_id>/remove', action_remove_view, name='acc-action-remove'),
|
2021-08-24 15:55:06 +02:00
|
|
|
path('<id>/deadline/new', deadline_new_view, name="acc-new-deadline"),
|
2021-10-26 15:09:30 +02:00
|
|
|
path('<id>/share/<token>', share_view, name='share'),
|
|
|
|
path('<id>/share', create_share_view, name='share-create'),
|
2021-08-24 15:55:06 +02:00
|
|
|
|
|
|
|
# Documents
|
|
|
|
path('<id>/document/new/', new_document_view, name='acc-new-doc'),
|
2021-09-01 16:24:49 +02:00
|
|
|
path('document/<doc_id>', get_document_view, name='acc-get-doc'),
|
|
|
|
path('document/<doc_id>/remove/', remove_document_view, name='acc-remove-doc'),
|
2021-08-24 15:55:06 +02:00
|
|
|
|
2021-08-30 11:29:15 +02:00
|
|
|
# Eco-account deductions
|
2021-11-10 15:36:18 +01:00
|
|
|
path('<id>/remove/<deduction_id>', deduction_remove_view, name='acc-remove-deduction'),
|
2021-08-30 11:29:15 +02:00
|
|
|
path('<id>/deduct/new', new_deduction_view, name='acc-new-deduction'),
|
2021-08-24 15:55:06 +02:00
|
|
|
|
|
|
|
]
|