disable topup with cash when SELLNOCASH

This commit is contained in:
Kenta420 2024-05-23 17:44:42 +07:00
parent 5d73d61443
commit 5054c68bd0

View file

@ -38,6 +38,12 @@
Var timeout_Adddata22 = 0
GenHashWithTimeStamp PointCrm
Var TopupWithCashState = "Enable"
If SELLSTATUS = "SELLNOCASH" Then
Var TopupWithCashState = "Disable"
EndIf
</EventOpen>
<Timeout> 1000 </Timeout>
@ -117,8 +123,10 @@
<Button>
<X> 218 </X>
<Y> 1225 </Y>
<State> TopupWithCashState </State>
<Filename> Var( DirImage + "/bn_topup_with_cash.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_topup_with_cash.png" )</FilenamePress>
<FilenameDisable> Var( DirImage + "/bp_topup_with_cash.png" )</FilenameDisable>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>