Шаблон отпуск

This commit is contained in:
iriska-gri committed 2023-11-20 16:49:47 +03:00
1 parent 261602ec06
commit cc7b5316c0
7 files changed
+134 -25

No files matched your search

+7 -1
View File
@@ -47,7 +47,13 @@ class DailyRoundUpAPIView(APIView):
def get(self, request):
user = DictEmployee.objects.using('user_directory').filter(deleted=0).values('login', 'department', 'familyname', 'name', 'parentname')
re = roundExcel(user)
file_path = re.excround()
if request.GET.get("excel") == 'round':
file_path = re.excround()
if request.GET.get("excel") == 'vacation':
file_path = re.excelvacation()