Hide unaccounted data from report (still calculated internally)
This commit is contained in:
@@ -145,8 +145,6 @@ class DailyReportGenerator:
|
|||||||
|
|
||||||
# 月度统计
|
# 月度统计
|
||||||
lines.append(f"当月计划作业量:{monthly_data['planned']}TEU (用天数*{self.DAILY_TARGET}TEU)")
|
lines.append(f"当月计划作业量:{monthly_data['planned']}TEU (用天数*{self.DAILY_TARGET}TEU)")
|
||||||
if monthly_data.get('unaccounted', 0) > 0:
|
|
||||||
lines.append(f"当月未统计数据:{monthly_data['unaccounted']}TEU")
|
|
||||||
lines.append(f"当月实际作业量:{monthly_data['actual']}TEU")
|
lines.append(f"当月实际作业量:{monthly_data['actual']}TEU")
|
||||||
lines.append(f"当月完成比例:{monthly_data['completion']}%")
|
lines.append(f"当月完成比例:{monthly_data['completion']}%")
|
||||||
lines.append("")
|
lines.append("")
|
||||||
|
|||||||
Reference in New Issue
Block a user