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.compensation import *
|
2021-08-24 15:55:06 +02:00
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
# Main compensation
|
|
|
|
path("", index_view, name="index"),
|
2021-10-04 09:55:59 +02:00
|
|
|
path('new/id', new_id_view, name='new-id'),
|
2021-10-04 13:23:14 +02:00
|
|
|
path('new/<intervention_id>', new_view, name='new'),
|
|
|
|
path('new', new_view, name='new'),
|
2021-10-13 09:26:46 +02:00
|
|
|
path('<id>', detail_view, name='detail'),
|
2021-08-24 15:55:06 +02:00
|
|
|
path('<id>/log', log_view, name='log'),
|
|
|
|
path('<id>/edit', edit_view, name='edit'),
|
|
|
|
path('<id>/remove', remove_view, name='remove'),
|
2022-02-10 11:31:13 +01:00
|
|
|
|
2021-08-24 15:55:06 +02:00
|
|
|
path('<id>/state/new', state_new_view, name='new-state'),
|
2022-02-10 11:02:30 +01:00
|
|
|
path('<id>/state/<state_id>/edit', state_edit_view, name='state-edit'),
|
2022-02-10 11:31:13 +01:00
|
|
|
path('<id>/state/<state_id>/remove', state_remove_view, name='state-remove'),
|
|
|
|
|
|
|
|
path('<id>/action/new', action_new_view, name='new-action'),
|
|
|
|
path('<id>/action/<action_id>/edit', action_edit_view, name='action-edit'),
|
2021-11-09 13:06:22 +01:00
|
|
|
path('<id>/action/<action_id>/remove', action_remove_view, name='action-remove'),
|
2022-02-10 11:31:13 +01:00
|
|
|
|
2021-08-24 15:55:06 +02:00
|
|
|
path('<id>/deadline/new', deadline_new_view, name="new-deadline"),
|
2022-02-10 12:42:41 +01:00
|
|
|
path('<id>/deadline/<deadline_id>/edit', deadline_edit_view, name='deadline-edit'),
|
2022-02-02 10:17:59 +01:00
|
|
|
path('<id>/deadline/<deadline_id>/remove', deadline_remove_view, name='deadline-remove'),
|
2021-10-13 17:35:11 +02:00
|
|
|
path('<id>/report', report_view, name='report'),
|
2021-08-24 15:55:06 +02:00
|
|
|
|
|
|
|
# Documents
|
|
|
|
path('<id>/document/new/', new_document_view, name='new-doc'),
|
2022-02-10 10:44:44 +01:00
|
|
|
path('<id>/document/<doc_id>', get_document_view, name='get-doc'),
|
|
|
|
path('<id>/document/<doc_id>/remove/', remove_document_view, name='remove-doc'),
|
|
|
|
path('<id>/document/<doc_id>/edit/', edit_document_view, name='edit-doc'),
|
2021-08-24 15:55:06 +02:00
|
|
|
|
|
|
|
]
|