Nutritional Value Considering Dish Size
In the API V9Preview2, it has become possible to find out the nutritional value (FoodValue) of a specific dish considering its size.
The new field is available for regular order items:
For kitchen order items:
IKitchenOrderProductItem.FoodValueIKitchenOrderCompoundItemComponent.FoodValueIKitchenOrderModifierItem.FoodValue
And also for items in closed cash shift orders:
In the product, the corresponding decimal fields
(IProduct.FoodValueCaloricity,
IProduct.FoodValueCarbohydrate,
IProduct.FoodValueFat,
IProduct.FoodValueProtein)
have been replaced by a single field IProduct.FoodValue of the specified type. In the product, the nutritional value is indicated without considering the size.