添加功能
This commit is contained in:
@@ -570,14 +570,11 @@ class PropertyReconciliationLine(models.Model):
|
||||
rent_month = round(line.rent_month or 0, 2)
|
||||
amount = round(line.amount or 0, 2)
|
||||
debt_amount = round(rent - amount, 2)
|
||||
|
||||
# ===================== 不显示备注条件 =====================
|
||||
same_month = (due_month == actual_month) and (due_year == actual_year)
|
||||
no_remark = same_month and (rent == rent_month)
|
||||
if no_remark:
|
||||
line.remake = ""
|
||||
continue
|
||||
|
||||
debt_str = f',欠{debt_amount}' if debt_amount != 0 else ''
|
||||
if same_month:
|
||||
# 条件1:rent_month≠rent 且 rent_month≠amount 且 amount≠0 → 补交
|
||||
|
||||
Reference in New Issue
Block a user