merge
This commit is contained in:
commit
c3d3b9585f
382 changed files with 135091 additions and 4629 deletions
19263
xml/event/double_promotion_americano_and_taiwanese_tea.xml
Normal file
19263
xml/event/double_promotion_americano_and_taiwanese_tea.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,28 @@
|
|||
[
|
||||
{
|
||||
"name": "americano",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/americano/americano_banner.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/americano/americano_banner.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/americano/americano_banner.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/americano/americano_banner.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/americano/americano_banner.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/americano/americano_banner.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_americano.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "taiwanese_tea",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/taiwanese_tea/taiwanese_tea_banner.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/taiwanese_tea/taiwanese_tea_banner.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/taiwanese_tea/taiwanese_tea_banner.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/taiwanese_tea/taiwanese_tea_banner.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/taiwanese_tea/taiwanese_tea_banner.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/taiwanese_tea/taiwanese_tea_banner.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_taiwanese_tea.xml"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -1 +1 @@
|
|||
/event/promotion_happy_trios.xml
|
||||
/event/promotion_americano.xml
|
||||
19172
xml/event/promotion_americano.xml
Normal file
19172
xml/event/promotion_americano.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1 +1 @@
|
|||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_happy_trios.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_americano.xml"
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@
|
|||
|
||||
|
||||
|
||||
|
||||
<FrameScroll>
|
||||
<Max> 12 </Max>
|
||||
<X> 10 </X>
|
||||
|
|
@ -19168,7 +19167,6 @@ Limenade Soda" </Value>
|
|||
</Button>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_remove_cup.inc"
|
||||
|
||||
</Popup>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,47 +1,15 @@
|
|||
|
||||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<Filename> ###normal_thai </Filename>
|
||||
<FilenamePress> ###press_thai </FilenamePress>
|
||||
<FilenameDisable> ###disable_thai </FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
###EventOnClick
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
Var BigButtonEnable = "Enable"
|
||||
Refresh
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
Var BigButtonEnable = "Invisible"
|
||||
Refresh
|
||||
</EventUnitTest2>
|
||||
|
|
@ -8,6 +8,7 @@ DEBUGVAR SchoolOvaltinePro
|
|||
DEBUGVAR AppleFarmFestivalPro
|
||||
DEBUGVAR HappyTriosPro
|
||||
DEBUGVAR TaiwaneseTeaPro
|
||||
DEBUGVAR AmericanoPro
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
Var PromotionState2 = "Invisible"
|
||||
|
|
@ -65,6 +66,16 @@ Else
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If AmericanoPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_americano.xml"
|
||||
Var PromotionState1 = "Enable"
|
||||
|
||||
If TaiwaneseTeaPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_americano_and_taiwanese_tea.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR OpenFromMulti
|
||||
|
|
|
|||
|
|
@ -92,9 +92,12 @@ Var HappyTriosPro = 0
|
|||
; School Ovaltine, 15 - 30 June
|
||||
Var SchoolOvaltinePro = 0
|
||||
|
||||
; Taiwanese Tea, 16 - 30 June
|
||||
; Taiwanese Tea, 16 - 31 July
|
||||
Var TaiwaneseTeaPro = 0
|
||||
|
||||
; Americano, 1 - 31 July
|
||||
Var AmericanoPro = 0
|
||||
|
||||
Var NewCollectPoint = 1
|
||||
Var PaymentCodeShouldCollectPromotionPoint = 0
|
||||
|
||||
|
|
@ -173,6 +176,13 @@ If SystemDateMonthInt = 6 Then
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 7 Then
|
||||
|
||||
Var AmericanoPro = 1
|
||||
Var TaiwaneseTeaPro = 1
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Var JemilaToppingFlag = 1
|
||||
If SystemDateDayOfWeek = "Wednesday" Then
|
||||
|
|
|
|||
|
|
@ -1336,19 +1336,26 @@
|
|||
; Inter + Multi-Instance available ./inter/tha/multi
|
||||
|
||||
Var EnableMultiInstanceFromBoxID = 0
|
||||
TRY "ROOT/taobin_project/inter/tha/configure.ev"
|
||||
|
||||
|
||||
If CountryName = "Thailand" Then
|
||||
TRY "ROOT/taobin_project/inter/tha/configure.ev"
|
||||
EndIf
|
||||
|
||||
If CountryName = "Australia" Then
|
||||
TRY "ROOT/taobin_project/inter/aus/configure.ev"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR EnableMultiInstanceFromBoxID
|
||||
|
||||
If MAT_ID_2301 = "Enable" Then
|
||||
If EnableMultiInstanceFromBoxID = 0 Then
|
||||
|
||||
|
||||
If CountUpForRestartApp = "" Then
|
||||
Var CountUpForRestartApp = 0
|
||||
EndIf
|
||||
DEBUGVAR CountUpForRestartApp
|
||||
Var CountUpForRestartApp = CountUpForRestartApp + 1
|
||||
|
||||
|
||||
If CountUpForRestartApp > 1 Then
|
||||
WRITE_FILE "/mnt/sdcard/enable_ui_v3" "true"
|
||||
FINISH
|
||||
|
|
@ -1399,7 +1406,7 @@
|
|||
Var InternationalShow = 0
|
||||
|
||||
Var CatalogLayoutV3 = 1
|
||||
|
||||
|
||||
|
||||
If BoxID = 123456 Then
|
||||
Var SpiralOnline = "true"
|
||||
|
|
@ -1487,6 +1494,73 @@
|
|||
|
||||
|
||||
EndIf
|
||||
|
||||
If CountryName = "Australia" Then
|
||||
; enable helper
|
||||
Var EnableHelperShow = 0
|
||||
;Var FromDrinkOk = 1
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
Var EnableMultiInstance = "true"
|
||||
Var InternationalShow = 0
|
||||
Var CatalogLayoutV3 = 1
|
||||
|
||||
Var New_Payment = 1
|
||||
Var InternationalEnable = 1
|
||||
DEBUGVAR InternationalEnable
|
||||
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/multi_ads/ads_path.ev"
|
||||
|
||||
;specified to unittest4
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/aus/"
|
||||
Var CountryShortName = "aus"
|
||||
|
||||
Var WebAppShow = "Invisible"
|
||||
|
||||
Var LanguageShow = "ENG"
|
||||
EnableLanguage "ENG"
|
||||
|
||||
Var RedirectToNormalVersion = 1
|
||||
|
||||
SetLanguage "ENG"
|
||||
LanguageControl "UpdateList" "-"
|
||||
Var show_eng = "true"
|
||||
|
||||
;Var ShowNetworkProblemText = "Network error. Payment Cash only."
|
||||
|
||||
Var TextPriceMenuSize = 12
|
||||
Var TextPriceMenuY = 266
|
||||
Var TextPriceMenuBlendX = 180
|
||||
Var TextPriceMenuHotX = 48
|
||||
|
||||
Var ShowButtonClick2 = "Enable"
|
||||
Var ButtontoTopupMenu = "Enable"
|
||||
Var CurrentPageShowError = 0
|
||||
|
||||
|
||||
Var PriceUnitText = ""
|
||||
|
||||
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
|
||||
|
||||
Var XButtonMember = 212
|
||||
Var YButtonMember = 1695
|
||||
|
||||
If Not#LanguageLoaded = "" Then
|
||||
LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/inter/aus/menu/lang.tsv"
|
||||
EndIf
|
||||
|
||||
Var cups_sold_text = "Cups Sold Worldwide"
|
||||
|
||||
Var MinPhoneNumber = 10
|
||||
Var MaxPhoneNumber = 10
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
EndIf
|
||||
Else
|
||||
Var EnableMultiInstance = "false"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR InternationalEnable
|
||||
|
|
@ -1767,7 +1841,7 @@
|
|||
; tap screen for press popup when app hang
|
||||
TapScreen 860 1004
|
||||
EndIf
|
||||
|
||||
|
||||
Var buttonRemoveCupOnArm = "Invisible"
|
||||
Var CountDownFailErrorHappendClear = 8
|
||||
</EventOpen>
|
||||
|
|
@ -1953,7 +2027,7 @@ PRICE "Reset" "-"
|
|||
EndIf
|
||||
|
||||
DEBUGVAR FailErrorHappend
|
||||
|
||||
|
||||
If FailErrorHappend = 1 Then
|
||||
If CupOnArm = "true" Then
|
||||
|
||||
|
|
@ -2099,7 +2173,7 @@ PRICE "Reset" "-"
|
|||
|
||||
If TaobinOnlineX = "true" Then
|
||||
|
||||
|
||||
|
||||
|
||||
If CountDownShowButton = 31 Then
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
|
|
@ -2202,7 +2276,7 @@ PRICE "Reset" "-"
|
|||
|
||||
TopView "show"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
|
|
@ -2226,7 +2300,7 @@ PRICE "Reset" "-"
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -2281,6 +2355,31 @@ PRICE "Reset" "-"
|
|||
|
||||
If startTaobinML = "true" Then
|
||||
|
||||
DEBUGVAR NeedTrickTaobinML
|
||||
|
||||
If NeedTrickTaobinML = "true" Then
|
||||
|
||||
If TrickTaobinMLDEACTIVE = "true" Then
|
||||
|
||||
TrickTaoBinML "TRICKERDEACTIVE"
|
||||
Var NeedTrickTaobinML = "false"
|
||||
DEBUGVAR NeedTrickTaobinML
|
||||
|
||||
Var TrickTaobinMLDEACTIVE = "false"
|
||||
DEBUGVAR TrickTaobinMLDEACTIVE
|
||||
|
||||
Else
|
||||
|
||||
TrickTaoBinML "TRICKER"
|
||||
Var NeedTrickTaobinML = "false"
|
||||
DEBUGVAR NeedTrickTaobinML
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var CountDownOpenTaobinML = CountDownOpenTaobinML + 1
|
||||
|
||||
|
|
@ -2293,15 +2392,7 @@ PRICE "Reset" "-"
|
|||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR NeedTrickTaobinML
|
||||
|
||||
If NeedTrickTaobinML = "true" Then
|
||||
|
||||
TrickTaoBinML "TRICKER"
|
||||
Var NeedTrickTaobinML = "false"
|
||||
DEBUGVAR NeedTrickTaobinML
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
;include="ROOT/taobin_project/inc/remove_cup_on_arm_step.inc"
|
||||
|
|
@ -2617,9 +2708,9 @@ PRICE "Reset" "-"
|
|||
Var NextPage = "-"
|
||||
Var BaseOnPageBoard = 0
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
|
||||
|
||||
;inter-xml-open BEGIN
|
||||
|
||||
|
||||
If SpiralOnline = "true" Then
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
36
xml/page_catalog_group_pro_americano.skt
Normal file
36
xml/page_catalog_group_pro_americano.skt
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?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
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
7656
xml/page_catalog_group_pro_americano.xml
Normal file
7656
xml/page_catalog_group_pro_americano.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -45,7 +45,7 @@
|
|||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 74
|
||||
; menu_new_list 75
|
||||
; ==================> Len = 21
|
||||
; 12-02-01-0004 12-02-02-0004 12-02-03-0004
|
||||
<Block>
|
||||
|
|
@ -5151,6 +5151,261 @@ Salak Tea" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; 12-02-01-0088 12-02-02-0088 12-02-03-0088
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0088.Button,12-02-02-0088.Button,12-02-03-0088.Button,$Sum120201008812020200881202030088) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008812020200881202030088 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Apple_Pure_matcha.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Apple_Pure_matcha.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Apple_Pure_matcha.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-02-01-0088, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Apple Pure Matcha"
|
||||
Var NameDrinkTH = "เพียวมัทฉะแอปเปิ้ล"
|
||||
Var DrinkDescriptionTH = "ชาเขียว แอปเปิ้ล"
|
||||
Var DrinkDescription = "Matcha Apple"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Apple_Pure_matcha.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0088.Price
|
||||
Var PriceD2 = $12-02-02-0088.Price
|
||||
Var PriceD3 = $12-02-03-0088.Price
|
||||
Var PD_CODE1 = "12-02-01-0088"
|
||||
Var PD_CODE2 = "12-02-02-0088"
|
||||
Var PD_CODE3 = "12-02-03-0088"
|
||||
Var PD_STAGE_1 = $12-02-01-0088.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0088.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0088.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0088, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Topping "Load" "12-02-03-0088"
|
||||
Else
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-02-02-0088"
|
||||
Else
|
||||
Topping "Load" "12-02-01-0088"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0088.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0088.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0088.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0088.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0088.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0088.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0088.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0088.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0088.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0088.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0088.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0088.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "เพียวมัทฉะแอปเปิ้ล" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ชาเขียว แอปเปิ้ล" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Apple Pure Matcha" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Matcha Apple" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> $12-02-01-0088.Button </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-01-0088.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0088.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-02-02-0088.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-02-0088.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0088.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-02-03-0088.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-03-0088.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0088.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201008812020200881202030088 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
Var return = ice_tab_process_show
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120201008812020200881202030088 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0088.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0088.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0088.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
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 84 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 10 </Size>
|
||||
<Font> OpunMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> ice_tab_process_show </State>
|
||||
<Value> ice_show_open </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120201008812020200881202030088 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
|
|
|
|||
|
|
@ -811,7 +811,7 @@
|
|||
|
||||
; Member not found
|
||||
If ErrorCause = "failed_fromoper_1001" Then
|
||||
Var QRErrorText = "Number not found"
|
||||
Var QRErrorText = "Member not found"
|
||||
EndIf
|
||||
|
||||
; Not enough balance
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@
|
|||
Var Seeker.FreeVendingCampaign = 1
|
||||
CoinVending OFF
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -415,8 +415,21 @@
|
|||
Else
|
||||
Var PayState5 = "Disable"
|
||||
EndIf
|
||||
|
||||
|
||||
If CART_COUNT >= 1 Then
|
||||
Var cart1_pic = "ROOT/taobin_project/image/page_drink/" + carttaobin1_pic
|
||||
Var cart1_name = carttaobin1_name
|
||||
Var cart1_price = "" + CART1_PRICE
|
||||
Var cart1_en = "Enable"
|
||||
|
||||
Var PriceDrinkMulti = CART1_PRICE
|
||||
|
||||
Var cardBottomY = 760
|
||||
Var lineBottomY = 750
|
||||
Var subtotalBottomY = 810
|
||||
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
|
|
@ -452,7 +465,7 @@
|
|||
Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||
Var BrewingTextThai = "เตรียมแก้ว"
|
||||
Cart "MakeID" CART_INDEX
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -622,7 +635,7 @@
|
|||
|
||||
If TestLoopMakeDrink = 1 Then
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -656,7 +669,7 @@
|
|||
Var PayReference = ""
|
||||
GenHashWithTimeStamp PayReference
|
||||
Cart "MakeID" CART_INDEX
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -984,10 +997,9 @@
|
|||
Var PriceDrinkMulti = 0
|
||||
|
||||
|
||||
|
||||
If CART_COUNT >= 1 Then
|
||||
Var cart1_pic = "ROOT/taobin_project/image/page_drink/" + CART1_PICTURE
|
||||
Var cart1_name = CART1_NAME_THAI
|
||||
Var cart1_pic = "ROOT/taobin_project/image/page_drink/" + carttaobin1_pic
|
||||
Var cart1_name = carttaobin1_name
|
||||
Var cart1_price = "" + CART1_PRICE
|
||||
Var cart1_en = "Enable"
|
||||
|
||||
|
|
@ -1239,7 +1251,7 @@
|
|||
Var MachineStage = "make-drink"
|
||||
Var BrewingTextThai = "เตรียมแก้ว"
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||
|
||||
EndIf
|
||||
|
|
@ -2344,7 +2356,7 @@
|
|||
; make drink
|
||||
|
||||
MakeDrinkV1 SelectDrink Seeker.ExtendData
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
|
||||
;Var UnitTestType = "1"
|
||||
Var UnitTestType = "2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue