feat: Added add/remove ingredients sub commands to recipes

- feat: Added list recipe commands
   - feat: Added sample add ingredient template for recipe
This commit is contained in:
Aerex
2019-09-25 23:14:11 -05:00
parent 05089108a9
commit 029ba35945
7 changed files with 107 additions and 17 deletions

View File

@@ -0,0 +1,8 @@
product_id:
amount:
qu_id:
only_check_single_unit_in_stock:
not_check_stock_fulfilment:
variable_amount:
ingredient_group:
note:

View File

@@ -1,7 +1,8 @@
{% from 'recipe/macro.yml' import render_recipe_fulfilment %}
{% for recipe in grocy.recipes %}
id: {{ recipe.fields.id }}
name: {{ recipe.fields.name }}
servings: {{ recipe.fields.base_servings }}
base_servings: {{ recipe.fields.base_servings }}
required_fulfilled: {{ render_recipe_fulfilment(recipe.fields.fulfillment, grocy.meta.fa_icons) }}
description: |-
{{ recipe.fields.description }}