From 0b83ea2af158e860e92dfa405af032b3edd45053 Mon Sep 17 00:00:00 2001 From: shahzeydyfah Date: Fri, 6 Jun 2025 23:13:38 +0330 Subject: [PATCH] feat(bill delay):add delay date in update --- app/repositories/bill_delay.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/repositories/bill_delay.py b/app/repositories/bill_delay.py index 48f9311..65fb106 100644 --- a/app/repositories/bill_delay.py +++ b/app/repositories/bill_delay.py @@ -55,6 +55,8 @@ class BillDelayRepository(BaseRepository): all_total += coding.extra_new_work if coding.other: all_total += coding.other + if coding.illegal: + all_total += int(coding.illegal) if coding.overlapping: all_total -= coding.overlapping if all_total: