Ingredients can now be remove from shopping list when a recipe is unscheduled.

This commit is contained in:
Greg Burri 2025-02-12 02:05:38 +01:00
parent a3f2b4a86a
commit da5ea57787
7 changed files with 92 additions and 36 deletions

View file

@ -204,9 +204,10 @@ pub enum ScheduleRecipeResult {
}
#[derive(Serialize, Deserialize, Clone, Debug)]
pub struct ScheduledRecipe {
pub struct RemoveScheduledRecipe {
pub recipe_id: i64,
pub date: NaiveDate,
pub remove_ingredients_from_shopping_list: bool,
}
/*** Shopping list ***/