From de961d781067faab208ebe16b86628cb79aa53c2 Mon Sep 17 00:00:00 2001 From: Thunder Date: Tue, 23 Apr 2024 15:25:16 +0200 Subject: [PATCH] Fix the approve issue. (#402) --- client/src/components/NotificationDetails.vue | 65 ++++++++++++++++++- .../components/NotificationDetailsDialog.vue | 14 ++-- client/src/components/cards/vacationCard.vue | 16 ++--- server/cshr/serializers/users.py | 5 +- server/cshr/utils/redis_functions.py | 53 +++++++++++---- server/cshr/utils/vacation_balance_helper.py | 5 +- server/cshr/views/notifications.py | 5 +- server/settings.py | 2 +- 8 files changed, 129 insertions(+), 36 deletions(-) diff --git a/client/src/components/NotificationDetails.vue b/client/src/components/NotificationDetails.vue index a7abdf9f..a218f233 100644 --- a/client/src/components/NotificationDetails.vue +++ b/client/src/components/NotificationDetails.vue @@ -42,15 +42,27 @@ + - Close + +
+ Approve + Reject + +
+ Close +