Compare commits
No commits in common. "c5dd98cda6289ee21288d135c1a9c13a7a2f52bb" and "a339540f4c6e17d342099ab87251a4e79a3db43f" have entirely different histories.
c5dd98cda6
...
a339540f4c
@ -1 +1 @@
|
|||||||
v20260103-04-reports-default-period-fix
|
v20260103-03-reports-loading-fix
|
||||||
|
|||||||
@ -1,12 +1,5 @@
|
|||||||
from .routes_shared import * # noqa: F401,F403
|
from .routes_shared import * # noqa: F401,F403
|
||||||
|
|
||||||
def get_default_report_period():
|
|
||||||
"""Return default report period (last 7 days)."""
|
|
||||||
period_end = date.today()
|
|
||||||
period_start = period_end - timedelta(days=7)
|
|
||||||
return period_start, period_end
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def _safe_json_list(value):
|
def _safe_json_list(value):
|
||||||
if not value:
|
if not value:
|
||||||
|
|||||||
@ -21,14 +21,6 @@
|
|||||||
- Fixed customer selection components on the Reports pages that could remain in a loading state.
|
- Fixed customer selection components on the Reports pages that could remain in a loading state.
|
||||||
- Improved robustness of report data handling to prevent rendering issues caused by invalid or missing customer references.
|
- Improved robustness of report data handling to prevent rendering issues caused by invalid or missing customer references.
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## v20260103-04-reports-default-period-fix
|
|
||||||
|
|
||||||
- Fixed a NameError on the Reports page by adding the missing get_default_report_period helper.
|
|
||||||
- Ensured a default reporting period is always available to prevent the Reports view from failing during load.
|
|
||||||
|
|
||||||
|
|
||||||
================================================================================================================================================
|
================================================================================================================================================
|
||||||
|
|
||||||
## v0.1.15
|
## v0.1.15
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user