diff --git a/care/facility/api/viewsets/shifting.py b/care/facility/api/viewsets/shifting.py index 042aa1d793..aaadfc19df 100644 --- a/care/facility/api/viewsets/shifting.py +++ b/care/facility/api/viewsets/shifting.py @@ -130,6 +130,8 @@ def transfer(self, request, *args, **kwargs): patient.is_active = True patient.allow_transfer = False patient.save() + shifting_obj.status = 80 + shifting_obj.save(update_fields=["status"]) return Response({"transfer": "completed"}, status=status.HTTP_200_OK) return Response({"error": "Invalid Request"}, status=status.HTTP_400_BAD_REQUEST)