grocy-cli/templates/recipe/edit.yml

19 lines
847 B
YAML
Raw Normal View History

name: {{ grocy.fields.name }}
description: |
{{ grocy.fields.description }}
base_servings: {{ grocy.fields.base_servings | default("1") }}
desired_servings: {{ grocy.fields.desired_servings | default("1") }}
not_check_shoppinglist: {{ grocy.fields.not_check_shoppinglist | default("1") }}
products: {% for ingredient in grocy.fields.ingredientsp%}
- id: {{ ingredient.id }}
name: {{ ingredient.name }}
description: {{ ingredient.description | default(null) }}
note: {{ ingredient.note }}
amount: {{ ingredient.amount }}
qu_id: {{ ingredient.qu_id }}
only_check_single_unit_in_stock: {{ ingredient.only_check_single_unit_in_stock }}
ingredient_group: {{ ingredient.ingredient_group | default(null) }}
not_check_stock_fulfillment: {{ ingredient.not_check_stock_fulfillment }}{% endfor %}