Add custom item to each location
This commit is contained in:
parent
326b5d6b5f
commit
4cbc4473de
1 changed files with 9 additions and 0 deletions
|
@ -57,6 +57,15 @@ class HldsSemanticActions:
|
|||
for option in first_single_choice.options:
|
||||
option.price += dish.price
|
||||
dish.price = 0
|
||||
dishes = list(dishes)
|
||||
dishes.append(Dish(
|
||||
"custom",
|
||||
name="Vrije keuze",
|
||||
description="Zet wat je wil in comment",
|
||||
price=0,
|
||||
tags=[],
|
||||
choices=[],
|
||||
))
|
||||
|
||||
attributes = {att["key"]: att["value"] for att in ast["attributes"]}
|
||||
|
||||
|
|
Loading…
Reference in a new issue