update topping2 to enable any light roast
This commit is contained in:
parent
913ff3a6f0
commit
2b9b3d8190
1 changed files with 139 additions and 94 deletions
|
|
@ -989,66 +989,6 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If TOPPING2 = "add-show-1009" Then
|
||||
If toppingID2index3 = 1060 Then
|
||||
Var CustomCoffeeEnable = "True"
|
||||
Var showCustomCoffee = "Enable"
|
||||
Var showCoffeeQuantity = "Enable"
|
||||
|
||||
If toppingID2Default = "" Then
|
||||
Var CustomCoffeeQuantityState[0] = "PressForever"
|
||||
Else
|
||||
|
||||
If toppingID2index1 = toppingID2Default Then
|
||||
Var CurrentCoffeeQuantityId = toppingID2index1
|
||||
Var CustomCoffeeQuantityState[0] = "PressForever"
|
||||
Var CustomCoffeeQuantityState[1] = "Enable"
|
||||
Var CustomCoffeeQuantityState[2] = "Enable"
|
||||
|
||||
EndIf
|
||||
|
||||
If toppingID2index3 = toppingID2Default Then
|
||||
Var CurrentCoffeeQuantityId = toppingID2index3
|
||||
Var CustomCoffeeQuantityState[0] = "Enable"
|
||||
Var CustomCoffeeQuantityState[1] = "PressForever"
|
||||
Var CustomCoffeeQuantityState[2] = "Enable"
|
||||
EndIf
|
||||
|
||||
If toppingID2index4 = toppingID2Default Then
|
||||
Var CurrentCoffeeQuantityId = toppingID2index4
|
||||
Var CustomCoffeeQuantityState[0] = "Enable"
|
||||
Var CustomCoffeeQuantityState[1] = "Enable"
|
||||
Var CustomCoffeeQuantityState[2] = "PressForever"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If toppingID2price1 > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID2price1 , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
Var CustomCoffeeQuantityAdditionalPrice[0] = "(+" + priceFormated
|
||||
Var CustomCoffeeQuantityAdditionalPrice[0] = CustomCoffeeQuantityAdditionalPrice[0] + ")"
|
||||
Else
|
||||
Var CustomCoffeeQuantityAdditionalPrice[0] = ""
|
||||
EndIf
|
||||
|
||||
If toppingID2price3 > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID2price3 , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
Var CustomCoffeeQuantityAdditionalPrice[1] = "(+" + priceFormated
|
||||
Var CustomCoffeeQuantityAdditionalPrice[1] = CustomCoffeeQuantityAdditionalPrice[1] + ")"
|
||||
Else
|
||||
Var CustomCoffeeQuantityAdditionalPrice[1] = ""
|
||||
EndIf
|
||||
|
||||
If toppingID2price4 > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID2price4 , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
Var CustomCoffeeQuantityAdditionalPrice[2] = "(+" + priceFormated
|
||||
Var CustomCoffeeQuantityAdditionalPrice[2] = CustomCoffeeQuantityAdditionalPrice[2] + ")"
|
||||
Else
|
||||
Var CustomCoffeeQuantityAdditionalPrice[2] = ""
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If TOPPING9 = "single-shot-espv2" Then
|
||||
Var CustomCoffeeEnable = "True"
|
||||
Var showCustomCoffee = "Enable"
|
||||
|
|
@ -1776,27 +1716,39 @@
|
|||
|
||||
If TOPPING2 = "shot coffee 1003" Then
|
||||
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
|
||||
If toppingID2index3 = "" Then
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Else
|
||||
Var EnableLightRoast = "Enable"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
EndIf
|
||||
If TOPPING2 = "shot coffee 1007" Then
|
||||
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
If toppingID2index3 = "" Then
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Else
|
||||
Var EnableLightRoast = "Enable"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
EndIf
|
||||
If TOPPING2 = "shot coffee 1008" Then
|
||||
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
If toppingID2index3 = "" Then
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Else
|
||||
Var EnableLightRoast = "Enable"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
|
|
@ -1808,6 +1760,8 @@
|
|||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Else
|
||||
Var EnableLightRoast = "Enable"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
|
|
@ -1815,9 +1769,13 @@
|
|||
EndIf
|
||||
If TOPPING2 = "add-show-1101" Then
|
||||
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
If toppingID2index3 = "" Then
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Else
|
||||
Var EnableLightRoast = "Enable"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
|
|
@ -1825,9 +1783,13 @@
|
|||
|
||||
If TOPPING2 = "add-show-1102" Then
|
||||
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
If toppingID2index3 = "" Then
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Else
|
||||
Var EnableLightRoast = "Enable"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
|
|
@ -1835,18 +1797,26 @@
|
|||
|
||||
If TOPPING2 = "add-show-1103" Then
|
||||
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
If toppingID2index3 = "" Then
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Else
|
||||
Var EnableLightRoast = "Enable"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
EndIf
|
||||
If TOPPING2 = "add-show-1104" Then
|
||||
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
If toppingID2index3 = "" Then
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Else
|
||||
Var EnableLightRoast = "Enable"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
|
|
@ -1854,9 +1824,13 @@
|
|||
|
||||
If TOPPING2 = "add-show-1105" Then
|
||||
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
If toppingID2index3 = "" Then
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Else
|
||||
Var EnableLightRoast = "Enable"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
|
|
@ -1864,9 +1838,13 @@
|
|||
|
||||
If TOPPING2 = "add-show-1106" Then
|
||||
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
If toppingID2index3 = "" Then
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Else
|
||||
Var EnableLightRoast = "Enable"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
|
|
@ -1874,9 +1852,13 @@
|
|||
|
||||
If TOPPING2 = "add-show-1107" Then
|
||||
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
If toppingID2index3 = "" Then
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Else
|
||||
Var EnableLightRoast = "Enable"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
|
|
@ -1884,9 +1866,13 @@
|
|||
|
||||
If TOPPING2 = "add-show-1108" Then
|
||||
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
If toppingID2index3 = "" Then
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Else
|
||||
Var EnableLightRoast = "Enable"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
|
|
@ -1901,6 +1887,65 @@
|
|||
|
||||
EndIf
|
||||
|
||||
If EnableLightRoast = "Enable" Then
|
||||
Var CustomCoffeeEnable = "True"
|
||||
Var showCustomCoffee = "Enable"
|
||||
var showCoffeeLevel = "Enable"
|
||||
|
||||
If toppingID2Default = "" Then
|
||||
Var CustomCoffeeQuantityState[1] = "PressForever"
|
||||
Else
|
||||
|
||||
If toppingID2index1 = toppingID2Default Then
|
||||
Var CurrentCoffeeLevelId = toppingID2index1
|
||||
Var CustomCoffeeQuantityState[0] = "PressForever"
|
||||
Var CustomCoffeeQuantityState[1] = "Enable"
|
||||
Var CustomCoffeeQuantityState[2] = "Enable"
|
||||
|
||||
EndIf
|
||||
|
||||
If toppingID2index2 = toppingID2Default Then
|
||||
Var CurrentCoffeeLevelId = toppingID2index2
|
||||
Var CustomCoffeeQuantityState[0] = "Enable"
|
||||
Var CustomCoffeeQuantityState[1] = "PressForever"
|
||||
Var CustomCoffeeQuantityState[2] = "Enable"
|
||||
EndIf
|
||||
|
||||
If toppingID2index3 = toppingID2Default Then
|
||||
Var CurrentCoffeeLevelId = toppingID2index3
|
||||
Var CustomCoffeeQuantityState[0] = "Enable"
|
||||
Var CustomCoffeeQuantityState[1] = "Enable"
|
||||
Var CustomCoffeeQuantityState[2] = "PressForever"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
If toppingID2price1 > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID2price1 , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
Var CustomCoffeeQuantityAdditionalPrice[0] = "(+" + priceFormated
|
||||
Var CustomCoffeeQuantityAdditionalPrice[0] = CustomCoffeeQuantityAdditionalPrice[0] + ")"
|
||||
Else
|
||||
Var CustomCoffeeQuantityAdditionalPrice[0] = ""
|
||||
EndIf
|
||||
|
||||
If toppingID2price2 > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID2price2 , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
Var CustomCoffeeQuantityAdditionalPrice[1] = "(+" + priceFormated
|
||||
Var CustomCoffeeQuantityAdditionalPrice[1] = CustomCoffeeQuantityAdditionalPrice[1] + ")"
|
||||
Else
|
||||
Var CustomCoffeeQuantityAdditionalPrice[1] = ""
|
||||
EndIf
|
||||
|
||||
If toppingID2price3 > 0 Then
|
||||
Var priceFormated !assigned StringFmt( toppingID2price3 , PriceCustomCoffeeFormat, PreScaleConvertShow)
|
||||
Var CustomCoffeeQuantityAdditionalPrice[2] = "(+" + priceFormated
|
||||
Var CustomCoffeeQuantityAdditionalPrice[2] = CustomCoffeeQuantityAdditionalPrice[2] + ")"
|
||||
Else
|
||||
Var CustomCoffeeQuantityAdditionalPrice[2] = ""
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
;-END
|
||||
If TOPPING3 = "Collagen" Then
|
||||
Var CollagenState = "Enable"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue