update custom topping for กาแฟคั่วอ่อน
This commit is contained in:
parent
68d4f1d779
commit
6e09549dd8
1 changed files with 42 additions and 24 deletions
|
|
@ -105,6 +105,8 @@
|
||||||
|
|
||||||
; Texts
|
; Texts
|
||||||
Var CustomCoffeeTextY = 47
|
Var CustomCoffeeTextY = 47
|
||||||
|
Var custom_coffee_offset_text_x = 0
|
||||||
|
|
||||||
|
|
||||||
Var CustomCoffeeWaterText[0] = "20ml"
|
Var CustomCoffeeWaterText[0] = "20ml"
|
||||||
Var CustomCoffeeWaterText[1] = "30ml"
|
Var CustomCoffeeWaterText[1] = "30ml"
|
||||||
|
|
@ -173,10 +175,11 @@
|
||||||
Var CustomCoffeeTampingText[1] = "Medium"
|
Var CustomCoffeeTampingText[1] = "Medium"
|
||||||
Var CustomCoffeeTampingText[2] = "Hight"
|
Var CustomCoffeeTampingText[2] = "Hight"
|
||||||
|
|
||||||
Var custom_coffee_level_medium_text_x = 662
|
;Var custom_coffee_level_medium_text_x = 662
|
||||||
|
Var custom_coffee_level_medium_text_x = 682
|
||||||
Var custom_coffee_level_medium_price_x = 723
|
Var custom_coffee_level_medium_price_x = 723
|
||||||
|
|
||||||
Var custom_coffee_level_dark_text_x = 895
|
Var custom_coffee_level_dark_text_x = 915
|
||||||
Else
|
Else
|
||||||
|
|
||||||
Var DirImage = "ROOT/taobin_project/image/topping2"
|
Var DirImage = "ROOT/taobin_project/image/topping2"
|
||||||
|
|
@ -204,10 +207,10 @@
|
||||||
Var CustomCoffeeTampingText[1] = "ปานกลาง"
|
Var CustomCoffeeTampingText[1] = "ปานกลาง"
|
||||||
Var CustomCoffeeTampingText[2] = "เน้น"
|
Var CustomCoffeeTampingText[2] = "เน้น"
|
||||||
|
|
||||||
Var custom_coffee_level_medium_text_x = 677
|
Var custom_coffee_level_medium_text_x = 690
|
||||||
Var custom_coffee_level_medium_price_x = 718
|
Var custom_coffee_level_medium_price_x = 718
|
||||||
|
|
||||||
Var custom_coffee_level_dark_text_x = 905
|
Var custom_coffee_level_dark_text_x = 920
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Var text_x_free_topping = text_x_add_oreo_price + text_x_free_adjust
|
Var text_x_free_topping = text_x_add_oreo_price + text_x_free_adjust
|
||||||
|
|
@ -598,10 +601,10 @@
|
||||||
Var CustomCoffeeTampingText[1] = "Medium"
|
Var CustomCoffeeTampingText[1] = "Medium"
|
||||||
Var CustomCoffeeTampingText[2] = "Hight"
|
Var CustomCoffeeTampingText[2] = "Hight"
|
||||||
|
|
||||||
Var custom_coffee_level_medium_text_x = 662
|
Var custom_coffee_level_medium_text_x = 682
|
||||||
Var custom_coffee_level_medium_price_x = 723
|
Var custom_coffee_level_medium_price_x = 723
|
||||||
|
|
||||||
Var custom_coffee_level_dark_text_x = 895
|
Var custom_coffee_level_dark_text_x = 915
|
||||||
Else
|
Else
|
||||||
|
|
||||||
Var DirImage = "ROOT/taobin_project/image/topping2"
|
Var DirImage = "ROOT/taobin_project/image/topping2"
|
||||||
|
|
@ -629,10 +632,10 @@
|
||||||
Var CustomCoffeeTampingText[1] = "ปานกลาง"
|
Var CustomCoffeeTampingText[1] = "ปานกลาง"
|
||||||
Var CustomCoffeeTampingText[2] = "เน้น"
|
Var CustomCoffeeTampingText[2] = "เน้น"
|
||||||
|
|
||||||
Var custom_coffee_level_medium_text_x = 677
|
Var custom_coffee_level_medium_text_x = 690
|
||||||
Var custom_coffee_level_medium_price_x = 718
|
Var custom_coffee_level_medium_price_x = 718
|
||||||
|
|
||||||
Var custom_coffee_level_dark_text_x = 905
|
Var custom_coffee_level_dark_text_x = 920
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -977,7 +980,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If TOPPING8 = "coffee-quantity" Then
|
If TOPPING8 = "add-show-1009" Then
|
||||||
Var showCustomCoffee = "Enable"
|
Var showCustomCoffee = "Enable"
|
||||||
Var showCoffeeQuantity = "Enable"
|
Var showCoffeeQuantity = "Enable"
|
||||||
|
|
||||||
|
|
@ -1787,9 +1790,16 @@
|
||||||
|
|
||||||
If TOPPING2 = "add-show-1009" Then
|
If TOPPING2 = "add-show-1009" Then
|
||||||
|
|
||||||
Var ShotCoffeePremium = "Enable"
|
If toppingID2index2 = 60 Then
|
||||||
Var showShotEnable = "Invisible"
|
Var ShotCoffeePremium = "Enable"
|
||||||
Var ExtraTopping = "Enable"
|
Var showShotEnable = "Invisible"
|
||||||
|
Var ExtraTopping = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If toppingID2index2 = 1060 Then
|
||||||
|
Var showCustomCoffee = "Enable"
|
||||||
|
var showCoffeeQuantity = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR TOPPING2
|
DEBUGVAR TOPPING2
|
||||||
Refresh
|
Refresh
|
||||||
|
|
@ -5256,11 +5266,15 @@
|
||||||
Var UserSelectProductCode = PD_CODE2
|
Var UserSelectProductCode = PD_CODE2
|
||||||
|
|
||||||
If showShotEnable = "Disable" Then
|
If showShotEnable = "Disable" Then
|
||||||
Var showShotEnable = "Enable"
|
If showCustomCoffee = "Invisible" Then
|
||||||
|
Var showShotEnable = "Enable"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If showCustomCoffee = "Enable" Then
|
If showCustomCoffee = "Invisible" Then
|
||||||
Var showCustomCoffee = "Invisible"
|
If showShotEnable = "Enable" Then
|
||||||
|
Var showCustomCoffee = "Enable"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Var showText4 = "Invisible"
|
Var showText4 = "Invisible"
|
||||||
|
|
@ -5292,8 +5306,8 @@
|
||||||
Var showShotEnable = "Disable"
|
Var showShotEnable = "Disable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If showCustomCoffee = "Enable" Then
|
If showCustomCoffee = "Invisible" Then
|
||||||
Var showCustomCoffee = "Invisible"
|
Var showCustomCoffee = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Var showText4 = "Enable"
|
Var showText4 = "Enable"
|
||||||
|
|
@ -5433,8 +5447,10 @@
|
||||||
Var showCustomCoffee = "Enable"
|
Var showCustomCoffee = "Enable"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If TOPPING8 = "coffee-quantity" Then
|
If TOPPING2 = "add-show-1009" Then
|
||||||
Var showCustomCoffee = "Enable"
|
If toppingID2index2 = 1060 Then
|
||||||
|
Var showCustomCoffee = "Enable"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If TOPPING9 = "single-shot-espv2" Then
|
If TOPPING9 = "single-shot-espv2" Then
|
||||||
|
|
@ -5456,7 +5472,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If showCoffeeQuantity = "Enable" Then
|
If showCoffeeQuantity = "Enable" Then
|
||||||
If CurrentCoffeeQuantityId = toppingID8Default Then
|
If CurrentCoffeeQuantityId = toppingID2Default Then
|
||||||
Else
|
Else
|
||||||
Var CustomCoffeeDefault = "false"
|
Var CustomCoffeeDefault = "false"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -5480,18 +5496,20 @@
|
||||||
If CustomCoffeeDefault = "false" Then
|
If CustomCoffeeDefault = "false" Then
|
||||||
Var showShotEnable = "Disable"
|
Var showShotEnable = "Disable"
|
||||||
Else
|
Else
|
||||||
Var showShotEnable = "Enable"
|
If showText4 = "Invisible" Then
|
||||||
|
Var showShotEnable = "Enable"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If CustomCoffeeQuantityState[0] = "PressForever" Then
|
If CustomCoffeeQuantityState[0] = "PressForever" Then
|
||||||
Var TOPPING_PRICE = TOPPING_PRICE + toppingID8index1price
|
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2index1price
|
||||||
EndIf
|
EndIf
|
||||||
If CustomCoffeeQuantityState[1] = "PressForever" Then
|
If CustomCoffeeQuantityState[1] = "PressForever" Then
|
||||||
Var TOPPING_PRICE = TOPPING_PRICE + toppingID8index2price
|
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2index2price
|
||||||
EndIf
|
EndIf
|
||||||
If CustomCoffeeQuantityState[2] = "PressForever" Then
|
If CustomCoffeeQuantityState[2] = "PressForever" Then
|
||||||
Var TOPPING_PRICE = TOPPING_PRICE + toppingID8index3price
|
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2index3price
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If CustomCoffeeLevelState[0] = "PressForever" Then
|
If CustomCoffeeLevelState[0] = "PressForever" Then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue