[UPDT] BASE: Updated rotating work type assign delete and archive method by adding hx-attribute

This commit is contained in:
Horilla
2024-03-07 15:44:41 +05:30
parent 3e5c4f80e2
commit f6d4a6843a
6 changed files with 236 additions and 119 deletions

View File

@@ -245,7 +245,7 @@ urlpatterns = [
},
),
path(
"rotating-work-type-assign-archive/<int:id>/",
"rotating-work-type-assign-archive/<int:obj_id>/",
views.rotating_work_type_assign_archive,
name="rotating-work-type-assign-archive",
),
@@ -260,7 +260,7 @@ urlpatterns = [
name="rotating-shift-work-type-bulk-delete",
),
path(
"rotating-work-type-assign-delete/<int:id>/",
"rotating-work-type-assign-delete/<int:obj_id>/",
views.rotating_work_type_assign_delete,
name="rotating-work-type-assign-delete",
),