update custom coffee visibility
This commit is contained in:
parent
da6d3a2435
commit
35fc0d30b5
1 changed files with 23 additions and 23 deletions
|
|
@ -79,6 +79,8 @@
|
||||||
|
|
||||||
; Customer Coffee
|
; Customer Coffee
|
||||||
|
|
||||||
|
Var CustomCoffeeEnable = "False"
|
||||||
|
|
||||||
Var showCoffeeWater = "Invisible"
|
Var showCoffeeWater = "Invisible"
|
||||||
Var showCoffeeQuantity = "Invisible"
|
Var showCoffeeQuantity = "Invisible"
|
||||||
Var showCoffeeLevel = "Invisible"
|
Var showCoffeeLevel = "Invisible"
|
||||||
|
|
@ -925,6 +927,7 @@
|
||||||
Var PriceCustomCoffeeFormat = "%.0f฿"
|
Var PriceCustomCoffeeFormat = "%.0f฿"
|
||||||
|
|
||||||
If TOPPING7 = "water-level" Then
|
If TOPPING7 = "water-level" Then
|
||||||
|
Var CustomCoffeeEnable = "True"
|
||||||
Var showCustomCoffee = "Enable"
|
Var showCustomCoffee = "Enable"
|
||||||
Var showCoffeeWater = "Enable"
|
Var showCoffeeWater = "Enable"
|
||||||
|
|
||||||
|
|
@ -982,6 +985,7 @@
|
||||||
|
|
||||||
If TOPPING2 = "add-show-1009" Then
|
If TOPPING2 = "add-show-1009" Then
|
||||||
If toppingID2index3 = 1060 Then
|
If toppingID2index3 = 1060 Then
|
||||||
|
Var CustomCoffeeEnable = "True"
|
||||||
Var showCustomCoffee = "Enable"
|
Var showCustomCoffee = "Enable"
|
||||||
Var showCoffeeQuantity = "Enable"
|
Var showCoffeeQuantity = "Enable"
|
||||||
|
|
||||||
|
|
@ -1040,6 +1044,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If TOPPING9 = "single-shot-espv2" Then
|
If TOPPING9 = "single-shot-espv2" Then
|
||||||
|
Var CustomCoffeeEnable = "True"
|
||||||
Var showCustomCoffee = "Enable"
|
Var showCustomCoffee = "Enable"
|
||||||
var showCoffeeLevel = "Enable"
|
var showCoffeeLevel = "Enable"
|
||||||
|
|
||||||
|
|
@ -1099,6 +1104,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If TOPPING9 = "double-shot-espv2" Then
|
If TOPPING9 = "double-shot-espv2" Then
|
||||||
|
Var CustomCoffeeEnable = "True"
|
||||||
Var showCustomCoffee = "Enable"
|
Var showCustomCoffee = "Enable"
|
||||||
var showCoffeeLevel = "Enable"
|
var showCoffeeLevel = "Enable"
|
||||||
|
|
||||||
|
|
@ -1158,6 +1164,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If TOPPING10 = "tampping-espv2" Then
|
If TOPPING10 = "tampping-espv2" Then
|
||||||
|
Var CustomCoffeeEnable = "True"
|
||||||
Var showCustomCoffee = "Enable"
|
Var showCustomCoffee = "Enable"
|
||||||
var showCoffeeTamping = "Enable"
|
var showCoffeeTamping = "Enable"
|
||||||
|
|
||||||
|
|
@ -5233,13 +5240,13 @@
|
||||||
Var UserSelectProductCode = PD_CODE1
|
Var UserSelectProductCode = PD_CODE1
|
||||||
|
|
||||||
If showShotEnable = "Disable" Then
|
If showShotEnable = "Disable" Then
|
||||||
If showCustomCoffee = "Invisible" Then
|
If CustomCoffeeEnable = "False" Then
|
||||||
Var showShotEnable = "Enable"
|
Var showShotEnable = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If showCustomCoffee = "Invisible" Then
|
If showCustomCoffee = "Invisible" Then
|
||||||
If showShotEnable = "Enable" Then
|
If CustomCoffeeEnable = "True" Then
|
||||||
Var showCustomCoffee = "Enable"
|
Var showCustomCoffee = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -5267,13 +5274,13 @@
|
||||||
Var UserSelectProductCode = PD_CODE2
|
Var UserSelectProductCode = PD_CODE2
|
||||||
|
|
||||||
If showShotEnable = "Disable" Then
|
If showShotEnable = "Disable" Then
|
||||||
If showCustomCoffee = "Invisible" Then
|
If CustomCoffeeEnable = "False" Then
|
||||||
Var showShotEnable = "Enable"
|
Var showShotEnable = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If showCustomCoffee = "Invisible" Then
|
If showCustomCoffee = "Invisible" Then
|
||||||
If showShotEnable = "Enable" Then
|
If CustomCoffeeEnable = "True" Then
|
||||||
Var showCustomCoffee = "Enable"
|
Var showCustomCoffee = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -5307,7 +5314,7 @@
|
||||||
Var showShotEnable = "Disable"
|
Var showShotEnable = "Disable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If showCustomCoffee = "Invisible" Then
|
If CustomCoffeeEnable = "True" Then
|
||||||
Var showCustomCoffee = "Enable"
|
Var showCustomCoffee = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -5444,21 +5451,7 @@
|
||||||
; Invisible showCustomCoffee
|
; Invisible showCustomCoffee
|
||||||
Var showCustomCoffee = "Invisible"
|
Var showCustomCoffee = "Invisible"
|
||||||
Else
|
Else
|
||||||
If TOPPING7 = "water-level" Then
|
If CustomCoffeeEnable = "True" Then
|
||||||
Var showCustomCoffee = "Enable"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If TOPPING2 = "add-show-1009" Then
|
|
||||||
If toppingID2index3 = 1060 Then
|
|
||||||
Var showCustomCoffee = "Enable"
|
|
||||||
EndIf
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If TOPPING9 = "single-shot-espv2" Then
|
|
||||||
Var showCustomCoffee = "Enable"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If TOPPING10 = "tampping-espv2" Then
|
|
||||||
Var showCustomCoffee = "Enable"
|
Var showCustomCoffee = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -5495,10 +5488,17 @@
|
||||||
|
|
||||||
DEBUGVAR CustomCoffeeDefault
|
DEBUGVAR CustomCoffeeDefault
|
||||||
If CustomCoffeeDefault = "false" Then
|
If CustomCoffeeDefault = "false" Then
|
||||||
Var showShotEnable = "Disable"
|
If showShotEnable = "Enable" Then
|
||||||
|
Var showShotEnable = "Disable"
|
||||||
|
EndIf
|
||||||
Else
|
Else
|
||||||
If showText4 = "Invisible" Then
|
If showShotEnable = "Invisible" Then
|
||||||
Var showShotEnable = "Enable"
|
|
||||||
|
Else
|
||||||
|
If blend_button_state = "PressForever" Then
|
||||||
|
Else
|
||||||
|
Var showShotEnable = "Enable"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue