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: