add if for double shot
This commit is contained in:
parent
0af209cd46
commit
68d4f1d779
1 changed files with 59 additions and 0 deletions
|
|
@ -1094,6 +1094,65 @@
|
|||
|
||||
EndIf
|
||||
|
||||
If TOPPING9 = "double-shot-espv2" Then
|
||||
Var showCustomCoffee = "Enable"
|
||||
var showCoffeeLevel = "Enable"
|
||||
|
||||
If toppingID9Default = "" Then
|
||||
Var CustomCoffeeLevelState[1] = "PressForever"
|
||||
Else
|
||||
|
||||
If toppingID9index1 = toppingID9Default Then
|
||||
Var CurrentCoffeeLevelId = toppingID9index1
|
||||
Var CustomCoffeeLevelState[0] = "PressForever"
|
||||
Var CustomCoffeeLevelState[1] = "Enable"
|
||||
Var CustomCoffeeLevelState[2] = "Enable"
|
||||
|
||||
EndIf
|
||||
|
||||
If toppingID9index2 = toppingID9Default Then
|
||||
Var CurrentCoffeeLevelId = toppingID9index2
|
||||
Var CustomCoffeeLevelState[0] = "Enable"
|
||||
Var CustomCoffeeLevelState[1] = "PressForever"
|
||||
Var CustomCoffeeLevelState[2] = "Enable"
|
||||
EndIf
|
||||
|
||||
If toppingID9index3 = toppingID9Default Then
|
||||
Var CurrentCoffeeLevelId = toppingID9index3
|
||||
Var CustomCoffeeLevelState[0] = "Enable"
|
||||
Var CustomCoffeeLevelState[1] = "Enable"
|
||||
Var CustomCoffeeLevelState[2] = "PressForever"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If toppingID9index1price > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID9index1price , 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)
|
||||
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)
|
||||
Var CustomCoffeeLevelAdditionalPrice[2] = "(+" + priceFormated
|
||||
Var CustomCoffeeLevelAdditionalPrice[2] = CustomCoffeeLevelAdditionalPrice[2] + ")"
|
||||
Else
|
||||
Var CustomCoffeeLevelAdditionalPrice[2] = ""
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If TOPPING10 = "tampping-espv2" Then
|
||||
Var showCustomCoffee = "Enable"
|
||||
var showCoffeeTamping = "Enable"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue