Mode cocktail show disable promtioni

This commit is contained in:
wanlop run 2023-10-26 15:27:32 +07:00
parent 5cb849a3e7
commit de6cac5318
14 changed files with 45 additions and 31 deletions

View file

@ -2,33 +2,39 @@ DEBUGVAR NetworkStatus
DEBUGVAR SELLONLINE
DEBUGVAR PayOfflineMode
; zone promote
If OpenFromPageBoard = 1 Then
If PepweenEnable = 1 Then
Var BigButtonEnable = "Enable"
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_pepween.xml"
Var OpenFromPageBoard = 0
Else
If CocktailShow = "true" Then
If OpenFromPageBoard = 1 Then
OpenInst 2 "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
EndIf
Else
If PepweenEnable = 1 Then
; Temporary debug
Var BigButtonEnable = "Enable"
Open "ROOT/taobin_project/xml/event/promotion_pepween.xml"
Else
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
EndIf
Else
; zone promote
If OpenFromPageBoard = 1 Then
If PepweenEnable = 1 Then
Var BigButtonEnable = "Enable"
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_pepween.xml"
Var OpenFromPageBoard = 0
Else
OpenInst 2 "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
EndIf
Else
If PepweenEnable = 1 Then
; Temporary debug
Var BigButtonEnable = "Enable"
Open "ROOT/taobin_project/xml/event/promotion_pepween.xml"
Else
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
EndIf
EndIf
EndIf
Var OpenFromPageBoard = 0

View file

@ -243,6 +243,7 @@
Var MenuKidButtonState = "Invisible"
Var WheyShow = "false"
Var WheyButtonState = "Invisible"
Var WebAppShow = "Invisible"
EndIf
@ -369,6 +370,7 @@
Var ShowPrice = "Enable"
If RoadShow = "true" Then
Var ShowPrice = "Invisible"
Var WebAppShow = "Invisible"
EndIf
;SAVELOG WheyShow
@ -595,7 +597,6 @@
Var LedLidBlink = "no"
Var WebAppShow = "Enable"
Var EnableSelectMenuBetweenBrew = "Enable"
@ -955,6 +956,7 @@
<Timeout> 1000 </Timeout>
<EventTimeout>
DEBUGVAR WebAppShow
If IgnoreNetCore = "true" Then
Else

View file

@ -3558,7 +3558,7 @@ Hag of village" </Value>
Var NameDrink = "7 Haunted Woods"
Var NameDrinkTH = "ดิน 7 ป่าช้า"
Var DrinkDescriptionTH = "เป๊ปซี่ นม และโอริโอ้"
Var DrinkDescription = "Pepsi. Milk. Oreo and Ice"
Var DrinkDescription = "Pepsi, Milk, Oreo and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_haunted_woods.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
@ -3658,7 +3658,7 @@ Hag of village" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0xFFFFFF </Color>
<State> showengText </State>
<Value> "Pepsi. Milk. Oreo and Ice" </Value>
<Value> "Pepsi, Milk, Oreo and Ice" </Value>
</Text>
<Image>
<X> 16 </X>

View file

@ -679,6 +679,13 @@
Else
DEBUGVAR MAT_ID_9701
DEBUGVAR MAT_ID_9601
DEBUGVAR MAT_ID_519701
DEBUGVAR MAT_ID_519601
DEBUGVAR StrawState
Var ShowLidStraw = "Enable"
If StrawState = "Enable" Then
If MAT_ID_9701 = "Enable" Then
@ -687,9 +694,7 @@
Var StrawState = MAT_ID_9701
EndIf
EndIf
DEBUGVAR MAT_ID_9701
DEBUGVAR StrawState
If StrawState = "Press" Then
Var Seeker.thankStrawFlag = 1
Else
@ -730,6 +735,7 @@
EndIf
If LidState = "Enable" Then
Var LidDeactiveButton = "Invisible"
Else