From 04d6d1613856d2634f3a8e30185e3197be9b41f1 Mon Sep 17 00:00:00 2001 From: odex Date: Mon, 8 Jul 2024 14:39:38 +0300 Subject: [PATCH] fix --- odex25_mobile/odex_mobile/controllers/rest_api_v2/leave.py | 1 + 1 file changed, 1 insertion(+) diff --git a/odex25_mobile/odex_mobile/controllers/rest_api_v2/leave.py b/odex25_mobile/odex_mobile/controllers/rest_api_v2/leave.py index 7edc95777..0a230bf60 100644 --- a/odex25_mobile/odex_mobile/controllers/rest_api_v2/leave.py +++ b/odex25_mobile/odex_mobile/controllers/rest_api_v2/leave.py @@ -38,6 +38,7 @@ class LeaveController(http.Controller): value = {'id': hol.id, 'type': hol.holiday_status_id.name, 'type_value': hol.holiday_status_id.id, + 'reason_msg': hol.reject_reason or "", 'alternative_chick': hol.holiday_status_id.alternative_chick, 'replacement_id': hol.replace_by.id if hol.replace_by else False, 'replacement_name': hol.replace_by.name if hol.replace_by else False,