THAI: disable or invisible TopUp button when SELLNOCASH

This commit is contained in:
Kenta420 2024-05-23 11:25:16 +07:00
parent 838bc92fc2
commit eafbcee530
7 changed files with 11 additions and 1 deletions

View file

@ -105,6 +105,7 @@
EndIf
If SELLSTATUS = "SELLNOCASH" Then
Var SELLONLINE = 1
Var ButtontoTopupMenu = "Invisible"
EndIf

View file

@ -448,7 +448,11 @@
If taobin_notopup = "true" Then
Var ButtontoTopupMenu = "Disable"
Else
Var ButtontoTopupMenu = "Enable"
If SELLSTATUS = "SELLNOCASH" Then
Var ButtontoTopupMenu = "Disable"
Else
Var ButtontoTopupMenu = "Enable"
EndIf
EndIf
If NetworkStatus = "DOWN" Then

View file

@ -98,6 +98,7 @@
EndIf
If SELLSTATUS = "SELLNOCASH" Then
Var SELLONLINE = 1
Var ButtontoTopupMenu = "Invisible"
EndIf

View file

@ -106,6 +106,7 @@
EndIf
If SELLSTATUS = "SELLNOCASH" Then
Var SELLONLINE = 1
Var ButtontoTopupMenu = "Invisible"
EndIf
If SELLSTATUS = "DEACTIVE" Then

View file

@ -72,6 +72,7 @@
EndIf
If SELLSTATUS = "SELLNOCASH" Then
Var SELLONLINE = 1
Var ButtontoTopupMenu = "Invisible"
EndIf
If SELLONLINE = 1 Then

View file

@ -63,6 +63,7 @@
EndIf
If SELLSTATUS = "SELLNOCASH" Then
Var SELLONLINE = 1
Var ButtontoTopupMenu = "Invisible"
EndIf
If SELLONLINE = 1 Then

View file

@ -88,6 +88,7 @@
EndIf
If SELLSTATUS = "SELLNOCASH" Then
Var SELLONLINE = 1
Var ButtontoTopupMenu = "Invisible"
EndIf
If SELLONLINE = 1 Then