This commit is contained in:
kong 2021-05-17 22:41:06 +07:00
parent 99b8594db8
commit 81a24c3b6f
5 changed files with 30 additions and 9 deletions

View file

@ -244,6 +244,14 @@
Var PayOfflineMode = 0
EndIf
If DisableUsingCode = "true" Then
SAVELOG "Diable code because using topping."
Var PayState2 = "Disable"
Var pay_with_code_image = DirImage + "/bp_pay_with_code_error.png"
Else
Var pay_with_code_image = DirImage + "/bp_pay_with_code.png"
EndIf
</EventOpen>
<EventActionOk>
@ -719,7 +727,7 @@
<State> PayState2</State>
<Filename> Var( DirImage + "/bn_pay_with_code.png") </Filename>
<FilenamePress> Var( DirImage + "/bp_pay_with_code.png") </FilenamePress>
<FilenameDisable> Var( DirImage + "/bp_pay_with_code.png") </FilenameDisable>
<FilenameDisable> pay_with_code_image </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>