MYS: update pro and price
This commit is contained in:
parent
fa213879b5
commit
97c3bf335a
28 changed files with 44512 additions and 44474 deletions
|
|
@ -33,11 +33,6 @@ Else
|
|||
Var XMLProfile = XMLProfilePreEvent + "-"
|
||||
Var XMLProfile = XMLProfile + "PromoYuzu250"
|
||||
|
||||
; case-local-profile
|
||||
If XMLProfile = "Discount50-PromoYuzu250" Then
|
||||
DEBUGVAR "Restore Discount50 profile, also concat Yuzu"
|
||||
Var XMLProfile = "NoDis50ForProYuzu25"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Else
|
||||
|
|
@ -47,11 +42,6 @@ Else
|
|||
Var XMLProfile = XMLProfile + "-"
|
||||
Var XMLProfile = XMLProfile + "PromoYuzu250"
|
||||
|
||||
; case-local-profile
|
||||
If XMLProfile = "Discount50-PromoYuzu250" Then
|
||||
DEBUGVAR "No pro reduce but Discount50, concat pro yuzu"
|
||||
Var XMLProfile = "NoDis50ForProYuzu25"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
|
|
@ -81,3 +71,9 @@ Else
|
|||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If IgnoreProfileFromRunEV = 1 Then
|
||||
Var ToggleAfterEventProfileOff = 1
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -58,39 +58,6 @@ If SystemDateMonthInt = 9 Then
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 10 Then
|
||||
If SetProReduceByBO = 1 Then
|
||||
Var ProReducedPriceEnable = 1
|
||||
EndIf
|
||||
|
||||
Var IgnoreProfileFromRunEV = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 11 Then
|
||||
If SetProReduceByBO = 1 Then
|
||||
Var ProReducedPriceEnable = 1
|
||||
EndIf
|
||||
|
||||
Var IgnoreProfileFromRunEV = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 12 Then
|
||||
Var IgnoreProfileFromRunEV = 1
|
||||
|
||||
If SetProReduceByBO = 1 Then
|
||||
Var ProReducedPriceEnable = 0
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 1 Then
|
||||
If SystemDateDayInt < 16 Then
|
||||
Var IgnoreProfileFromRunEV = 1
|
||||
Else
|
||||
Var IgnoreProfileFromRunEV = 0
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt < 10 Then
|
||||
Var ProReducedPriceEnable = 0
|
||||
EndIf
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
41
inter/mys/xml/topping_scripts/chg_price_event.ev
Normal file
41
inter/mys/xml/topping_scripts/chg_price_event.ev
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
DEBUGVAR "Section: chg_price_event"
|
||||
|
||||
; init-vars
|
||||
Var enableDiscount50 = "false"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
; check-profiles
|
||||
STRCONTAIN "Discount50" XMLProfile enableDiscount50
|
||||
|
||||
|
||||
; act-by-prof
|
||||
If enableDiscount50 = "true" Then
|
||||
|
||||
DEBUGVAR "pre-discount50"
|
||||
DEBUGVAR toppingID2price1
|
||||
DEBUGVAR toppingID2price2
|
||||
DEBUGVAR toppingID2price3
|
||||
DEBUGVAR toppingID3price2
|
||||
DEBUGVAR toppingID6price2
|
||||
|
||||
Var toppingID2price1 = toppingID2price1 / 2
|
||||
Var toppingID2price2 = toppingID2price2 / 2
|
||||
Var toppingID2price3 = toppingID2price3 / 2
|
||||
|
||||
Var toppingID3price2 = toppingID3price2 / 2
|
||||
|
||||
Var toppingID6price2 = toppingID6price2 / 2
|
||||
|
||||
DEBUGVAR "after-discount50"
|
||||
DEBUGVAR toppingID2price1
|
||||
DEBUGVAR toppingID2price2
|
||||
DEBUGVAR toppingID2price3
|
||||
DEBUGVAR toppingID3price2
|
||||
DEBUGVAR toppingID6price2
|
||||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR "Section: chg_price_event end!"
|
||||
|
|
@ -1,7 +1,10 @@
|
|||
Var lang_icon_file_name[0] = "bn_eng_lang.png"
|
||||
Var lang_icon_file_name[1] = "bn_malay_lang.png"
|
||||
Var lang_icon_file_name[4] = "bn_malay_lang.png"
|
||||
|
||||
DEBUGVAR lang_icon_file_name[0]
|
||||
DEBUGVAR lang_icon_file_name[1]
|
||||
DEBUGVAR lang_icon_file_name[2]
|
||||
DEBUGVAR lang_icon_file_name[3]
|
||||
DEBUGVAR lang_icon_file_name[4]
|
||||
DEBUGVAR LanguageShowByIndex
|
||||
DEBUGVAR ENABLE_LANGUAGE_COUNT
|
||||
DEBUGVAR ENABLE_LANGUAGE_COUNT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue