Details
-
Type: New Feature
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 5.0.0
-
Fix Version/s: 5.12.0-b1
-
Component/s: Plugins, Staff Interface
-
Labels:None
Description
The Billing at a Glance widget that appears under the Billing > Overview by default has graphs that show the current year to date. It's very useful to be able to see previous periods, but that's not possible.
Next to the currency selector, add a drop down menu for the year, defaulting to the current behavior. Current Behavior is pulled from the Graph Settings in the widget configuration. By default this is 7 days. We also have a 30 day option in the settings. So we would show these, defaulting to the widget setting and displaying 10 options, current year going back 9 more years.
7 days
30 days
2025
2024
2023
2022
...
2015
Selecting a different option will reload all of the graphs with data for that period. 7 days, and 30 days are current behavior, and are for the last 7 or 30 days. The year selection would be for the calendar year. Selecting 2025 would show only 2025, 2024 only 2024, etc.
It might be nice if we could only show years that we have data for, but the above is fine if that's not a super easy thing to do.