MYS: Add promotion thai tea

This commit is contained in:
Pakin 2024-05-20 09:58:10 +07:00
parent 7db308b662
commit 6641363473
16 changed files with 15925 additions and 25 deletions

View file

@ -133,6 +133,8 @@
DEBUGVAR FromLipitPro
DEBUGVAR FruityRayaEnable
DEBUGVAR FromFruityRaya
DEBUGVAR ProThaiTeaEnable
DEBUGVAR FromProThaiTea
If Seeker.TNumberTaobinCredit = "" Then
@ -194,6 +196,14 @@
EndIf
DEBUGVAR ProThaiTeaEnable
DEBUGVAR FromProThaiTea
If ProThaiTeaEnable = 1 Then
If FromProThaiTea = 1 Then
Open "ROOT/taobin_project/inter/mys/xml/event/thai_tea/page_get_free_1_thai_tea.lxml"
EndIf
EndIf
If PepweenEnable = 1 Then
If PepweenCollectPoint = 0 Then
GETACCEXT TelephoneNumber 31
@ -283,6 +293,14 @@
EndIf
DEBUGVAR ProThaiTeaEnable
DEBUGVAR FromProThaiTea
If ProThaiTeaEnable = 1 Then
If FromProThaiTea = 1 Then
Open "ROOT/taobin_project/inter/mys/xml/event/thai_tea/page_get_free_1_thai_tea.lxml"
EndIf
EndIf
If ProBadValentineEnable = 1 Then
If FromBadValentinePro = 1 Then
GETACCEXT TelephoneNumber 32
@ -803,6 +821,14 @@
EndIf
DEBUGVAR ProThaiTeaEnable
DEBUGVAR FromProThaiTea
If ProThaiTeaEnable = 1 Then
If FromProThaiTea = 1 Then
Open "ROOT/taobin_project/inter/mys/xml/event/thai_tea/page_get_free_1_thai_tea.lxml"
EndIf
EndIf
If MyMintEnable = 1 Then
If FromMyMintPro = 1 Then
GETACCEXT TelephoneNumber 32
@ -886,7 +912,7 @@
<X> 236 </X>
<Y> 699 </Y>
<State> eval(
If FromFruityRaya = 1 Then
If FromProThaiTea = 1 Then
Var return = "Invisible"
Else
Var return = "Enable"
@ -899,7 +925,7 @@
<X> 236 </X>
<Y> 699 </Y>
<State> eval(
If FromFruityRaya = 1 Then
If FromProThaiTea = 1 Then
Var return = "Enable"
Else
Var return = "Invisible"