Disable topup with code if use coupon discount

This commit is contained in:
Kenta420 2025-02-21 17:37:03 +07:00
parent 4602410a91
commit 28782e173a

View file

@ -49,6 +49,10 @@
Var TopupWithCashState = "Disable"
EndIf
If Seeker.CodeChannel = 1 Then
Var TopupWithCodeState = "Disable"
EndIf
</EventOpen>
<Timeout> 1000 </Timeout>
@ -165,8 +169,10 @@
<Button>
<X> 664 </X>
<Y> 1225 </Y>
<State> TopupWithCodeState </State>
<Filename> Var( DirImage + "/bn_topup_with_code.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_topup_with_code.png" )</FilenamePress>
<FilenameDisable> Var( DirImage + "/bp_topup_with_code.png" )</FilenameDisable>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>