Manage daily reports by date and refresh monthly reports after deletion

This commit is contained in:
Wyndham ARR committed 2026-10-09 11:09:33 +08:00
1 parent 976a4fa7b2
commit 2a54838d59
41 files changed
+2757 -89

No files matched your search

+9
View File
@@ -14,6 +14,15 @@ from arr_web.server import serve
class EmptyPreviewRepository(UnavailablePortalRepository):
def list_daily_reports(self, month_key, limit=50, offset=0):
return [], 0
def get_daily_report(self, business_date):
return {"business_date": business_date, "current_job": None, "latest_job": None, "history_count": 0}
def list_daily_report_history(self, business_date, limit=50, offset=0):
return [], 0
def list_jobs(self, month_key, limit=50, offset=0):
return [], 0