NorwoodAndBrixtonFoodbank / nbf-website

https://main.d3dkw68f839t0q.amplifyapp.com/
5 stars 2 forks source link

Smart Shopping Lists taking information from Dietary requirements (e.g. If Halal, remove line item "Meat" etc) #160

Open dan-langridge opened 7 months ago

dan-langridge commented 7 months ago

Is your feature request related to a problem? If so, please describe.

No response

Describe the solution / feature you'd like

On the Shopping List, it would be great if it could taking information from Dietary requirements and tailor the list to those persons dietary requirements. For example: -If Halal, remove Meat / MeatNoPork -If Vegan, remove dairy milk, rice pudding, meat, fish -If Dog/Cat ticket, then add Dog/Cat food -If Gluten Free, adds warning where you might need to check carefully - biscuits, cakes, etc

Understand that this poses an issue where if a food item get's renamed then it will break the code. That's why we never implemented in the first iteration of the software...

Additional context

No response

dan-langridge commented 4 months ago

Meat & Pork Meat (No Pork) Fish Vegetarian Vegan Halal

The above are currently on the form Dietary Requirements section. These should link to items on the Shopping List and each line should be added to the shopping list if that item is ticked.

() No Dairy () No Nuts () Gluten Free () Diabetic

() items should remain in the client info box at the top of the shopping list page and would not be line items on the shopping list.

e.g. in client dietary requirements Form, if Meat+Pork is ticked, that line appears on the shopping list. and If Cat or Dog is ticked in Pet section on form, then that item is added on the shopping list.