update variable name topping id 9

This commit is contained in:
kenta-work 2023-09-15 17:29:26 +07:00
parent 7c9c470966
commit 8954111c1c

View file

@ -1090,24 +1090,24 @@
EndIf
If toppingID9index1price > 0 Then
Var priceFormated !assigned StringFmt( toppingID9index1price , PriceCustomCoffeeFormat, PreScaleConvertShow)
If toppingID9price1 > 0 Then
Var priceFormated !assigned StringFmt( toppingID9price1 , PriceCustomCoffeeFormat, PreScaleConvertShow)
Var CustomCoffeeLevelAdditionalPrice[0] = "(+" + priceFormated
Var CustomCoffeeLevelAdditionalPrice[0] = CustomCoffeeLevelAdditionalPrice[0] + ")"
Else
Var CustomCoffeeLevelAdditionalPrice[0] = ""
EndIf
If toppingID9index2price > 0 Then
Var priceFormated !assigned StringFmt( toppingID9index2price , PriceCustomCoffeeFormat, PreScaleConvertShow)
If toppingID9price2 > 0 Then
Var priceFormated !assigned StringFmt( toppingID9price2 , PriceCustomCoffeeFormat, PreScaleConvertShow)
Var CustomCoffeeLevelAdditionalPrice[1] = "(+" + priceFormated
Var CustomCoffeeLevelAdditionalPrice[1] = CustomCoffeeLevelAdditionalPrice[1] + ")"
Else
Var CustomCoffeeLevelAdditionalPrice[1] = ""
EndIf
If toppingID9index3price > 0 Then
Var priceFormated !assigned StringFmt( toppingID9index3price , PriceCustomCoffeeFormat, PreScaleConvertShow)
If toppingID9price3 > 0 Then
Var priceFormated !assigned StringFmt( toppingID9price3 , PriceCustomCoffeeFormat, PreScaleConvertShow)
Var CustomCoffeeLevelAdditionalPrice[2] = "(+" + priceFormated
Var CustomCoffeeLevelAdditionalPrice[2] = CustomCoffeeLevelAdditionalPrice[2] + ")"
Else