Update select topping page random cup 35
This commit is contained in:
parent
6bc253e297
commit
a00cf7c8ad
2 changed files with 46 additions and 6 deletions
|
|
@ -8970,7 +8970,7 @@ LIMENADE SODA" </Value>
|
||||||
Var ProductCodeRandom = ListOfMilk[ResultRandomIndex]
|
Var ProductCodeRandom = ListOfMilk[ResultRandomIndex]
|
||||||
DEBUGVAR ListOfMilk[ResultRandomIndex]
|
DEBUGVAR ListOfMilk[ResultRandomIndex]
|
||||||
Topping "Load" ProductCodeRandom
|
Topping "Load" ProductCodeRandom
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select35.xml"
|
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -8998,7 +8998,7 @@ LIMENADE SODA" </Value>
|
||||||
Var ProductCodeRandom = ListOfTea[ResultRandomIndex]
|
Var ProductCodeRandom = ListOfTea[ResultRandomIndex]
|
||||||
DEBUGVAR ListOfTea[ResultRandomIndex]
|
DEBUGVAR ListOfTea[ResultRandomIndex]
|
||||||
Topping "Load" ProductCodeRandom
|
Topping "Load" ProductCodeRandom
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select35.xml"
|
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -9026,7 +9026,7 @@ LIMENADE SODA" </Value>
|
||||||
Var ProductCodeRandom = ListOfCoffee[ResultRandomIndex]
|
Var ProductCodeRandom = ListOfCoffee[ResultRandomIndex]
|
||||||
DEBUGVAR ListOfCoffee[ResultRandomIndex]
|
DEBUGVAR ListOfCoffee[ResultRandomIndex]
|
||||||
Topping "Load" ProductCodeRandom
|
Topping "Load" ProductCodeRandom
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select35.xml"
|
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
@ -9054,7 +9054,7 @@ LIMENADE SODA" </Value>
|
||||||
Var ProductCodeRandom = ListOfAllRandom[ResultRandomIndex]
|
Var ProductCodeRandom = ListOfAllRandom[ResultRandomIndex]
|
||||||
DEBUGVAR ListOfAllRandom[ResultRandomIndex]
|
DEBUGVAR ListOfAllRandom[ResultRandomIndex]
|
||||||
Topping "Load" ProductCodeRandom
|
Topping "Load" ProductCodeRandom
|
||||||
Open "ROOT/taobin_project/xml/page_topping_select35.xml"
|
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,40 @@
|
||||||
WRITE_FILE "/mnt/sdcard/xml_alert_bug" "double called"
|
WRITE_FILE "/mnt/sdcard/xml_alert_bug" "double called"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
; Fix All variable random drink
|
||||||
|
Var NameDrink = ""
|
||||||
|
Var NameDrinkTH = ""
|
||||||
|
Var DrinkDescriptionTH = ""
|
||||||
|
Var DrinkDescription = ""
|
||||||
|
Var PictureDrink = "ROOT/taobin_project/image/event/bn_mystery_cup.png"
|
||||||
|
|
||||||
|
Var menu_name_eng_hot = ""
|
||||||
|
Var menu_desc_eng_hot = ""
|
||||||
|
Var menu_name_thai_hot = ""
|
||||||
|
Var menu_desc_thai_hot = ""
|
||||||
|
|
||||||
|
Var menu_name_eng_cold = ""
|
||||||
|
Var menu_desc_eng_cold = ""
|
||||||
|
Var menu_name_thai_cold = ""
|
||||||
|
Var menu_desc_thai_cold = ""
|
||||||
|
|
||||||
|
Var menu_name_eng_blender = ""
|
||||||
|
Var menu_desc_eng_blender = ""
|
||||||
|
Var menu_name_thai_blender = ""
|
||||||
|
Var menu_desc_thai_blender = ""
|
||||||
|
|
||||||
|
Var PriceD1 = $-.Price
|
||||||
|
Var PriceD2 = $-.Price
|
||||||
|
Var PriceD3 = 35
|
||||||
|
Var PD_CODE1 = "##-##-##-####"
|
||||||
|
Var PD_CODE2 = "##-##-##-####"
|
||||||
|
Var PD_CODE3 = ProductCodeRandom
|
||||||
|
|
||||||
|
Var SelectCountDrinkType = 1
|
||||||
|
Var DefaultDrinkType = 3
|
||||||
|
|
||||||
|
Var SelectDrinkType = 0
|
||||||
|
|
||||||
WEB "DISABLE"
|
WEB "DISABLE"
|
||||||
DEBUGVAR Seeker
|
DEBUGVAR Seeker
|
||||||
|
|
||||||
|
|
@ -171,6 +205,7 @@
|
||||||
CRLFToSpace showdesc
|
CRLFToSpace showdesc
|
||||||
|
|
||||||
;- Begin
|
;- Begin
|
||||||
|
Var PriceDrink = 35
|
||||||
Var PriceDrinkNoTop = PriceDrink
|
Var PriceDrinkNoTop = PriceDrink
|
||||||
Var PriceDrinkTmp = PriceDrink
|
Var PriceDrinkTmp = PriceDrink
|
||||||
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
|
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
|
||||||
|
|
@ -227,7 +262,7 @@
|
||||||
If new_layout = "true" Then
|
If new_layout = "true" Then
|
||||||
Var PriceDrinkTmpShow = "---"
|
Var PriceDrinkTmpShow = "---"
|
||||||
|
|
||||||
Var show_select_type = "Enable"
|
Var show_select_type = "Invisible"
|
||||||
|
|
||||||
Var hot_button_state = PD_STAGE_1
|
Var hot_button_state = PD_STAGE_1
|
||||||
Var cold_button_state = PD_STAGE_2
|
Var cold_button_state = PD_STAGE_2
|
||||||
|
|
@ -1444,6 +1479,8 @@
|
||||||
Function 2
|
Function 2
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
Var ExtraTopping = "Invisible"
|
||||||
|
|
||||||
|
|
||||||
</EventMachine>
|
</EventMachine>
|
||||||
|
|
||||||
|
|
@ -4036,7 +4073,6 @@
|
||||||
|
|
||||||
Machine PreparCup
|
Machine PreparCup
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If blend_button_state = "PressForever" Then
|
If blend_button_state = "PressForever" Then
|
||||||
Var PriceDrinkNoTop = PriceD3
|
Var PriceDrinkNoTop = PriceD3
|
||||||
Var UserSelectProductCode = PD_CODE3
|
Var UserSelectProductCode = PD_CODE3
|
||||||
|
|
@ -4179,6 +4215,10 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Var PriceDrinkTmp = PriceDrinkNoTop + TOPPING_PRICE
|
Var PriceDrinkTmp = PriceDrinkNoTop + TOPPING_PRICE
|
||||||
|
|
||||||
|
; Fix Price
|
||||||
|
Var PriceDrinkTmp = 35
|
||||||
|
|
||||||
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
|
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue