MYS: add promotion reduce price with profile

This commit is contained in:
Pakin 2024-09-10 09:17:40 +07:00
parent 3b5b8526a1
commit 8d804f76a8
4 changed files with 74 additions and 4 deletions

View file

@ -69,9 +69,17 @@
EndIf
If CountryName = "Malaysia" Then
DEBUGVAR PromotionOreoToppingFreeEnable
DEBUGVAR ProReducedPriceEnable
DEBUGVAR UseSlideShowVideo
If PromotionOreoToppingFreeEnable = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_21.mp4"
EndIf
If ProReducedPriceEnable = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_23.mp4"
EndIf
If UseSlideShowVideo = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
EndIf
@ -103,17 +111,26 @@
Var DisplayAds = AdvTaobinMenu + ".mp4"
EndIf
EndIf
DEBUGVAR DisplayAds
If CountryName = "Malaysia" Then
DEBUGVAR PromotionOreoToppingFreeEnable
DEBUGVAR ProReducedPriceEnable
DEBUGVAR UseSlideShowVideo
If PromotionOreoToppingFreeEnable = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_21.mp4"
EndIf
If ProReducedPriceEnable = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_23.mp4"
EndIf
If UseSlideShowVideo = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
EndIf
EndIf
DEBUGVAR DisplayAds
</EventOpen>
<EventVideoEnd>
@ -168,9 +185,17 @@
EndIf
If CountryName = "Malaysia" Then
DEBUGVAR PromotionOreoToppingFreeEnable
DEBUGVAR ProReducedPriceEnable
DEBUGVAR UseSlideShowVideo
If PromotionOreoToppingFreeEnable = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_21.mp4"
EndIf
If ProReducedPriceEnable = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_23.mp4"
EndIf
If UseSlideShowVideo = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
EndIf
@ -212,9 +237,19 @@
DEBUGVAR DisplayAds
If CountryName = "Malaysia" Then
DEBUGVAR PromotionOreoToppingFreeEnable
DEBUGVAR ProReducedPriceEnable
DEBUGVAR UseSlideShowVideo
If PromotionOreoToppingFreeEnable = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_21.mp4"
EndIf
If ProReducedPriceEnable = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_23.mp4"
EndIf
If UseSlideShowVideo = 1 Then
Var DisplayAds = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/adv/taobin_adv_menu_22.mp4"
EndIf
@ -222,6 +257,7 @@
Var XMLFileVideo = "false"
DEBUGVAR XMLFileVideo
DEBUGVAR DisplayAds
</EventVideoEnd>
<Filename> DisplayAds </Filename>