Ingredients can now be remove from shopping list when a recipe is unscheduled.
This commit is contained in:
parent
a3f2b4a86a
commit
da5ea57787
7 changed files with 92 additions and 36 deletions
|
|
@ -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 ***/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue