Make prompt pay depend on KBA
This commit is contained in:
parent
c990e8c308
commit
f8e248f23c
1 changed files with 13 additions and 1 deletions
|
|
@ -2739,7 +2739,19 @@
|
|||
<Button>
|
||||
<X> X_CASH2 </X>
|
||||
<Y> 1276 </Y>
|
||||
<State> PayState3</State>
|
||||
<State>
|
||||
eval(
|
||||
Var shouldEnable = "Disable"
|
||||
If KBA_CashOtherEnable = "true" Then
|
||||
Var shouldEnable = "Enable"
|
||||
Else
|
||||
If EnableCashOtherAll = "true" Then
|
||||
Var shouldEnable = "Enable"
|
||||
EndIf
|
||||
EndIf
|
||||
Var return = shouldEnable
|
||||
)
|
||||
</State>
|
||||
<Filename> Var( DirImage + "/bn_prompt_pay.png") </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_prompt_pay.png") </FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bd_prompt_pay.png") </FilenameDisable>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue