Добавить смену даты

This commit is contained in:
iriska-gri committed 2023-11-27 17:03:16 +03:00
1 parent da0d0b4dcb
commit 70243dd690
4 files changed
+28 -14

No files matched your search

+2 -3
View File
@@ -66,13 +66,12 @@ class DailyRoundUpAPIView(APIView):
user = DictEmployee.objects.filter(deleted=0).values('login', 'id', 'fio')
re = loadExcel(user, request.data['dailyfiles'])
pos=''
mess = 'Файл не найден'
try:
getattr(re, request.GET.get("excel"))()
mess = 'Файл загружен'
except Exception as e:
mess = 'Файл не найден'
pass