From b2be2c1c43719453073941d04fbcbef544c7054c Mon Sep 17 00:00:00 2001 From: Kenta420 Date: Wed, 8 May 2024 10:12:02 +0700 Subject: [PATCH] update Wednesday melon promotion & extend Monday banana pro --- .../multi_promotion_config_melon_coffee.json | 13 + .../multi_promotion_config_melon_energy.json | 13 + xml/event/promotion_monday_banana.xml | 2 +- .../script_common_for_open_promotion_xml.ev | 32 +- xml/event/tricker.ev | 11 + ...and_monday_banana_and_wednesday_melon.xml} | 76 +- ...and_monday_banana_and_wednesday_melon.xml} | 76 +- xml/page_catalog_group_pro_buble_tea.skt | 61 + xml/page_catalog_group_pro_buble_tea.xml | 577 +++ ...page_catalog_group_pro_nam_hom_coconut.skt | 61 + ...page_catalog_group_pro_nam_hom_coconut.xml | 3846 +++++++++++++++++ ...page_catalog_group_pro_wednesday_melon.xml | 4 +- xml/page_payment.xml | 14 +- 13 files changed, 4757 insertions(+), 29 deletions(-) rename xml/event/{double_promotion_coffee_drink_1_bath_and_wednesday_melon.xml => triple_promotion_coffee_drink_1_bath_and_monday_banana_and_wednesday_melon.xml} (99%) rename xml/event/{double_promotion_energy_drink_1_bath_and_wednesday_melon.xml => triple_promotion_energy_drink_1_bath_and_monday_banana_and_wednesday_melon.xml} (99%) create mode 100644 xml/page_catalog_group_pro_buble_tea.skt create mode 100644 xml/page_catalog_group_pro_buble_tea.xml create mode 100644 xml/page_catalog_group_pro_nam_hom_coconut.skt create mode 100644 xml/page_catalog_group_pro_nam_hom_coconut.xml diff --git a/xml/event/multi_promotion_config_melon_coffee.json b/xml/event/multi_promotion_config_melon_coffee.json index 13cbc295..01af7883 100644 --- a/xml/event/multi_promotion_config_melon_coffee.json +++ b/xml/event/multi_promotion_config_melon_coffee.json @@ -12,6 +12,19 @@ "event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_coffee_drink_1_bath.xml" } }, + { + "name": "monday_banana", + "template": "/event/promotion_template.inc", + "config": { + "normal_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png", + "normal_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png", + "press_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png", + "press_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png", + "disable_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png", + "disable_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png", + "event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_monday_banana.xml" + } + }, { "name": "wednesday_melon", "template": "/event/promotion_video_template.inc", diff --git a/xml/event/multi_promotion_config_melon_energy.json b/xml/event/multi_promotion_config_melon_energy.json index 765889e9..6cf030e8 100644 --- a/xml/event/multi_promotion_config_melon_energy.json +++ b/xml/event/multi_promotion_config_melon_energy.json @@ -12,6 +12,19 @@ "event_on_click": "ROOT/taobin_project/xml/event/energy_drink_1_bath/page_energy_drink_1_bath_catalog.xml" } }, + { + "name": "monday_banana", + "template": "/event/promotion_template.inc", + "config": { + "normal_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png", + "normal_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png", + "press_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png", + "press_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png", + "disable_eng": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png", + "disable_thai": "ROOT/taobin_project/image/event/monday_banana/monday_banana_th.png", + "event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_monday_banana.xml" + } + }, { "name": "wednesday_melon", "template": "/event/promotion_video_template.inc", diff --git a/xml/event/promotion_monday_banana.xml b/xml/event/promotion_monday_banana.xml index 3be8bf93..27e2a1d4 100644 --- a/xml/event/promotion_monday_banana.xml +++ b/xml/event/promotion_monday_banana.xml @@ -12582,7 +12582,7 @@ LIMENADE SODA" - Open "ROOT/taobin_project/xml/event/page_catalog_group_pro_monday_banana.xml" + Open "ROOT/taobin_project/xml/page_catalog_group_pro_monday_banana.xml" diff --git a/xml/event/script_common_for_open_promotion_xml.ev b/xml/event/script_common_for_open_promotion_xml.ev index da12a191..89a2838d 100644 --- a/xml/event/script_common_for_open_promotion_xml.ev +++ b/xml/event/script_common_for_open_promotion_xml.ev @@ -61,27 +61,47 @@ Else If EnergyDrink1BathPro = 1 Then Var PromotionState1 = "Enable" Var CountEnablePromotion = CountEnablePromotion + 1 - - If WednesdayMelonPro = 1 Then + + If MondayBananaPro = 1 Then Var PromotionState2 = "Enable" Var CountEnablePromotion = CountEnablePromotion + 1 - Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_energy_drink_1_bath_and_wednesday_melon.xml" + EndIf + + If WednesdayMelonPro = 1 Then + Var PromotionState3 = "Enable" + Var CountEnablePromotion = CountEnablePromotion + 1 + EndIf + + If CountEnablePromotion > 1 Then + Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/triple_promotion_energy_drink_1_bath_and_monday_banana_and_wednesday_melon.xml" Else - Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_energy_drink_1_bath.xml" + Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_energy_drink_1_bath.xml" EndIf Else If CoffeeDrink1BathPro = 1 Then Var PromotionState1 = "Enable" Var CountEnablePromotion = CountEnablePromotion + 1 - If WednesdayMelonPro = 1 Then + If MondayBananaPro = 1 Then Var PromotionState2 = "Enable" Var CountEnablePromotion = CountEnablePromotion + 1 - Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_coffee_drink_1_bath_and_wednesday_melon.xml" + EndIf + + If WednesdayMelonPro = 1 Then + Var PromotionState3 = "Enable" + Var CountEnablePromotion = CountEnablePromotion + 1 + EndIf + + If CountEnablePromotion > 1 Then + Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/triple_promotion_coffee_drink_1_bath_and_monday_banana_and_wednesday_melon.xml" Else Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_coffee_drink_1_bath.xml" EndIf Else + If MondayBananaPro = 1 Then + Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_monday_banana.xml" + EndIf + If WednesdayMelonPro = 1 Then Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_wednesday_melon.xml" EndIf diff --git a/xml/event/tricker.ev b/xml/event/tricker.ev index f9e3210a..0a145506 100644 --- a/xml/event/tricker.ev +++ b/xml/event/tricker.ev @@ -269,6 +269,17 @@ If SystemDateMonthInt = 5 Then Var WednesdayMelonPro = 1 EndIf + If SystemDateDayInt = 13 Then + Var MondayBananaPro = 1 + EndIf + + If SystemDateDayInt = 20 Then + Var MondayBananaPro = 1 + EndIf + + If SystemDateDayInt = 27 Then + Var MondayBananaPro = 1 + EndIf EndIf If SystemDateMonthInt = 6 Then diff --git a/xml/event/double_promotion_coffee_drink_1_bath_and_wednesday_melon.xml b/xml/event/triple_promotion_coffee_drink_1_bath_and_monday_banana_and_wednesday_melon.xml similarity index 99% rename from xml/event/double_promotion_coffee_drink_1_bath_and_wednesday_melon.xml rename to xml/event/triple_promotion_coffee_drink_1_bath_and_monday_banana_and_wednesday_melon.xml index dc051f88..984de65f 100644 --- a/xml/event/double_promotion_coffee_drink_1_bath_and_wednesday_melon.xml +++ b/xml/event/triple_promotion_coffee_drink_1_bath_and_monday_banana_and_wednesday_melon.xml @@ -616,6 +616,53 @@ + +;endblock2 +;block3 + + PromotionState3 + 33 + 22 + 484 + 602 + + -;endblock2 -;block3 +;endblock3 +;block4-expand "Enable" 1032 636 - 8 + +eval( + If CountEnablePromotion > 2 Then + Var max_count = 4 + Else + Var max_count = 8 + EndIf + Var return = max_count +) + 0 0 1032 636 "auto" "Vertical" - 4 + +eval( + If CountEnablePromotion > 2 Then + Var column_count = 2 + Else + Var column_count = 4 + EndIf + Var return = column_count +) + +; menu_new_list 0 + +; Cart + + + + + +;BigLogoLayout + + + + + + diff --git a/xml/page_catalog_group_pro_nam_hom_coconut.skt b/xml/page_catalog_group_pro_nam_hom_coconut.skt new file mode 100644 index 00000000..c64f1f23 --- /dev/null +++ b/xml/page_catalog_group_pro_nam_hom_coconut.skt @@ -0,0 +1,61 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + + + Var Timeout = 0 + + + + + + + + + + + + + + + + +;BigLogoLayout + + + + + + diff --git a/xml/page_catalog_group_pro_nam_hom_coconut.xml b/xml/page_catalog_group_pro_nam_hom_coconut.xml new file mode 100644 index 00000000..2750adec --- /dev/null +++ b/xml/page_catalog_group_pro_nam_hom_coconut.xml @@ -0,0 +1,3846 @@ + + + + "Enable" + 1080 + 1920 +; "0xeae6e1" + SoundVolume + + ; On open + Var NextPage = "-" + + DEBUGVAR ICE_PROCESS_STATUS + DEBUGVAR ICE_PROCESS_TXT + + + If show_eng = "true" Then + Var showthaiText = "Invisible" + Var showengText = "Enable" + Var DirImage = "ROOT/taobin_project/image/page3_en" + Var show_btp = "ROOT/taobin_project/image/page2/bn_thai_lang_press_2.png" + Var show_btn = "ROOT/taobin_project/image/page2/bn_thai_lang_2.png" + + Var ice_tab_text = "Ice will be ready at " + Var text_unavailable = "UNAVAILABLE###size=16" + + + Else + Var showengText = "Invisible" + Var showthaiText = "Enable" + + Var DirImage = "ROOT/taobin_project/image/page3" + Var show_btp = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png" + Var show_btn = "ROOT/taobin_project/image/page2/bn_eng_lang_2.png" + + Var ice_tab_text = "น้ำแข็งจะพร้อมเวลา " + Var text_unavailable = "หมด###size=32" + EndIf + + If ICE_PROCESS_STATUS = 2 Then + Var ice_tab_process_show = "Enable" + Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT + Else + Var ice_tab_process_show = "Invisible" + EndIf + + + ; SpiralOnline + + Var MenuVSelected2 = "Invisible" + + Var Menu1Selected2 = "Invisible" + Var Menu2Selected2 = "Invisible" + Var Menu3Selected2 = "Invisible" + Var Menu4Selected2 = "Invisible" + + Var Menu6Selected2 = "Invisible" + Var Menu7Selected2 = "Invisible" + Var MenuVSelected2 = "Invisible" + Var Menu11Selected2 = "Invisible" + + Var Menu21Selected2 = "Invisible" + + Var MenuVSelected2 = "Invisible" + If SpiralOnline = "true" Then + If Seeker = "curr" Then + Var MenuVSelected2 = "Enable" + EndIf + EndIf + + ; init default + Var Menu1Selected = "Enable" + Var Menu2Selected = "Enable" + Var Menu3Selected = "Enable" + Var Menu4Selected = "Enable" + ; 5 fruit + Var Menu5Selected = "Invisible" + Var Menu6Selected = "Enable" + Var Menu7Selected = "Enable" + ; 8 cocktail + Var Menu8Selected = "Invisible" + + If CocktailShow = "true" Then + Var Menu7Selected = "Invisible" + Var Menu8Selected = "Enable" + EndIf + + + If AppFastEnable = "true" Then + Var Menu11Selected = "Enable" + Var Menu21Selected = "Invisible" + Var Menu7Selected = "Invisible" + Else + If MenuKidEnable = "true" Then + Var Menu11Selected = "Invisible" + Var Menu21Selected = "Enable" + Var Menu7Selected = "Invisible" + Else + Var Menu11Selected = "Invisible" + Var Menu21Selected = "Invisible" + Var Menu7Selected = "Enable" + EndIf + EndIf + + If CocktailShow = "true" Then + Var Menu7Selected = "Invisible" + EndIf + + If RecipeTag1 = "HealthTurnOn" Then + Var Menu22Selected = "Enable" + Else + Var Menu22Selected = "Invisible" + EndIf + ; + + + + + Var Timeout = 0 + + + + If show_eng = "true" Then + Var DirImage2 = "ROOT/taobin_project/image/drink_option_en/" + Var DirImageAlter = "ROOT/taobin_project/image/page3_2_en/" + + Else + Var DirImage2 = "ROOT/taobin_project/image/drink_option/" + Var DirImageAlter = "ROOT/taobin_project/image/page3_2/" + EndIf + + + + + + +; notice enable heathy menu + + + 0 + 380 + 1080 + 1540 + "0xeae6e1" + + + + + 1000 + + ;DEBUGVAR ICE_PROCESS_STATUS + + If ICE_PROCESS_STATUS = 2 Then + Var ice_tab_process_show = "Enable" + Var ice_show_open = ice_tab_text + ICE_PROCESS_TXT + Else + Var ice_tab_process_show = "Invisible" + EndIf + + + If NextPage = "-" Then + + Else + If CupOnArm = "true" Then + If Timeout > 9 Then + SAVELOG "COA9" + Open NextPage + EndIf + Else + If Timeout > 30 Then + SAVELOG "COA30" + Open NextPage + EndIf + EndIf + EndIf + + If Timeout > 60 Then + SAVELOG "Timeout" + If Seeker = "next" Then + Open "ROOT/taobin_project/xml/page_brewing3Conti.xml" + Else + SAVELOG "Back" + Open "ROOT/taobin_project/xml/page_back_to_main.xml" + EndIf + EndIf + + If BrewCommand = "RefreshAll" Then + Var BrewCommand = "-" + Open CurrentXMLFileName2 + EndIf + + If Seeker = "curr" Then + If DoorCupPosition = "bottom" Then + ; It normal + Var EmergencyStop = "false" + Else + Var EmergencyStop = "true" + + ;Open "ROOT/taobin_project/xml/page_back_to_error.xml" + + EndIf + EndIf + + If IgnoreNetCore = "true" Then + + Else + ;stop_now + + EndIf + + + ; zone cup on arm + If CupOnArm = "true" Then + + If CheckCupStateDoorCupClose = "" Then + If buttonRemoveCup = "Enable" Then + + Else + Refresh + EndIf + + Var buttonRemoveCup = "Enable" + + EndIf + + If CheckCupStateDoorCupClose = "done" Then + If buttonRemoveCup = "Enable" Then + + Else + Refresh + EndIf + + Var buttonRemoveCup = "Enable" + + EndIf + Else + If buttonRemoveCup = "Enable" Then + Var buttonRemoveCup = "Invisible" + Refresh + EndIf + EndIf + + + Var Timeout = Timeout + 1 + TimerReset + + + +; under line + + 0 + 494 + "ROOT/taobin_project/image/page3/tab_line_bottom.png" + + + +; under line + + 0 + 358 + "ROOT/taobin_project/image/page3/bg1.png" + + + +; back + + + + +; + + 1080 + "auto" + 0 + 395 + + "Enable" + 896 + 102 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DEBUGVAR web_ready + If web_ready = "true" Then + If web_ref = QRCODE99x Then + + Var web_readyOK = web_ready + Var web_telnumOK = web_telnum + + Var web_app_prepar = "true" + + ; Handle penetrator + + If Only18 = "true" Then + + Open "ROOT/taobin_project/xml/page_identity18_verification.xml" + Else + + Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml" + EndIf + + ; Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_payment.xml" + + EndIf + Else + EndIf + + + + + + + + + 10 + 497 + 1080 + "auto" + "Vertical" + 4 + +; menu_new_list 13 + ; ==================> Len = 12 + ; - 12-01-02-0068 - + + 33 + 22 + 225 + 296 + Flag( 12-01-02-0068.Button,$Sum1201020068) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "กาแฟดำมะพร้าวน้ำหอม" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "กาแฟ น้ำ และ น้ำเชื่อมมะพร้าว" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "Coconut Americano" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Espresso, Coconut Syrup, +Sugar, Water" + + + 16 + 264 + Var( DirImage2 + "option_deactive.png" ) + + + 16 + 264 + "Invisible" + Var( DirImage2 + "hot.png" ) + Var( DirImage2 + "hot_db.png" ) + + + 50 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + Var( DirImage2 + "cold.png" ) + Var( DirImage2 + "cold_db.png" ) + $12-01-02-0068.Button + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + $12-01-02-0068.Button + StringFmt( $12-01-02-0068.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + "Invisible" + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + + eval( + If ICE_PROCESS_STATUS = 2 Then + + Var ice_tab_process_show = "Invisible" + + Else + Var ice_tab_process_show = "Invisible" + EndIf + Var return = ice_tab_process_show + ) + + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" + + + 49 + 117 + + eval( + If $Sum1201020068 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $12-01-02-0068.TAG tag2_is_disable + STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable + Var return = "Invisible" + If tag1_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag2_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag3_is_disable = "true" Then + Var return = "Enable" + EndIf + Else + Var return = "Invisible" + EndIf + ) + + "ROOT/taobin_project/image//img_menu_err2.png" + + + 84 + 266 + 10 + OpunMediumTTF + 0xDE794E + ice_tab_process_show + ice_show_open + + + 48 + 116 + 32 + 128 + 64 + MITRegularTTF + 0x5A5A5A + "disable-show" + $Sum1201020068 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 12 + ; - - 12-05-03-0092 + + 33 + 22 + 225 + 296 + Flag( 12-05-03-0092.Button,$Sum1205030092) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "มะพร้าวน้ำหอมปั่น" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมมะพร้าว และน้ำ " + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "Coconut Smoothie" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Coconut Syrup and Water" + + + 16 + 264 + Var( DirImage2 + "option_deactive.png" ) + + + 16 + 264 + "Invisible" + Var( DirImage2 + "hot.png" ) + Var( DirImage2 + "hot_db.png" ) + + + 50 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + Var( DirImage2 + "cold.png" ) + Var( DirImage2 + "cold_db.png" ) + "Invisible" + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-05-03-0092.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-05-03-0092.Button + StringFmt( $12-05-03-0092.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + + eval( + If ICE_PROCESS_STATUS = 2 Then + + Var ice_tab_process_show = "Invisible" + + Else + Var ice_tab_process_show = "Invisible" + EndIf + Var return = ice_tab_process_show + ) + + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" + + + 49 + 117 + + eval( + If $Sum1205030092 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable + STRCONTAIN "ERR" $12-05-03-0092.TAG tag3_is_disable + Var return = "Invisible" + If tag1_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag2_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag3_is_disable = "true" Then + Var return = "Enable" + EndIf + Else + Var return = "Invisible" + EndIf + ) + + "ROOT/taobin_project/image//img_menu_err2.png" + + + 84 + 266 + 10 + OpunMediumTTF + 0xDE794E + ice_tab_process_show + ice_show_open + + + 48 + 116 + 32 + 128 + 64 + MITRegularTTF + 0x5A5A5A + "disable-show" + $Sum1205030092 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 12 + ; - 12-03-02-0058 12-03-03-0058 + + 33 + 22 + 225 + 296 + Flag( 12-03-02-0058.Button,12-03-03-0058.Button,$Sum12030200581203030058) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "มะพร้าวน้ำหอมปั่นนมนิวซีแลนด์" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมมะพร้าว นม และน้ำ " + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "Coconut milk" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Coconut syrup, Milk, +Water" + + + 16 + 264 + Var( DirImage2 + "option_deactive.png" ) + + + 16 + 264 + "Invisible" + Var( DirImage2 + "hot.png" ) + Var( DirImage2 + "hot_db.png" ) + + + 50 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + Var( DirImage2 + "cold.png" ) + Var( DirImage2 + "cold_db.png" ) + $12-03-02-0058.Button + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + $12-03-02-0058.Button + StringFmt( $12-03-02-0058.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-03-03-0058.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-03-03-0058.Button + StringFmt( $12-03-03-0058.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + + eval( + If ICE_PROCESS_STATUS = 2 Then + + Var ice_tab_process_show = "Invisible" + + Else + Var ice_tab_process_show = "Invisible" + EndIf + Var return = ice_tab_process_show + ) + + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" + + + 49 + 117 + + eval( + If $Sum12030200581203030058 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $12-03-02-0058.TAG tag2_is_disable + STRCONTAIN "ERR" $12-03-03-0058.TAG tag3_is_disable + Var return = "Invisible" + If tag1_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag2_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag3_is_disable = "true" Then + Var return = "Enable" + EndIf + Else + Var return = "Invisible" + EndIf + ) + + "ROOT/taobin_project/image//img_menu_err2.png" + + + 84 + 266 + 10 + OpunMediumTTF + 0xDE794E + ice_tab_process_show + ice_show_open + + + 48 + 116 + 32 + 128 + 64 + MITRegularTTF + 0x5A5A5A + "disable-show" + $Sum12030200581203030058 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 12 + ; - 12-03-02-0059 12-03-03-0059 + + 33 + 22 + 225 + 296 + Flag( 12-03-02-0059.Button,12-03-03-0059.Button,$Sum12030200591203030059) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "มะพร้าวโกโก้ปั่นนมนิวซีแลนด์" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมมะพร้าว โกโก้ นม และน้ำ " + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "Coconut Chocolate milk" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Coconut syrup, Cocoa, Milk, +Water" + + + 16 + 264 + Var( DirImage2 + "option_deactive.png" ) + + + 16 + 264 + "Invisible" + Var( DirImage2 + "hot.png" ) + Var( DirImage2 + "hot_db.png" ) + + + 50 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + Var( DirImage2 + "cold.png" ) + Var( DirImage2 + "cold_db.png" ) + $12-03-02-0059.Button + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + $12-03-02-0059.Button + StringFmt( $12-03-02-0059.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-03-03-0059.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-03-03-0059.Button + StringFmt( $12-03-03-0059.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + + eval( + If ICE_PROCESS_STATUS = 2 Then + + Var ice_tab_process_show = "Invisible" + + Else + Var ice_tab_process_show = "Invisible" + EndIf + Var return = ice_tab_process_show + ) + + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" + + + 49 + 117 + + eval( + If $Sum12030200591203030059 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $12-03-02-0059.TAG tag2_is_disable + STRCONTAIN "ERR" $12-03-03-0059.TAG tag3_is_disable + Var return = "Invisible" + If tag1_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag2_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag3_is_disable = "true" Then + Var return = "Enable" + EndIf + Else + Var return = "Invisible" + EndIf + ) + + "ROOT/taobin_project/image//img_menu_err2.png" + + + 84 + 266 + 10 + OpunMediumTTF + 0xDE794E + ice_tab_process_show + ice_show_open + + + 48 + 116 + 32 + 128 + 64 + MITRegularTTF + 0x5A5A5A + "disable-show" + $Sum12030200591203030059 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 12 + ; - 12-02-02-0060 12-02-03-0060 + + 33 + 22 + 225 + 296 + Flag( 12-02-02-0060.Button,12-02-03-0060.Button,$Sum12020200601202030060) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "มะพร้าวน้ำหอมมัทฉะลาเต้" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมมะพร้าว มัทฉะ นมและน้ำ" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "Coconut Matcha latte" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Coconut Syrup, Matcha Milk +Water" + + + 16 + 264 + Var( DirImage2 + "option_deactive.png" ) + + + 16 + 264 + "Invisible" + Var( DirImage2 + "hot.png" ) + Var( DirImage2 + "hot_db.png" ) + + + 50 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + Var( DirImage2 + "cold.png" ) + Var( DirImage2 + "cold_db.png" ) + $12-02-02-0060.Button + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + $12-02-02-0060.Button + StringFmt( $12-02-02-0060.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-02-03-0060.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-02-03-0060.Button + StringFmt( $12-02-03-0060.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + + eval( + If ICE_PROCESS_STATUS = 2 Then + + Var ice_tab_process_show = "Invisible" + + Else + Var ice_tab_process_show = "Invisible" + EndIf + Var return = ice_tab_process_show + ) + + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" + + + 49 + 117 + + eval( + If $Sum12020200601202030060 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $12-02-02-0060.TAG tag2_is_disable + STRCONTAIN "ERR" $12-02-03-0060.TAG tag3_is_disable + Var return = "Invisible" + If tag1_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag2_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag3_is_disable = "true" Then + Var return = "Enable" + EndIf + Else + Var return = "Invisible" + EndIf + ) + + "ROOT/taobin_project/image//img_menu_err2.png" + + + 84 + 266 + 10 + OpunMediumTTF + 0xDE794E + ice_tab_process_show + ice_show_open + + + 48 + 116 + 32 + 128 + 64 + MITRegularTTF + 0x5A5A5A + "disable-show" + $Sum12020200601202030060 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 12 + ; - 12-02-02-0061 12-02-03-0061 + + 33 + 22 + 225 + 296 + Flag( 12-02-02-0061.Button,12-02-03-0061.Button,$Sum12020200611202030061) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "ชาเขียวญี่ปุ่นมะพร้าวน้ำหอม" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมมะพร้าว มัทฉะ และน้ำ" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "Coconut Matcha" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Coconut Syrup, Matcha and Water" + + + 16 + 264 + Var( DirImage2 + "option_deactive.png" ) + + + 16 + 264 + "Invisible" + Var( DirImage2 + "hot.png" ) + Var( DirImage2 + "hot_db.png" ) + + + 50 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + Var( DirImage2 + "cold.png" ) + Var( DirImage2 + "cold_db.png" ) + $12-02-02-0061.Button + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + $12-02-02-0061.Button + StringFmt( $12-02-02-0061.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-02-03-0061.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-02-03-0061.Button + StringFmt( $12-02-03-0061.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + + eval( + If ICE_PROCESS_STATUS = 2 Then + + Var ice_tab_process_show = "Invisible" + + Else + Var ice_tab_process_show = "Invisible" + EndIf + Var return = ice_tab_process_show + ) + + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" + + + 49 + 117 + + eval( + If $Sum12020200611202030061 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $12-02-02-0061.TAG tag2_is_disable + STRCONTAIN "ERR" $12-02-03-0061.TAG tag3_is_disable + Var return = "Invisible" + If tag1_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag2_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag3_is_disable = "true" Then + Var return = "Enable" + EndIf + Else + Var return = "Invisible" + EndIf + ) + + "ROOT/taobin_project/image//img_menu_err2.png" + + + 84 + 266 + 10 + OpunMediumTTF + 0xDE794E + ice_tab_process_show + ice_show_open + + + 48 + 116 + 32 + 128 + 64 + MITRegularTTF + 0x5A5A5A + "disable-show" + $Sum12020200611202030061 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 12 + ; - 12-02-02-0062 12-02-03-0062 + + 33 + 22 + 225 + 296 + Flag( 12-02-02-0062.Button,12-02-03-0062.Button,$Sum12020200621202030062) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "มะพร้าวชาไทยนมนิวซีแลนด์" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมมะพร้าว ชาไทย นมและน้ำ" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "Coconut Thai Milk Tea" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Coconut Syrup, Thai Tea, Milk +Water" + + + 16 + 264 + Var( DirImage2 + "option_deactive.png" ) + + + 16 + 264 + "Invisible" + Var( DirImage2 + "hot.png" ) + Var( DirImage2 + "hot_db.png" ) + + + 50 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + Var( DirImage2 + "cold.png" ) + Var( DirImage2 + "cold_db.png" ) + $12-02-02-0062.Button + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + $12-02-02-0062.Button + StringFmt( $12-02-02-0062.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-02-03-0062.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-02-03-0062.Button + StringFmt( $12-02-03-0062.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + + eval( + If ICE_PROCESS_STATUS = 2 Then + + Var ice_tab_process_show = "Invisible" + + Else + Var ice_tab_process_show = "Invisible" + EndIf + Var return = ice_tab_process_show + ) + + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" + + + 49 + 117 + + eval( + If $Sum12020200621202030062 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $12-02-02-0062.TAG tag2_is_disable + STRCONTAIN "ERR" $12-02-03-0062.TAG tag3_is_disable + Var return = "Invisible" + If tag1_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag2_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag3_is_disable = "true" Then + Var return = "Enable" + EndIf + Else + Var return = "Invisible" + EndIf + ) + + "ROOT/taobin_project/image//img_menu_err2.png" + + + 84 + 266 + 10 + OpunMediumTTF + 0xDE794E + ice_tab_process_show + ice_show_open + + + 48 + 116 + 32 + 128 + 64 + MITRegularTTF + 0x5A5A5A + "disable-show" + $Sum12020200621202030062 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 12 + ; - 12-02-02-0063 12-02-03-0063 + + 33 + 22 + 225 + 296 + Flag( 12-02-02-0063.Button,12-02-03-0063.Button,$Sum12020200631202030063) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "ชาดำเย็นมะพร้าวน้ำหอม" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมมะพร้าว ชาไทย และน้ำ" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "Coconut Thai Black Tea" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Coconut Syrup, Thai Tea and Water" + + + 16 + 264 + Var( DirImage2 + "option_deactive.png" ) + + + 16 + 264 + "Invisible" + Var( DirImage2 + "hot.png" ) + Var( DirImage2 + "hot_db.png" ) + + + 50 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + Var( DirImage2 + "cold.png" ) + Var( DirImage2 + "cold_db.png" ) + $12-02-02-0063.Button + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + $12-02-02-0063.Button + StringFmt( $12-02-02-0063.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-02-03-0063.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-02-03-0063.Button + StringFmt( $12-02-03-0063.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + + eval( + If ICE_PROCESS_STATUS = 2 Then + + Var ice_tab_process_show = "Invisible" + + Else + Var ice_tab_process_show = "Invisible" + EndIf + Var return = ice_tab_process_show + ) + + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" + + + 49 + 117 + + eval( + If $Sum12020200631202030063 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $12-02-02-0063.TAG tag2_is_disable + STRCONTAIN "ERR" $12-02-03-0063.TAG tag3_is_disable + Var return = "Invisible" + If tag1_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag2_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag3_is_disable = "true" Then + Var return = "Enable" + EndIf + Else + Var return = "Invisible" + EndIf + ) + + "ROOT/taobin_project/image//img_menu_err2.png" + + + 84 + 266 + 10 + OpunMediumTTF + 0xDE794E + ice_tab_process_show + ice_show_open + + + 48 + 116 + 32 + 128 + 64 + MITRegularTTF + 0x5A5A5A + "disable-show" + $Sum12020200631202030063 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 12 + ; - 12-02-02-0064 12-02-03-0064 + + 33 + 22 + 225 + 296 + Flag( 12-02-02-0064.Button,12-02-03-0064.Button,$Sum12020200641202030064) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "มะพร้าวชามะลินมนิวซีแลนด์" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมมะพร้าว ชามะลิ นมและน้ำ" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "Coconut Jasmine milk tea" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Coconut Syrup, Jasmine Tea, Milk +Water" + + + 16 + 264 + Var( DirImage2 + "option_deactive.png" ) + + + 16 + 264 + "Invisible" + Var( DirImage2 + "hot.png" ) + Var( DirImage2 + "hot_db.png" ) + + + 50 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + Var( DirImage2 + "cold.png" ) + Var( DirImage2 + "cold_db.png" ) + $12-02-02-0064.Button + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + $12-02-02-0064.Button + StringFmt( $12-02-02-0064.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-02-03-0064.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-02-03-0064.Button + StringFmt( $12-02-03-0064.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + + eval( + If ICE_PROCESS_STATUS = 2 Then + + Var ice_tab_process_show = "Invisible" + + Else + Var ice_tab_process_show = "Invisible" + EndIf + Var return = ice_tab_process_show + ) + + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" + + + 49 + 117 + + eval( + If $Sum12020200641202030064 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $12-02-02-0064.TAG tag2_is_disable + STRCONTAIN "ERR" $12-02-03-0064.TAG tag3_is_disable + Var return = "Invisible" + If tag1_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag2_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag3_is_disable = "true" Then + Var return = "Enable" + EndIf + Else + Var return = "Invisible" + EndIf + ) + + "ROOT/taobin_project/image//img_menu_err2.png" + + + 84 + 266 + 10 + OpunMediumTTF + 0xDE794E + ice_tab_process_show + ice_show_open + + + 48 + 116 + 32 + 128 + 64 + MITRegularTTF + 0x5A5A5A + "disable-show" + $Sum12020200641202030064 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 12 + ; - 12-02-02-0065 12-02-03-0065 + + 33 + 22 + 225 + 296 + Flag( 12-02-02-0065.Button,12-02-03-0065.Button,$Sum12020200651202030065) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "ชามะลิมะพร้าวน้ำหอม" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมมะพร้าว ชามะลิ และน้ำ" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "Coconut Jasmine tea" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Coconut Syrup, Jasmine Tea and Water" + + + 16 + 264 + Var( DirImage2 + "option_deactive.png" ) + + + 16 + 264 + "Invisible" + Var( DirImage2 + "hot.png" ) + Var( DirImage2 + "hot_db.png" ) + + + 50 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + Var( DirImage2 + "cold.png" ) + Var( DirImage2 + "cold_db.png" ) + $12-02-02-0065.Button + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + $12-02-02-0065.Button + StringFmt( $12-02-02-0065.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + $12-02-03-0065.Button + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + $12-02-03-0065.Button + StringFmt( $12-02-03-0065.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + + eval( + If ICE_PROCESS_STATUS = 2 Then + + Var ice_tab_process_show = "Invisible" + + Else + Var ice_tab_process_show = "Invisible" + EndIf + Var return = ice_tab_process_show + ) + + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" + + + 49 + 117 + + eval( + If $Sum12020200651202030065 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $12-02-02-0065.TAG tag2_is_disable + STRCONTAIN "ERR" $12-02-03-0065.TAG tag3_is_disable + Var return = "Invisible" + If tag1_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag2_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag3_is_disable = "true" Then + Var return = "Enable" + EndIf + Else + Var return = "Invisible" + EndIf + ) + + "ROOT/taobin_project/image//img_menu_err2.png" + + + 84 + 266 + 10 + OpunMediumTTF + 0xDE794E + ice_tab_process_show + ice_show_open + + + 48 + 116 + 32 + 128 + 64 + MITRegularTTF + 0x5A5A5A + "disable-show" + $Sum12020200651202030065 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 12 + ; - 12-05-02-0090 - + + 33 + 22 + 225 + 296 + Flag( 12-05-02-0090.Button,$Sum1205020090) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "มะพร้าวน้ำหอมโซดา" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมมะพร้าว และโซดา" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "Coconut Soda" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Coconut Syrup and Soda" + + + 16 + 264 + Var( DirImage2 + "option_deactive.png" ) + + + 16 + 264 + "Invisible" + Var( DirImage2 + "hot.png" ) + Var( DirImage2 + "hot_db.png" ) + + + 50 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + Var( DirImage2 + "cold.png" ) + Var( DirImage2 + "cold_db.png" ) + $12-05-02-0090.Button + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + $12-05-02-0090.Button + StringFmt( $12-05-02-0090.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + "Invisible" + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + + eval( + If ICE_PROCESS_STATUS = 2 Then + + Var ice_tab_process_show = "Invisible" + + Else + Var ice_tab_process_show = "Invisible" + EndIf + Var return = ice_tab_process_show + ) + + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" + + + 49 + 117 + + eval( + If $Sum1205020090 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $12-05-02-0090.TAG tag2_is_disable + STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable + Var return = "Invisible" + If tag1_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag2_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag3_is_disable = "true" Then + Var return = "Enable" + EndIf + Else + Var return = "Invisible" + EndIf + ) + + "ROOT/taobin_project/image//img_menu_err2.png" + + + 84 + 266 + 10 + OpunMediumTTF + 0xDE794E + ice_tab_process_show + ice_show_open + + + 48 + 116 + 32 + 128 + 64 + MITRegularTTF + 0x5A5A5A + "disable-show" + $Sum1205020090 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 12 + ; - 12-05-02-0091 - + + 33 + 22 + 225 + 296 + Flag( 12-05-02-0091.Button,$Sum1205020091) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "มะพร้าวน้ำหอมเป๊ปซี่" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมมะพร้าว เป๊ปซี่ และโซดา" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "Coconut Pepsi" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Coconut Syrup, Pepsi and Soda" + + + 16 + 264 + Var( DirImage2 + "option_deactive.png" ) + + + 16 + 264 + "Invisible" + Var( DirImage2 + "hot.png" ) + Var( DirImage2 + "hot_db.png" ) + + + 50 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + Var( DirImage2 + "cold.png" ) + Var( DirImage2 + "cold_db.png" ) + $12-05-02-0091.Button + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + $12-05-02-0091.Button + StringFmt( $12-05-02-0091.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + "Invisible" + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + + eval( + If ICE_PROCESS_STATUS = 2 Then + + Var ice_tab_process_show = "Invisible" + + Else + Var ice_tab_process_show = "Invisible" + EndIf + Var return = ice_tab_process_show + ) + + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" + + + 49 + 117 + + eval( + If $Sum1205020091 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $12-05-02-0091.TAG tag2_is_disable + STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable + Var return = "Invisible" + If tag1_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag2_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag3_is_disable = "true" Then + Var return = "Enable" + EndIf + Else + Var return = "Invisible" + EndIf + ) + + "ROOT/taobin_project/image//img_menu_err2.png" + + + 84 + 266 + 10 + OpunMediumTTF + 0xDE794E + ice_tab_process_show + ice_show_open + + + 48 + 116 + 32 + 128 + 64 + MITRegularTTF + 0x5A5A5A + "disable-show" + $Sum1205020091 + text_unavailable + center-vertical-horizontal + + + ; - - - + ; ==================> Len = 12 + ; - 12-05-02-0093 + + 33 + 22 + 225 + 296 + Flag( 12-05-02-0093.Button,.Button,$Sum1205020093) + + + 16 + 164 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + "มะพร้าวน้ำหอมลิ้นจี่โซดา" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + "น้ำเชื่อมมะพร้าว ลิ้นจี่ โซดา" + + + 16 + 164 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + "Coconut Lychee Soda" + + + 16 + 220 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + "Coconut Syrup, Lychee Syrup and Soda" + + + 16 + 264 + Var( DirImage2 + "option_deactive.png" ) + + + 16 + 264 + "Invisible" + Var( DirImage2 + "hot.png" ) + Var( DirImage2 + "hot_db.png" ) + + + 50 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + Var( DirImage2 + "cold.png" ) + Var( DirImage2 + "cold_db.png" ) + $12-05-02-0093.Button + + + 115 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitMediumTTF + 0x6F5F51 + 0xEAE6E1 + $12-05-02-0093.Button + StringFmt( $12-05-02-0093.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 146 + 264 + Var( DirImage2 + "blend.png" ) + Var( DirImage2 + "blend_db.png" ) + "Invisible" + + + 180 + TextPriceMenuY + TextPriceMenuSize + 220 + KanitRegularTTF + 0x6F5F51 + 0xEAE6E1 + "Invisible" + StringFmt( $.Price , DisplayFormat, PreScaleConvertShow) ; test + + + 81 + 264 + + eval( + If ICE_PROCESS_STATUS = 2 Then + + Var ice_tab_process_show = "Invisible" + + Else + Var ice_tab_process_show = "Invisible" + EndIf + Var return = ice_tab_process_show + ) + + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" + "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" + + + 49 + 117 + + eval( + If $Sum1205020093 = "Disable" Then + STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable + STRCONTAIN "ERR" $12-05-02-0093.TAG tag2_is_disable + STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable + Var return = "Invisible" + If tag1_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag2_is_disable = "true" Then + Var return = "Enable" + EndIf + If tag3_is_disable = "true" Then + Var return = "Enable" + EndIf + Else + Var return = "Invisible" + EndIf + ) + + "ROOT/taobin_project/image//img_menu_err2.png" + + + 84 + 266 + 10 + OpunMediumTTF + 0xDE794E + ice_tab_process_show + ice_show_open + + + 48 + 116 + 32 + 128 + 64 + MITRegularTTF + 0x5A5A5A + "disable-show" + $Sum1205020093 + text_unavailable + center-vertical-horizontal + + + ; - - - + +; Cart + + + + + +;BigLogoLayout + + + + + + diff --git a/xml/page_catalog_group_pro_wednesday_melon.xml b/xml/page_catalog_group_pro_wednesday_melon.xml index 518a4e65..fd44dd5f 100644 --- a/xml/page_catalog_group_pro_wednesday_melon.xml +++ b/xml/page_catalog_group_pro_wednesday_melon.xml @@ -2099,7 +2099,7 @@ Sugar, Oreo" "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi_Melon.png" "ROOT/taobin_project/image/page_drink_press_n//bn_iced_pepsi_Melon.png" "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_pepsi_Melon.png" - xmlpro( 12-05-03-0105, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") + xmlpro( 12-05-03-0105, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") "/mnt/sdcard/coffeevending/wav/click.wav" SoundVolume @@ -2121,7 +2121,7 @@ Sugar, Oreo" Var PD_STAGE_1 = "Disable2" Var PD_STAGE_2 = $12-05-02-0105.Button Var PD_STAGE_3 = $12-05-03-0105.Button - Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0105, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi2.png") + Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0105, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png") DEBUGVAR OverlayMenuFilter Var SelectCountDrinkType = 0 Var DefaultDrinkType = 0 diff --git a/xml/page_payment.xml b/xml/page_payment.xml index 1dffd9bb..33db6219 100644 --- a/xml/page_payment.xml +++ b/xml/page_payment.xml @@ -80,25 +80,23 @@ If FromRerunPro = 1 Then Var PromoPriceDrink = PriceDrink Var PriceDrink = OldPrice - - DEBUGVAR PriceDrink - DEBUGVAR PromoPriceDrink EndIf If FromMondayBananaPro = 1 Then Var PriceDrink = OriginalPrice + EndIf - DEBUGVAR PriceDrink - DEBUGVAR PromotionPriceDrink + If FromWednesdayMelonPro = 1 Then + Var PriceDrink = OriginalPrice EndIf If FromPowerUpPro = 1 Then Var PriceDrink = OriginalPrice - - DEBUGVAR PriceDrink - DEBUGVAR PromotionPriceDrink EndIf + DEBUGVAR PriceDrink + DEBUGVAR PromotionPriceDrink + Var PriceFromCatalog = PromotionPriceDrink ;Var AdultFlag = 1