THAI: Add Assets Nam Hom Coconut pro
|
|
@ -1,6 +1,6 @@
|
|||
normal_eng=ROOT/taobin_project/image/event/tea_time/tea_time_th.png
|
||||
normal_thai=ROOT/taobin_project/image/event/tea_time/tea_time_th.png
|
||||
press_eng=ROOT/taobin_project/image/event/tea_time/tea_time_th.png
|
||||
press_thai=ROOT/taobin_project/image/event/tea_time/tea_time_th.png
|
||||
disable_eng=ROOT/taobin_project/image/event/tea_time/tea_time_th.png
|
||||
disable_thai=ROOT/taobin_project/image/event/tea_time/tea_time_th.png
|
||||
normal_eng=ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_en.png
|
||||
normal_thai=ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_th.png
|
||||
press_eng=ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_en.png
|
||||
press_thai=ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_th.png
|
||||
disable_eng=ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_en.png
|
||||
disable_thai=ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_th.png
|
||||
BIN
image/event/nam_hom_coconut/error/bg.png
Normal file
|
After Width: | Height: | Size: 502 KiB |
BIN
image/event/nam_hom_coconut/error/coconut.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
image/event/nam_hom_coconut/error/confirm_btn.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
image/event/nam_hom_coconut/error/confirm_btn_press.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
image/event/nam_hom_coconut/error/cura-md-bag.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
image/event/nam_hom_coconut/error/text2_en.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
image/event/nam_hom_coconut/error/text2_th.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
image/event/nam_hom_coconut/error/text_en.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
image/event/nam_hom_coconut/error/text_th.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
image/event/nam_hom_coconut/nam_hom_coconut_en.mp4
Normal file
BIN
image/event/nam_hom_coconut/nam_hom_coconut_en.png
Normal file
|
After Width: | Height: | Size: 326 KiB |
BIN
image/event/nam_hom_coconut/nam_hom_coconut_th.mp4
Normal file
BIN
image/event/nam_hom_coconut/nam_hom_coconut_th.png
Normal file
|
After Width: | Height: | Size: 340 KiB |
BIN
image/page_drink_disable_n2/bn_black_tea_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
image/page_drink_disable_n2/bn_hot_americano_Coconut_pro.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
image/page_drink_disable_n2/bn_hot_thai_milk_tea_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
image/page_drink_disable_n2/bn_iced_Cocoa_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
image/page_drink_disable_n2/bn_iced_Coconut_soda_pro.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
image/page_drink_disable_n2/bn_iced_Lychee_Coconut_pro.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
image/page_drink_disable_n2/bn_iced_matcha_tea_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
image/page_drink_disable_n2/bn_iced_milk_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
image/page_drink_disable_n2/bn_iced_pepsi_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
image/page_drink_disable_n2/bn_jasmine_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
image/page_drink_disable_n2/bn_jasmine_milk_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
image/page_drink_disable_n2/bn_match_milk_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
image/page_drink_disable_n2/bn_smoothie_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
image/page_drink_n/bn_black_tea_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
image/page_drink_n/bn_hot_americano_Coconut_pro.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
image/page_drink_n/bn_hot_thai_milk_tea_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
image/page_drink_n/bn_iced_Cocoa_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
image/page_drink_n/bn_iced_Coconut_soda_pro.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
image/page_drink_n/bn_iced_Lychee_Coconut_pro.png
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
image/page_drink_n/bn_iced_matcha_tea_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
image/page_drink_n/bn_iced_milk_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
image/page_drink_n/bn_iced_pepsi_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
image/page_drink_n/bn_jasmine_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
image/page_drink_n/bn_jasmine_milk_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
image/page_drink_n/bn_match_milk_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
image/page_drink_n/bn_smoothie_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
image/page_drink_picture2_n/bn_black_tea_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
image/page_drink_picture2_n/bn_hot_americano_Coconut_pro.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
image/page_drink_picture2_n/bn_hot_thai_milk_tea_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
image/page_drink_picture2_n/bn_iced_Cocoa_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
image/page_drink_picture2_n/bn_iced_Coconut_soda_pro.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
image/page_drink_picture2_n/bn_iced_Lychee_Coconut_pro.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
image/page_drink_picture2_n/bn_iced_matcha_tea_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
image/page_drink_picture2_n/bn_iced_milk_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
image/page_drink_picture2_n/bn_iced_pepsi_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
image/page_drink_picture2_n/bn_jasmine_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
image/page_drink_picture2_n/bn_jasmine_milk_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
image/page_drink_picture2_n/bn_match_milk_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
image/page_drink_picture2_n/bn_smoothie_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
image/page_drink_press_n/bn_black_tea_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
image/page_drink_press_n/bn_hot_americano_Coconut_pro.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
image/page_drink_press_n/bn_hot_thai_milk_tea_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
image/page_drink_press_n/bn_iced_Cocoa_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
image/page_drink_press_n/bn_iced_Coconut_soda_pro.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
image/page_drink_press_n/bn_iced_Lychee_Coconut_pro.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
image/page_drink_press_n/bn_iced_matcha_tea_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
image/page_drink_press_n/bn_iced_milk_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
image/page_drink_press_n/bn_iced_pepsi_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_drink_press_n/bn_jasmine_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
image/page_drink_press_n/bn_jasmine_milk_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
image/page_drink_press_n/bn_match_milk_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
image/page_drink_press_n/bn_smoothie_coconut_pro.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
30
xml/event/multi_promotion_config_coconut_melon.json
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
[
|
||||
{
|
||||
"name": "nam_hom_coconut",
|
||||
"template": "/event/promotion_video_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_en.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_th.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_en.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_th.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_en.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_th.png",
|
||||
"video_eng": "ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_en.mp4",
|
||||
"video_thai": "ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_th.mp4",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_nam_hom_coconut.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "wednesday_melon",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_EN.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_TH.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_EN.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_TH.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_EN.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/wednesday_melon/wednesday_melon_TH.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_wednesday_melon.xml"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -1 +1 @@
|
|||
/event/promotion_tea_time.xml
|
||||
/event/promotion_nam_hom_coconut.xml
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_tea_time.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_nam_hom_coconut.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/event/tea_time/tea_time_th.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_th.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/tea_time/tea_time_en.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_en.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ DEBUGVAR EnergyDrinkEnable
|
|||
DEBUGVAR EnergyDrink1BathPro
|
||||
DEBUGVAR CoffeeDrink1BathPro
|
||||
DEBUGVAR WednesdayMelonPro
|
||||
DEBUGVAR NamHomCoconutPro
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
Var PromotionState2 = "Invisible"
|
||||
|
|
@ -38,24 +39,19 @@ Else
|
|||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
; zone promote
|
||||
|
||||
If TeaTimePro = 1 Then
|
||||
If NamHomCoconutPro = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
|
||||
If EnergyDrink1BathPro = 1 Then
|
||||
If WednesdayMelonPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
If CoffeeDrink1BathPro = 1 Then
|
||||
Var PromotionState3 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
If CountEnablePromotion > 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/triple_promotion_tea_time_and_energy_drink_1_bath_and_coffee_drink_1_bath.xml"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_nam_hom_coconut_and_wednesday_melon.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_tea_time.xml"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_nam_hom_coconut.xml"
|
||||
EndIf
|
||||
Else
|
||||
If EnergyDrink1BathPro = 1 Then
|
||||
|
|
|
|||
|
|
@ -103,6 +103,10 @@ Var FromCoffeeDrink1BathPro = 0
|
|||
Var WednesdayMelonPro = 0
|
||||
Var FromWednesdayMelonPro = 0
|
||||
|
||||
; Enable Nam Hom Coconut, 3 - 21 June
|
||||
Var NamHomCoconutPro = 0
|
||||
Var FromNamHomCoconutPro = 0
|
||||
|
||||
Var NewCollectPoint = 1
|
||||
|
||||
Var NewFlowPaymentCode = 0
|
||||
|
|
@ -283,6 +287,13 @@ If SystemDateMonthInt = 5 Then
|
|||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 6 Then
|
||||
|
||||
If SystemDateDayInt >= 3 Then
|
||||
If SystemDateDayInt <= 21 Then
|
||||
Var NamHomCoconutPro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt = 5 Then
|
||||
Var WednesdayMelonPro = 1
|
||||
EndIf
|
||||
|
|
@ -290,6 +301,7 @@ If SystemDateMonthInt = 6 Then
|
|||
If SystemDateDayInt = 12 Then
|
||||
Var WednesdayMelonPro = 1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -423,12 +435,18 @@ If taobin_nopro = "true" Then
|
|||
Var LipitPro = 0
|
||||
|
||||
Var WednesdayMelonPro = 0
|
||||
|
||||
Var NamHomCoconutPro = 0
|
||||
|
||||
Var AdvertiseProfile = "00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00"
|
||||
|
||||
EndIf
|
||||
|
||||
If CoconutSyrupEnable = "true" Then
|
||||
|
||||
Else
|
||||
Var NamHomCoconutPro = 0
|
||||
EndIf
|
||||
|
||||
If MelonSyrupEnable = "true" Then
|
||||
|
||||
Else
|
||||
|
|
|
|||
|
|
@ -231,6 +231,11 @@
|
|||
wednesday_melon_original_prices = {}
|
||||
wednesday_melon_fix_price = False
|
||||
|
||||
if current_file_name == "page_catalog_group_pro_nam_hom_coconut.skt":
|
||||
from_nam_hom_coconut = True
|
||||
else:
|
||||
from_nam_hom_coconut = False
|
||||
|
||||
#print ("######################################################################################################")
|
||||
idx_of_eng = 2
|
||||
out_xml('<FrameScroll> \r\n')
|
||||
|
|
@ -549,6 +554,9 @@
|
|||
if from_tea_time_pro:
|
||||
out_xml( '\t\tVar FromTeaTimePro = 1 \r\n')
|
||||
|
||||
if from_nam_hom_coconut:
|
||||
out_xml( '\t\tVar FromNamHomCoconutPro = 1 \r\n')
|
||||
|
||||
|
||||
out_xml( '\t\t\r\n')
|
||||
out_xml( '\t\t'+ button_add_string +'\r\n')
|
||||
|
|
@ -1140,6 +1148,9 @@
|
|||
|
||||
if wednesday_melon_fix_price:
|
||||
out_xml( '\t\tVar FromWednesdayMelonPro = 1 \r\n')
|
||||
|
||||
if from_nam_hom_coconut:
|
||||
out_xml( '\t\tVar FromNamHomCoconutPro = 1 \r\n')
|
||||
|
||||
out_xml( '\t\t\r\n')
|
||||
out_xml( '\t\t\r\n')
|
||||
|
|
|
|||
|
|
@ -201,6 +201,7 @@
|
|||
|
||||
STRCONTAIN "1215" MaterialAvailable SugarZeroCalEnable
|
||||
STRCONTAIN "1206" MaterialAvailable EnergyDrinkEnable
|
||||
STRCONTAIN "1216" MaterialAvailable CoconutSyrupEnable
|
||||
|
||||
;Var AppFastEnable = "false"
|
||||
If AppFastEnable = "true" Then
|
||||
|
|
|
|||
|
|
@ -905,6 +905,7 @@
|
|||
Var FromPowerUpPro = 0
|
||||
Var FromEnergyDrink1BathPro = 0
|
||||
Var FromCoffeeDrink1BathPro = 0
|
||||
Var FromNamHomCoconutPro = 0
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
|
||||
|
|
|
|||