diff --git a/src/dutylog/services/report_service.py b/src/dutylog/services/report_service.py index 9ff2d22..7e2c521 100644 --- a/src/dutylog/services/report_service.py +++ b/src/dutylog/services/report_service.py @@ -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)