Ingredients can now be added to shopping list when a recipe is scheduled

This commit is contained in:
Greg Burri 2025-02-10 15:02:20 +01:00
parent 15173c4842
commit ce3821b94e
12 changed files with 98 additions and 39 deletions

View file

@ -194,6 +194,7 @@ pub struct ScheduleRecipe {
pub recipe_id: i64,
pub date: NaiveDate,
pub servings: u32,
pub add_ingredients_to_shopping_list: bool,
}
#[derive(Serialize, Deserialize, Clone, Debug)]