hassio-addons / addon-grocy

Grocy - Home Assistant Community Add-ons
https://addons.community
MIT License
319 stars 60 forks source link

Meal Plan cost display mismatch #453

Closed bandwannabe closed 2 months ago

bandwannabe commented 3 months ago

Problem/Motivation

The "Week Costs" and buttons for add to shopping list and consume all ingredients are not associated with the week that is currently displayed. The cost total and action buttons actually display and execute based on the week prior to the displayed week.

Expected behavior

Display of week cost and buttons should correlate with currently selected week.

Actual behavior

Actual week costs and buttons are accessible after moving to the next week

Steps to reproduce

Open Grocy interface from within the HomeAssistant web portal, select meal plan, set view in upper right corner to "week"

Image showing a week's meals with an incorrect sum. Grocy-WeekCostMismatch

Image showing the former week's costs on a meal plan with no meals. Grocy-WeekCostMismatch-7-7

Day by day views seem to correlate properly, but the week views do not. Issue occurs in both Chrome and Firefox.

Proposed changes

(If you have a proposed change, workaround or fix, describe the rationale behind it)

github-actions[bot] commented 2 months ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!