From cdffad8a0d98548f2ed0ffeb986d8b2157da30b4 Mon Sep 17 00:00:00 2001 From: Kenta420 Date: Thu, 13 Feb 2025 11:46:45 +0700 Subject: [PATCH] THAI: Fixed bug variable --- xml/page_payment.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xml/page_payment.xml b/xml/page_payment.xml index 5e54fec6..aa1c7b13 100644 --- a/xml/page_payment.xml +++ b/xml/page_payment.xml @@ -375,16 +375,16 @@ EndIf If ConnectWithPOSMachine = 1 Then - Var SELLSTATUS = 0 + Var SELLONLINE = 0 If SELLSTATUS = "SELLONLINE" Then - Var SELLSTATUS = 1 + Var SELLONLINE = 1 EndIf If SELLSTATUS = "SELLNOCASH" Then - Var SELLSTATUS = 1 + Var SELLONLINE = 1 EndIf - If SELLSTATUS = 0 Then + If SELLONLINE = 0 Then SAVELOG "POS-MACHINE: OFFLINE in page_payment.xml" ;include="ROOT/taobin_project/inc/return_condition.ev" EndIf