Merge branch 'masterpiece' of ssh://forthrd.ddns.net:2222/1TBHDD/ikong/taobin_project into masterpiece

This commit is contained in:
wanlop run 2025-02-18 17:28:19 +07:00
commit e90d03b6ec
19 changed files with 6795 additions and 430 deletions

View file

@ -516,6 +516,15 @@
DEBUGVAR LangProcess
; Check POS machine flag
Var ConnectWithPOSMachine = 0
If CountryName = "Thailand" Then
READ_FILE "/mnt/sdcard/coffeevending/app_manager/app_list/king_power_service/enable" POSMachineFlag
DEBUGVAR POSMachineFlag
If POSMachineFlag = 1 Then
Var ConnectWithPOSMachine = 1
EndIf
EndIf
If SELLONLINE = 1 Then
@ -531,6 +540,10 @@
If NetworkStatus = "DOWN" Then
Machine NetworkDown
EndIf
If ConnectWithPOSMachine = 1 Then
Open "ROOT/taobin_project/xml/page_network_down_pos_machine.xml"
EndIf
EndIf
DEBUGVAR ButtontoTopupMenu