mirror of
https://github.com/koloideal/DutyLog.git
synced 2026-06-10 18:35:29 +03:00
update
This commit is contained in:
@@ -55,9 +55,6 @@ class ReportService:
|
||||
room_increase = [
|
||||
t for t in room_transactions if t.transaction_type == "increase"
|
||||
]
|
||||
room_decrease = [
|
||||
t for t in room_transactions if t.transaction_type == "decrease"
|
||||
]
|
||||
|
||||
wb = Workbook()
|
||||
|
||||
@@ -67,7 +64,6 @@ class ReportService:
|
||||
await self._create_resident_sheet(wb, "Резиденты - Начисления", resident_increase, start_date, end_date)
|
||||
await self._create_resident_sheet(wb, "Резиденты - Списания", resident_decrease, start_date, end_date)
|
||||
await self._create_resident_sheet(wb, "Комнаты - Начисления", room_increase, start_date, end_date)
|
||||
await self._create_resident_sheet(wb, "Комнаты - Списания", room_decrease, start_date, end_date)
|
||||
|
||||
output = BytesIO()
|
||||
wb.save(output)
|
||||
|
||||
Reference in New Issue
Block a user