Commit Graph

22 Commits

Author SHA1 Message Date
Christopher C. Wells 2f91c320ef Refactor nutrients data array as a collection 2021-02-21 08:23:30 -08:00
Christopher C. Wells ae27a2e4bd Fix Ingredient/HasIngredient trait relationships 2021-02-17 06:05:29 -08:00
Christopher C. Wells e356c56bf6 Add ability to google recipe per-ingredient nutrient data 2021-02-16 06:04:14 -08:00
Christopher C. Wells 33a8591c72 Add handling for recipes by weight in ingredient amounts and journal entries 2021-02-11 20:25:36 -08:00
Christopher C. Wells c909d3b535 Calculate Recipe ingredient nutrients from serving amount 2021-02-07 19:30:33 -08:00
Christopher C. Wells bf4cec4d27 Use formatted serving unit in other areas 2021-02-06 13:59:19 -08:00
Christopher C. Wells afa4e5f93f Add custom serving name field to foods 2021-02-06 13:59:19 -08:00
Christopher C. Wells 037d20fbb7 Add phpstan support 2021-01-24 19:43:59 -08:00
Christopher C. Wells 19eac25413 Update nutrient calculation for IngredientAmount 2021-01-23 10:33:25 -08:00
Christopher C. Wells 5ded6bfce6 Create IngredientAmount class
This class will replace FoodAmount when it has proper support for
calculating nutrients for FoodAmount and Recipe combinations.
2021-01-23 10:33:25 -08:00
Christopher C. Wells 2dd92c8d3a Refactor "ingredients" as "foods" 2020-12-30 15:06:22 -08:00
Christopher C. Wells aa9b504653 Add JSON:API via `cloudcreativity/laravel-json-api` 2020-12-22 22:16:18 -08:00
Christopher C. Wells 00eb252995 Use overloading in Recipe class 2020-12-22 20:07:24 -08:00
Christopher C. Wells 3060bdbb7c Add support for sodium and cholesterol tracking 2020-12-22 19:55:33 -08:00
Christopher C. Wells e3e84c2e13 Add nutrients per serving methods to Recipe 2020-12-22 15:15:41 -08:00
Christopher C. Wells 013baa88fc Refactor on base 100g unit 2020-12-22 15:08:49 -08:00
Christopher C. Wells 2d1990d415 Add RecipeStep model 2020-12-21 21:23:38 -08:00
Christopher C. Wells 361d3b3a07 Add nutrient sum methods to IngredientAmount and Recipe 2020-12-21 20:56:23 -08:00
Christopher C. Wells 978a3088c4 Add unit support to IngredientAmount 2020-12-21 20:24:47 -08:00
Christopher C. Wells 790e1af828 Add example total calories getter 2020-12-21 19:38:58 -08:00
Christopher C. Wells d54ad13460 Add Recipe model 2020-12-21 15:25:10 -08:00
Christopher C. Wells a4cc3c3f65 Add IngredientAmount model 2020-12-21 13:59:05 -08:00