Переезд
This commit is contained in:
1 parent
1c0764d1ea
commit
0e72d6c335
5 files changed
+25
-16
No files matched your search
@@ -268,11 +268,11 @@ class loadExcel():
|
||||
DailyRoundUp.objects.update_or_create(todaysDate=datetime.strptime(datas, '%d.%m.%Y').strftime('%Y-%m-%d'),
|
||||
user=df3['login'][ind], defaults={'position':base})
|
||||
|
||||
pos = DailyRoundUp.objects.values('position__name', 'position').filter(position=6,todaysDate=date.today()).annotate(Count('user'))
|
||||
# pos = DailyRoundUp.objects.values('position__name', 'position').filter(position=6,todaysDate=date.today()).annotate(Count('user'))
|
||||
|
||||
|
||||
|
||||
return pos
|
||||
return ''
|
||||
|
||||
def vacationsExcel(self):
|
||||
ed = pd.read_excel(self.file, sheet_name='Запланированные отпуска')
|
||||
|
||||
Reference in new issue
Block a user