THAI: Update Disable payment for ACU

This commit is contained in:
Kenta420 2024-11-29 12:58:39 +07:00
parent 73cf281a83
commit 1eb6388b6c
3 changed files with 46 additions and 16 deletions

View file

@ -2880,7 +2880,19 @@ eval(
<Button>
<X> X_CASH3 </X>
<Y> 1276 </Y>
<State> PayState4</State>
<State>
eval(
Var shouldEnable = "Disable"
If TAO_CashOtherEnable = "true" Then
Var shouldEnable = "Enable"
Else
If EnableCashOtherAll = "true" Then
Var shouldEnable = "Enable"
EndIf
EndIf
Var return = shouldEnable
)
</State>
<Filename> Var( DirImage + "/bn_pay_with_credit.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_pay_with_credit.png") </FilenamePress>
<FilenameDisable> pay_with_credit_image </FilenameDisable>