Commit 34bf4bab authored by Gladys Forte's avatar Gladys Forte

rejected remarks

parent 44cff872
......@@ -54,6 +54,7 @@ from app.applicationlayer.cms.form.header.table_filters import HeaderFilterSet
from rest_framework.filters import SearchFilter, OrderingFilter
from django_filters import rest_framework as filters
from django_filters.rest_framework import DjangoFilterBackend
import json
APPROVER_MESSAGE = settings.APPROVER_MESSAGE
REQUESTOR_MESSAGE = settings.REQUESTOR_MESSAGE
......@@ -450,7 +451,7 @@ class ChangeRequestFormsViewset(viewsets.ModelViewSet):
return Response(
{"message": "Cannot archive this change request due to ongoing transaction"},
status=status.HTTP_400_BAD_REQUEST)
except Exception as e:
return Response(e,
status=status.HTTP_500_INTERNAL_SERVER_ERROR)
......@@ -561,7 +562,7 @@ class ChangeRequestFormsViewset(viewsets.ModelViewSet):
# partial update
partial = kwargs.pop('partial', True)
instance = self.get_object()
form_code = kwargs['form_code']
# get prefix from template header
......
......@@ -494,7 +494,7 @@ def routing_table_actions(args):
department_requestedto = args[7]
priority_level = args[8]
url = args[9]
remarks = args[10]
remarks = str(args[10])
recipient = args[11]
action_type = args[12]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment