THAI: Added Mom cocoa promotion
|
|
@ -1094,3 +1094,11 @@ Iced Mocha 12-21-02-0064 1 2 3 4 5 15 7 59 23 24 167 2:47 23
|
|||
12-05-02-0118 7UP BANANA 1 18 56 23 13 24 120 2:00 23
|
||||
12-05-02-0119 7UP MELON 1 18 52 23 13 24 120 2:00 23
|
||||
12-05-02-0120 7UP PEACH 1 18 60 23 12 24 120 2:00 23
|
||||
|
||||
|
||||
12-03-02-0065 โกโก้ตัวมัม 1 15 17 23 24 120 2:00 23
|
||||
12-03-02-0067 โกโก้ตัวมารดา 1 15 17 23 24 120 2:00 23
|
||||
12-03-02-0066 โกโก้ตัวมาเท้อ 1 15 17 23 24 120 2:00 23
|
||||
12-03-01-0068 โกโก้ตัวสูตินรีร้อน 1 15 26 24 120 2:00 23
|
||||
12-03-02-0068 โกโก้ตัวสูตินรีเย็น 1 15 26 23 24 120 2:00 23
|
||||
12-03-02-0069 โกโก้ตัวแม่ลูกอ่อน 1 15 17 23 24 120 2:00 23
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 40.
|
|
|
@ -1,6 +1,6 @@
|
|||
normal_eng=ROOT/taobin_project/image/event/passion_mint/passion_mint_th.png
|
||||
normal_thai=ROOT/taobin_project/image/event/passion_mint/passion_mint_th.png
|
||||
press_eng=ROOT/taobin_project/image/event/passion_mint/passion_mint_th.png
|
||||
press_thai=ROOT/taobin_project/image/event/passion_mint/passion_mint_th.png
|
||||
disable_eng=ROOT/taobin_project/image/event/passion_mint/passion_mint_th.png
|
||||
disable_thai=ROOT/taobin_project/image/event/passion_mint/passion_mint_th.png
|
||||
normal_eng=ROOT/taobin_project/image/event/mom_cocoa/mom_cocoa_banner_
|
||||
normal_thai=ROOT/taobin_project/image/event/mom_cocoa/mom_cocoa_banner_
|
||||
press_eng=ROOT/taobin_project/image/event/mom_cocoa/mom_cocoa_banner_
|
||||
press_thai=ROOT/taobin_project/image/event/mom_cocoa/mom_cocoa_banner_
|
||||
disable_eng=ROOT/taobin_project/image/event/mom_cocoa/mom_cocoa_banner_
|
||||
disable_thai=ROOT/taobin_project/image/event/mom_cocoa/mom_cocoa_banner_
|
||||
BIN
image/event/mom_cocoa/mom_cocoa_banner_10-12.png
Normal file
|
After Width: | Height: | Size: 546 KiB |
BIN
image/event/mom_cocoa/mom_cocoa_banner_13-16.png
Normal file
|
After Width: | Height: | Size: 546 KiB |
BIN
image/page_drink_disable_n2/CocoaNoMilk_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 106 KiB |
BIN
image/page_drink_disable_n2/IcedBabyCocoa_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 104 KiB |
BIN
image/page_drink_disable_n2/IcedCocoax2_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 104 KiB |
BIN
image/page_drink_disable_n2/IcedCocoax3_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 104 KiB |
BIN
image/page_drink_disable_n2/IcedCocoax4_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 104 KiB |
BIN
image/page_drink_disable_n2/bn_hot_Banana_Mocha.png
Normal file
|
After Width: | Height: | Size: 8.4 KiB |
|
After Width: | Height: | Size: 13 KiB |
BIN
image/page_drink_n/CocoaNoMilk_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 109 KiB |
BIN
image/page_drink_n/IcedBabyCocoa_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 108 KiB |
BIN
image/page_drink_n/IcedCocoax1_mom_cocoacocoa.png
Normal file
|
After Width: | Height: | Size: 108 KiB |
BIN
image/page_drink_n/IcedCocoax2_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 109 KiB |
BIN
image/page_drink_n/IcedCocoax3_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 109 KiB |
BIN
image/page_drink_n/IcedCocoax4_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 108 KiB |
BIN
image/page_drink_n/bn_hot_Banana_Mocha.png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
|
After Width: | Height: | Size: 9.9 KiB |
BIN
image/page_drink_picture2_n/CocoaNoMilk_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
image/page_drink_picture2_n/IcedBabyCocoa_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
image/page_drink_picture2_n/IcedCocoax1_mom_cocoacocoa.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
image/page_drink_picture2_n/IcedCocoax2_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
image/page_drink_picture2_n/IcedCocoax3_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
image/page_drink_picture2_n/IcedCocoax4_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 15 KiB |
BIN
image/page_drink_picture2_n/bn_hot_Banana_Mocha.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 26 KiB |
BIN
image/page_drink_press_n/CocoaNoMilk_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
image/page_drink_press_n/IcedBabyCocoa_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_drink_press_n/IcedCocoax1_mom_cocoacocoa.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_drink_press_n/IcedCocoax2_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_drink_press_n/IcedCocoax3_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_drink_press_n/IcedCocoax4_mom_cocoa.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_drink_press_n/bn_hot_Banana_Mocha.png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
|
After Width: | Height: | Size: 9.8 KiB |
|
|
@ -1 +1 @@
|
|||
/event/promotion_passion_mint.xml
|
||||
/event/promotion_mom_cocoa.xml
|
||||
12918
xml/event/promotion_mom_cocoa.xml
Normal file
12938
xml/event/promotion_mom_cocoa_ignore.xml
Normal file
|
|
@ -1,3 +1,15 @@
|
|||
<EventActionOk>
|
||||
If GettingDiscountStatus = 1 Then
|
||||
|
||||
If Ext1a = "ok" Then
|
||||
|
||||
Else
|
||||
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_mom_cocoa_ignore.xml"
|
||||
EndIf
|
||||
</EventActionOk>
|
||||
|
||||
<Button>
|
||||
<X> 42 </X>
|
||||
|
|
@ -7,73 +19,67 @@
|
|||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
If SystemDateDayInt >= 13 Then
|
||||
Var return = ###normal_eng + "13-16.png"
|
||||
Else
|
||||
Var return = ###normal_eng + "10-12.png"
|
||||
EndIf
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
If SystemDateDayInt >= 13 Then
|
||||
Var return = ###normal_thai + "13-16.png"
|
||||
Else
|
||||
Var return = ###normal_thai + "10-12.png"
|
||||
EndIf
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
If SystemDateDayInt >= 13 Then
|
||||
Var return = ###normal_eng + "13-16.png"
|
||||
Else
|
||||
Var return = ###normal_eng + "10-12.png"
|
||||
EndIf
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
If SystemDateDayInt >= 13 Then
|
||||
Var return = ###normal_thai + "13-16.png"
|
||||
Else
|
||||
Var return = ###normal_thai + "10-12.png"
|
||||
EndIf
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
If SystemDateDayInt >= 13 Then
|
||||
Var return = ###normal_eng + "13-16.png"
|
||||
Else
|
||||
Var return = ###normal_eng + "10-12.png"
|
||||
EndIf
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
If SystemDateDayInt >= 13 Then
|
||||
Var return = ###normal_thai + "13-16.png"
|
||||
Else
|
||||
Var return = ###normal_thai + "10-12.png"
|
||||
EndIf
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
If MomCocoaProDiscountEnable = 1 Then
|
||||
If GettingDiscountStatus = 0 Then
|
||||
Var GettingDiscountStatus = 1
|
||||
Var AC = "1/0899999999"
|
||||
GETACCEXT AC 38
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_mom_cocoa_ignore.xml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_passion_mint.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/event/passion_mint/passion_mint_th.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/passion_mint/passion_mint_en.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ DEBUGVAR PayOfflineMode
|
|||
DEBUGVAR CocktailShow
|
||||
DEBUGVAR OpenFromPageBoard
|
||||
|
||||
DEBUGVAR PassionMintPro
|
||||
DEBUGVAR 7UpLuckyDrawX2Pro
|
||||
DEBUGVAR MomCocoaPro
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
Var PromotionState2 = "Invisible"
|
||||
|
|
@ -26,8 +26,8 @@ Else
|
|||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
; zone promote
|
||||
|
||||
If PassionMintPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_passion_mint.xml"
|
||||
If MomCocoaPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_mom_cocoa_ignore.xml"
|
||||
Else
|
||||
If 7UpLuckyDrawX2Pro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_7up_lucky_draw_x2.xml"
|
||||
|
|
|
|||
|
|
@ -116,9 +116,15 @@ Var FromCocoa77Pro = 0
|
|||
Var PassionMintPro = 0
|
||||
Var FromPassionMintPro = 0
|
||||
|
||||
; Enable 7UpLuckyDrawX2 promotion, 22 Jul - 9 Aus
|
||||
; Enable 7UpLuckyDrawX2 promotion, 22 Jul - 9 Aug
|
||||
Var 7UpLuckyDrawX2Pro = 0
|
||||
|
||||
; Enable Mom Cocoa promotion, 10 Aug - 16 Aug
|
||||
Var MomCocoaPro = 0
|
||||
Var MomCocoaProDiscountEnable = 0
|
||||
Var FromMomCocoaPro = 0
|
||||
Var Seeker.BuyMomCocoaProFlag = 0
|
||||
|
||||
Var NewCollectPoint = 1
|
||||
Var ShouldCollectPromotionPoint = 0
|
||||
|
||||
|
|
@ -231,6 +237,18 @@ If SystemDateMonthInt = 8 Then
|
|||
If SystemDateDayInt <= 9 Then
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 10 Then
|
||||
If SystemDateDayInt <= 16 Then
|
||||
|
||||
Var MomCocoaPro = 1
|
||||
|
||||
If SystemDateDayInt >= 12 Then
|
||||
Var MomCocoaProDiscountEnable = 1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -254,8 +272,10 @@ If BoxID = 105005 Then
|
|||
Var New_Payment = 1
|
||||
Var NamHomCoconutPro = 0
|
||||
Var Cocoa77Pro = 0
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
Var 7UpLuckyDrawX2Pro = 0
|
||||
Var PassionMintPro = 0
|
||||
Var MomCocoaPro = 1
|
||||
Var MomCocoaProDiscountEnable = 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -388,6 +408,7 @@ If CocoaPowderEnable = "true" Then
|
|||
|
||||
Else
|
||||
Var Cocoa77Pro = 0
|
||||
Var MomCocoaPro = 0
|
||||
EndIf
|
||||
|
||||
If 7UpSyrupEnable = "true" Then
|
||||
|
|
|
|||
48
xml/page_catalog_group_pro_banana_mint_lucky_draw_x3.skt
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
Var Timeout = 0
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
<Button>
|
||||
<X> 780 </X>
|
||||
<Y> 500 </Y>
|
||||
<State> buttonRemoveCup </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Interval> 500 </Interval>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
||||
<EventClick>
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
</Popup>
|
||||
6600
xml/page_catalog_group_pro_banana_mint_lucky_draw_x3.xml
Normal file
48
xml/page_catalog_group_pro_mom_cocoa.skt
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
Var Timeout = 0
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
<Button>
|
||||
<X> 780 </X>
|
||||
<Y> 500 </Y>
|
||||
<State> buttonRemoveCup </State>
|
||||
;<Color> "0x00BDFF" </Color>
|
||||
<Interval> 500 </Interval>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bn_remove_cup.png" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/main_page/bp_remove_cup.png" </Filename>
|
||||
<EventClick>
|
||||
Machine RemoveCup
|
||||
Machine DoorLidOpen
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
</Popup>
|
||||
5383
xml/page_catalog_group_pro_mom_cocoa.xml
Normal file
5409
xml/page_catalog_group_pro_mom_cocoa_ignore.xml
Normal file
|
|
@ -198,6 +198,16 @@
|
|||
|
||||
Var TimeDelayDefault = 1200
|
||||
|
||||
DEBUGVAR Seeker
|
||||
DEBUGVAR Seeker.BuyMomCocoaProFlag
|
||||
If Seeker.BuyMomCocoaProFlag = 1 Then
|
||||
Var dummyPhone = "0899999999"
|
||||
Var param1 = "1"
|
||||
Var param2 = ""
|
||||
Var param3 = ""
|
||||
AddData 50 dummyPhone param1 param2 param3
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 500 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
|
|||
|
|
@ -301,6 +301,13 @@
|
|||
DEBUGVAR OriginalPrice
|
||||
DEBUGVAR TOPPING_PRICE
|
||||
|
||||
If FromMomCocoaPro = 1 Then
|
||||
If DiscountMomCocoaPro > 0 Then
|
||||
Var DiscountDrink = DiscountMomCocoaPro
|
||||
Var Seeker.CampaignPPrice = PromotionPriceDrink
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If FromCocoa77Pro = 1 Then
|
||||
Var OriginalPriceWithTopping = OriginalPrice + TOPPING_PRICE
|
||||
Var PriceDiff = OriginalPriceWithTopping - PromotionPriceDrink
|
||||
|
|
|
|||
|
|
@ -1915,7 +1915,6 @@
|
|||
If Seeker = "curr" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
Else
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -1994,7 +1993,6 @@
|
|||
If Seeker = "curr" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
Else
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -37,6 +37,12 @@
|
|||
|
||||
DEBUGVAR Seeker
|
||||
|
||||
If FromMomCocoaPro = 1 Then
|
||||
If DiscountMomCocoaPro > 0 Then
|
||||
Var Seeker.BuyMomCocoaProFlag = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If Seeker = "curr" Then
|
||||
Var LastMakeDrinkResult = "-"
|
||||
EndIf
|
||||
|
|
|
|||