pro
This commit is contained in:
commit
e261359202
194 changed files with 40278 additions and 368 deletions
|
|
@ -1 +1 @@
|
|||
/event/promotion_coffee_drink_1_bath.xml
|
||||
/event/promotion_7up_lucky_draw_x2.xml
|
||||
|
|
@ -1 +1 @@
|
|||
/event/promotion_nam_hom_coconut.xml
|
||||
/event/promotion_passion_mint.xml
|
||||
12912
xml/event/promotion_7up_lucky_draw_x2.xml
Normal file
12912
xml/event/promotion_7up_lucky_draw_x2.xml
Normal file
File diff suppressed because it is too large
Load diff
12912
xml/event/promotion_passion_mint.xml
Normal file
12912
xml/event/promotion_passion_mint.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -33,7 +33,7 @@
|
|||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_coffee_drink_1_bath.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_7up_lucky_draw_x2.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/event/coffee_drink_1_bath/coffee_drink_1_bath_th.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/7up_lucky_draw_x2/7up_lucky_draw_x2_th.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/coffee_drink_1_bath/coffee_drink_1_bath_en.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/7up_lucky_draw_x2/7up_lucky_draw_x2_en.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_nam_hom_coconut.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_passion_mint.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_th.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/passion_mint/passion_mint_th.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/nam_hom_coconut/nam_hom_coconut_en.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/passion_mint/passion_mint_en.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -4,9 +4,8 @@ DEBUGVAR PayOfflineMode
|
|||
DEBUGVAR CocktailShow
|
||||
DEBUGVAR OpenFromPageBoard
|
||||
|
||||
|
||||
DEBUGVAR NamHomCoconutPro
|
||||
DEBUGVAR Cocoa77Pro
|
||||
DEBUGVAR PassionMintPro
|
||||
DEBUGVAR 7UpLuckyDrawX2Pro
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
Var PromotionState2 = "Invisible"
|
||||
|
|
@ -21,43 +20,37 @@ If CocktailShow = "true" Then
|
|||
EndIf
|
||||
|
||||
Else
|
||||
; check profile to enable free energy drink promotion
|
||||
STRCONTAIN "ProEnergyDrinkFreePerCardID" XMLProfile EnableFreeEnergyDrink
|
||||
Var BigButtonEnable = "Enable"
|
||||
DEBUGVAR FreeEnergyDrink
|
||||
;Var FreeEnergyDrink = 1
|
||||
;Var EnableFreeEnergyDrink = "true"
|
||||
DEBUGVAR EnableFreeEnergyDrink
|
||||
|
||||
Var CountEnablePromotion = 0
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
; zone promote
|
||||
|
||||
If Cocoa77Pro = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
|
||||
If NamHomCoconutPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
|
||||
If CountEnablePromotion > 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_cocoa_77_and_nam_hom_coconut.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_cocoa77.xml"
|
||||
EndIf
|
||||
If PassionMintPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_passion_mint.xml"
|
||||
Else
|
||||
|
||||
If NamHomCoconutPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/ignore_gen_promotion_nam_hom_coconut.xml"
|
||||
If 7UpLuckyDrawX2Pro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_7up_lucky_draw_x2.xml"
|
||||
EndIf
|
||||
|
||||
If Cocoa77Pro = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
|
||||
If NamHomCoconutPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var CountEnablePromotion = CountEnablePromotion + 1
|
||||
EndIf
|
||||
|
||||
|
||||
If CountEnablePromotion > 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_cocoa_77_and_nam_hom_coconut.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_cocoa77.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If OpenFromPageBoard = 1 Then
|
||||
DEBUGVAR FreeEnergyDrink
|
||||
DEBUGVAR BigButtonEnable
|
||||
|
|
|
|||
|
|
@ -112,6 +112,13 @@ Var NamHomCoconutRewardOutOfStock = 0
|
|||
Var Cocoa77Pro = 0
|
||||
Var FromCocoa77Pro = 0
|
||||
|
||||
; Enable Passion Mint promotion, 15 - 17 Jul
|
||||
Var PassionMintPro = 0
|
||||
Var FromPassionMintPro = 0
|
||||
|
||||
; Enable 7UpLuckyDrawX2 promotion, 22 Jul - 9 Aus
|
||||
Var 7UpLuckyDrawX2Pro = 0
|
||||
|
||||
Var NewCollectPoint = 1
|
||||
Var ShouldCollectPromotionPoint = 0
|
||||
|
||||
|
|
@ -201,6 +208,17 @@ If SystemDateMonthInt = 7 Then
|
|||
Var Cocoa77Pro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 15 Then
|
||||
If SystemDateDayInt <= 17 Then
|
||||
Var PassionMintPro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 22 Then
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt >= 7 Then
|
||||
|
|
@ -208,13 +226,19 @@ If SystemDateMonthInt >= 7 Then
|
|||
EndIf
|
||||
|
||||
|
||||
If SystemDateMonthInt = 8 Then
|
||||
If SystemDateDayInt <= 9 Then
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If BoxID = 173149 Then
|
||||
Var ProBadValentineEnable = 0
|
||||
Var NewFlowPaymentCode = 1
|
||||
Var NamHomCoconutPro = 1
|
||||
Var EnergyDrink1BathPro = 1
|
||||
Var CoffeeDrink1BathPro = 0
|
||||
Var NamHomCoconutPro = 0
|
||||
Var Cocoa77Pro = 0
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -226,8 +250,10 @@ EndIf
|
|||
|
||||
If BoxID = 105005 Then
|
||||
Var NewFlowPaymentCode = 1
|
||||
Var NamHomCoconutPro = 1
|
||||
Var Cocoa77Pro = 1
|
||||
Var NamHomCoconutPro = 0
|
||||
Var Cocoa77Pro = 0
|
||||
Var 7UpLuckyDrawX2Pro = 0
|
||||
Var PassionMintPro = 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -314,6 +340,10 @@ If taobin_nopro = "true" Then
|
|||
|
||||
Var WednesdayMelonPro = 0
|
||||
Var NamHomCoconutPro = 0
|
||||
|
||||
Var Cocoa77Pro = 0
|
||||
Var 7UpLuckyDrawX2Pro = 0
|
||||
Var PassionMintPro = 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"
|
||||
|
||||
|
|
@ -358,6 +388,18 @@ Else
|
|||
Var Cocoa77Pro = 0
|
||||
EndIf
|
||||
|
||||
If 7UpSyrupEnable = "true" Then
|
||||
|
||||
Else
|
||||
Var 7UpLuckyDrawX2Pro = 0
|
||||
EndIf
|
||||
|
||||
If MintSyrupEnable = "true" Then
|
||||
|
||||
Else
|
||||
Var PassionMintPro = 0
|
||||
EndIf
|
||||
|
||||
|
||||
Var CurrentMainVideoTemp = 0
|
||||
|
||||
|
|
|
|||
|
|
@ -242,6 +242,30 @@
|
|||
else:
|
||||
from_cocoa77 = False
|
||||
cocoa77_fix_price = False
|
||||
|
||||
if current_file_name == "page_catalog_group_pro_passion_mint.skt":
|
||||
passion_mint = True
|
||||
passion_mint_fix_price = {
|
||||
"12-01-02-0057": 29,
|
||||
"12-21-02-0057": 29,
|
||||
"12-01-02-0058": 19,
|
||||
"12-21-02-0058": 19,
|
||||
"12-02-03-0050": 39,
|
||||
"12-01-02-0064": 29,
|
||||
"12-21-02-0064": 29,
|
||||
"12-03-02-0035": 29,
|
||||
"12-03-03-0034": 39,
|
||||
"12-03-03-0037": 29,
|
||||
"12-05-02-0063": 19,
|
||||
"12-05-02-0064": 19,
|
||||
"12-05-02-0067": 19
|
||||
}
|
||||
else:
|
||||
passion_mint = False
|
||||
passion_mint_fix_price = {}
|
||||
|
||||
if current_file_name == "page_catalog_group_pro_7up_lucky_draw_x2.skt":
|
||||
menu_white_color_catalog = True
|
||||
|
||||
#print ("######################################################################################################")
|
||||
idx_of_eng = 2
|
||||
|
|
@ -459,6 +483,13 @@
|
|||
out_xml( '\t\tVar OriginalPriceD1 = $' + spl[4] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD2 = $' + spl[5] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD3 = $' + spl[6] + '.Price\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t\tVar PriceD1 = ' + str(GetPrice(passion_mint_fix_price, pd_code_1)) + '\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = ' + str(GetPrice(passion_mint_fix_price, pd_code_2)) + '\r\n')
|
||||
out_xml( '\t\tVar PriceD3 = ' + str(GetPrice(passion_mint_fix_price, pd_code_3)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD1 = $' + spl[4] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD2 = $' + spl[5] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD3 = $' + spl[6] + '.Price\r\n')
|
||||
else:
|
||||
out_xml( '\t\tVar PriceD1 = $' + spl[4] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = $' + spl[5] + '.Price\r\n')
|
||||
|
|
@ -573,6 +604,10 @@
|
|||
|
||||
if from_cocoa77:
|
||||
out_xml( '\t\tVar FromCocoa77Pro = 1 \r\n')
|
||||
|
||||
if passion_mint:
|
||||
out_xml( '\t\tVar FromPassionMintPro = 1 \r\n')
|
||||
|
||||
|
||||
|
||||
out_xml( '\t\t\r\n')
|
||||
|
|
@ -712,6 +747,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[4])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[4] + '.Price - 7 , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[4])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[4] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -725,6 +762,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[4])) + '" </Value>\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[4] + '.Price - 7 ) </Value>\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[4])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[4] + '.Price ) </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
|
@ -783,6 +822,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[5])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[5] + '.Price - 7, DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[5])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[5] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -796,6 +837,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[5])) + '" </Value>\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[5] + '.Price - 7 ) </Value>\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[5])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[5] + '.Price ) </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
|
@ -870,6 +913,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[6])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[6] + '.Price - 7, DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[6])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' + spl[6] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -883,6 +928,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[6])) + '" </Value>\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[6] + '.Price - 7 ) </Value>\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[6])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[6] + '.Price ) </Value>\r\n')
|
||||
out_xml( '\t</Text>\r\n')
|
||||
|
|
@ -1086,6 +1133,13 @@
|
|||
out_xml( '\t\tVar OriginalPriceD1 = $' + spl[8] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD2 = $' + spl[9] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD3 = $' + spl[10] + '.Price\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t\tVar PriceD1 = ' + str(GetPrice(passion_mint_fix_price, pd_code_1)) + '\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = ' + str(GetPrice(passion_mint_fix_price, pd_code_2)) + '\r\n')
|
||||
out_xml( '\t\tVar PriceD3 = ' + str(GetPrice(passion_mint_fix_price, pd_code_3)) + '\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD1 = $' + spl[8] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD2 = $' + spl[9] + '.Price\r\n')
|
||||
out_xml( '\t\tVar OriginalPriceD3 = $' + spl[10] + '.Price\r\n')
|
||||
else:
|
||||
out_xml( '\t\tVar PriceD1 = $' + spl[8] + '.Price\r\n')
|
||||
out_xml( '\t\tVar PriceD2 = $' + spl[9] + '.Price\r\n')
|
||||
|
|
@ -1191,6 +1245,9 @@
|
|||
if from_cocoa77:
|
||||
out_xml( '\t\tVar FromCocoa77Pro = 1 \r\n')
|
||||
|
||||
if passion_mint:
|
||||
out_xml( '\t\tVar FromPassionMintPro = 1 \r\n')
|
||||
|
||||
out_xml( '\t\t\r\n')
|
||||
out_xml( '\t\t\r\n')
|
||||
|
||||
|
|
@ -1303,6 +1360,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[8])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( $' +spl[8] + '.Price - 7 , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[8])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' +spl[8] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -1310,6 +1369,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[8])) + '" </Value>\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[8] + '.Price - 7 ) </Value>\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[8])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[8] + '.Price ) </Value>\r\n')
|
||||
|
||||
|
|
@ -1360,6 +1421,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[9])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( $' +spl[9] + '.Price - 7, DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[9])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' +spl[9] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -1367,6 +1430,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[9])) + '" </Value>\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[9] + '.Price - 7 ) </Value>\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[9])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[9] + '.Price ) </Value>\r\n')
|
||||
|
||||
|
|
@ -1416,6 +1481,8 @@
|
|||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(wednesday_melon_prices, spl[10])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> StringFmt( $' +spl[10] + '.Price - 7, DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> StringFmt( ' + str(GetPrice(passion_mint_fix_price, spl[10])) + ' , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> StringFmt( $' +spl[10] + '.Price , DisplayFormat, PreScaleConvertShow) </Value>; test\r\n')
|
||||
else:
|
||||
|
|
@ -1423,6 +1490,8 @@
|
|||
out_xml( '\t<Value> "฿' + str(GetPrice(wednesday_melon_prices, spl[10])) + '" </Value>\r\n')
|
||||
elif cocoa77_fix_price:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[10] + '.Price - 7 ) </Value>\r\n')
|
||||
elif passion_mint:
|
||||
out_xml( '\t<Value> "฿' + str(GetPrice(passion_mint_fix_price, spl[10])) + '" </Value>\r\n')
|
||||
else:
|
||||
out_xml( '\t<Value> Var( "฿" + $' + spl[10] + '.Price ) </Value>\r\n')
|
||||
|
||||
|
|
|
|||
|
|
@ -207,6 +207,7 @@
|
|||
STRCONTAIN "1206" MaterialAvailable EnergyDrinkEnable
|
||||
STRCONTAIN "1216" MaterialAvailable CoconutSyrupEnable
|
||||
STRCONTAIN "1042" MaterialAvailable CocoaPowderEnable
|
||||
STRCONTAIN "1037" MaterialAvailable 7UpSyrupEnable
|
||||
|
||||
;Var AppFastEnable = "false"
|
||||
If AppFastEnable = "true" Then
|
||||
|
|
@ -832,12 +833,13 @@
|
|||
Var TextPriceMenuY = 264
|
||||
Var TextPriceMenuBlendX = 180
|
||||
Var TextPriceMenuHotX = 48
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ShowButtonClick2 = "Enable"
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
|
||||
Var PriceUnitText = "Price in SGD"
|
||||
|
||||
Var MemberButtonFileName = "ROOT/taobin_project/image/main_page_en/bp_main_page_member.png"
|
||||
Var MemberButtonFileNameRest = "ROOT/taobin_project/image/main_page_en/bn_main_page_member.png"
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
|
||||
Var CountDownShowButton = 35
|
||||
|
|
@ -852,7 +854,7 @@
|
|||
STRCONTAIN "521215" MaterialAvailable SugarZeroCalEnable
|
||||
|
||||
Var SettingDisableTaobinCredit = "true"
|
||||
Var SettingDisableTaobinCode = "false"
|
||||
;Var SettingDisableTaobinCode = "false"
|
||||
|
||||
; Singapore disable point
|
||||
;Var SettingIgnoreCollectPoint = 1
|
||||
|
|
@ -864,6 +866,8 @@
|
|||
|
||||
Var ShowCountDownAsPercent = 1
|
||||
|
||||
DEBUGVAR ShowButtonClick2
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -1104,9 +1108,14 @@
|
|||
|
||||
Var CurrentMainVideo = CurrentMainVideoTemp
|
||||
|
||||
DEBUGVAR SettingDisableTaobinCredit
|
||||
If SettingDisableTaobinCredit = "true" Then
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
If CountryName = "Singapore" Then
|
||||
Var ShowButtonClick2 = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
DEBUGVAR ShowButtonClick2
|
||||
|
||||
Machine OrderCheck
|
||||
|
||||
|
|
@ -1388,12 +1397,18 @@
|
|||
If CountDownShowButton = 31 Then
|
||||
Var ShowButtonClickFull = "Enable"
|
||||
Var ShowButtonClick = "Invisible"
|
||||
If CountryName = "Singapore" Then
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
EndIf
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
If CountDownShowButton = 3 Then
|
||||
|
||||
Var ShowButtonClick = "Enable"
|
||||
If CountryName = "Singapore" Then
|
||||
Var ShowButtonClick2 = "Enable"
|
||||
EndIf
|
||||
Var ShowButtonClickFull = "Invisible"
|
||||
Refresh
|
||||
EndIf
|
||||
|
|
@ -1688,16 +1703,14 @@
|
|||
|
||||
If InternationalEnable = 1 Then
|
||||
;inter-xml-open
|
||||
If CountryName = "Australia" Then
|
||||
|
||||
DEBUGVAR CountryName
|
||||
|
||||
If CountryName = "UnitedArabEmirates Dubai" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_check_member.xml"
|
||||
Else
|
||||
Var ChackMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
OpenInst 2 ChackMemberPage
|
||||
Else
|
||||
If CountryName = "Malaysia" Then
|
||||
Var ChackMemberPage = CountryRootPath + "xml/page_check_member.lxml"
|
||||
OpenInst 2 ChackMemberPage
|
||||
Else
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_check_member.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_check_member.xml"
|
||||
|
|
|
|||
|
|
@ -10,9 +10,7 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
|
@ -22,8 +20,6 @@
|
|||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
|
|
@ -33,4 +29,21 @@
|
|||
|
||||
|
||||
|
||||
;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>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -10,9 +10,7 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
|
|
@ -22,8 +20,6 @@
|
|||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
|
|
@ -33,4 +29,23 @@
|
|||
|
||||
|
||||
|
||||
;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>
|
||||
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -306,6 +306,13 @@
|
|||
Var Seeker.CampaignPPrice = PromotionPriceDrink
|
||||
EndIf
|
||||
|
||||
If FromPassionMintPro = 1 Then
|
||||
Var OriginalPriceWithTopping = OriginalPrice + TOPPING_PRICE
|
||||
Var PriceDiff = OriginalPriceWithTopping - PromotionPriceDrink
|
||||
Var DiscountDrink = PriceDiff
|
||||
Var Seeker.CampaignPPrice = PromotionPriceDrink
|
||||
EndIf
|
||||
|
||||
If FromRerunPro = 1 Then
|
||||
Var PriceDiff = PriceDrink - PromoPriceDrink
|
||||
Var Seeker.VendingCode = RerunProCode
|
||||
|
|
|
|||
|
|
@ -470,9 +470,7 @@
|
|||
Var TopRowY = 1276
|
||||
Var BotRowY = 1499
|
||||
|
||||
If SettingDisableTaobinCredit = "true" Then
|
||||
Var PayState4 = "Invisible"
|
||||
EndIf
|
||||
Var PayState4 = "Invisible"
|
||||
|
||||
If SettingDisableTaobinCode = "true" Then
|
||||
Var PayState2 = "Invisible"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue