from django.conf.urls import include, url
from django.urls import path
from django.views.generic import TemplateView
from django.views.generic.base import RedirectView
from tenant_ongoing_order_operation import views


urlpatterns = (
    path('ongoing-jobs/detail/<int:pk>/operation/assign',
    views.OngoingWorkOrderAssignOperationView.as_view(),
    name='workery_tenant_ongoing_job_assign_operation'),

    path('ongoing-jobs/detail/<int:pk>/operation/assign/confirm',
    views.OngoingWorkOrderAssignConfirmOperationView.as_view(),
    name='workery_tenant_ongoing_job_assign_confirm_operation'),

    path('ongoing-jobs/detail/<int:pk>/operation/unassign',
    views.OngoingWorkOrderUnassignOperationView.as_view(),
    name='workery_tenant_ongoing_job_unassign_operation'),

    path('ongoing-jobs/detail/<int:pk>/operation/close',
    views.OngoingWorkOrderCloseOperationView.as_view(),
    name='workery_tenant_ongoing_job_close_operation'),

    path('ongoing-jobs/detail/<int:pk>/operation/creation-wizard',
    views.OngoingWorkOrderCreationWizardOperationView.as_view(),
    name='workery_tenant_ongoing_job_creation_wizard_operation'),

    path('ongoing-jobs/detail/<int:pk>/operation/follow-up',
    views.OngoingWorkOrderFollowUpOperationView.as_view(),
    name='workery_tenant_ongoing_job_follow_up_operation'),

    path('ongoing-jobs/detail/<int:pk>/operation/completion-survey',
    views.OngoingWorkOrderCompletionSurveyOperationView.as_view(),
    name='workery_tenant_ongoing_job_completion_survey_operation'),

    path('ongoing-jobs/detail/<int:pk>/operation/postpone',
    views.OngoingWorkPostponeOperationView.as_view(),
    name='workery_tenant_ongoing_job_postpone_operation')
)
