feat(core): Add delete view for ticket types: request, incident, change and problem

ref: #250 #96 #93 #95 #90 #263
This commit is contained in:
2024-09-03 14:54:58 +09:30
parent a3bfa921e8
commit cfc690f1c2
3 changed files with 45 additions and 0 deletions

View File

@ -17,6 +17,7 @@ urlpatterns = [
path('ticket/request', ticket.Index.as_view(), kwargs={'ticket_type': 'request'}, name="Requests"),
path('ticket/<str:ticket_type>/add', ticket.Add.as_view(), name="_ticket_request_add"),
path('ticket/<str:ticket_type>/<int:pk>/edit', ticket.Change.as_view(), name="_ticket_request_change"),
path('ticket/<str:ticket_type>/<int:pk>/delete', ticket.Delete.as_view(), name="_ticket_request_delete"),
path('ticket/<str:ticket_type>/<int:pk>', ticket.View.as_view(), name="_ticket_request_view"),
path('ticket/<str:ticket_type>/<int:ticket_id>/comment/add', ticket_comment.Add.as_view(), name="_ticket_comment_request_add"),