|
@@ -405,19 +405,21 @@ window.state = {
|
|
|
analytics.isPopulated = false;
|
|
analytics.isPopulated = false;
|
|
|
home.drawInventoryCheckCard();
|
|
home.drawInventoryCheckCard();
|
|
|
home.mostUsedIngredients();
|
|
home.mostUsedIngredients();
|
|
|
|
|
+ home.mostUsedRecipes();
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
updateRecipes: function(){
|
|
updateRecipes: function(){
|
|
|
recipeBook.populateRecipes();
|
|
recipeBook.populateRecipes();
|
|
|
analytics.isPopulated = false;
|
|
analytics.isPopulated = false;
|
|
|
home.mostUsedIngredients();
|
|
home.mostUsedIngredients();
|
|
|
|
|
+ home.mostUsedRecipes();
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
updateTransactions: function(transaction){
|
|
updateTransactions: function(transaction){
|
|
|
home.isPopulated = false;
|
|
home.isPopulated = false;
|
|
|
ingredients.populateByProperty();
|
|
ingredients.populateByProperty();
|
|
|
analytics.isPopulated = false;
|
|
analytics.isPopulated = false;
|
|
|
- home.drawRevenueGraph();
|
|
|
|
|
|
|
+ home.mostUsedRecipes();
|
|
|
home.mostUsedIngredients();
|
|
home.mostUsedIngredients();
|
|
|
},
|
|
},
|
|
|
|
|
|