Allow independent dates while ARR field reviews are pending

This commit is contained in:
Wyndham ARR committed 2026-10-08 17:27:56 +08:00
1 parent fe8735aac2
commit fb07580c0c
15 files changed
+316 -16

No files matched your search

+2
View File
@@ -368,6 +368,8 @@ class PortalApplication:
"default_date": default_report_date(),
"business_time_zone": "Asia/Bangkok",
"latest_task": self._arr_download_snapshot(self._arr_downloads.latest()),
"pending_data_reviews": [self._arr_download_snapshot(task) for task in
getattr(self._arr_downloads, "pending_data_reviews", lambda: [])()],
}))
if method == "POST" and route.path == "/api/arr-downloads":
self._require_csrf(normalized_headers)