From 7b94c55437bbb0ea97872796eb6e02bc53a9eb32 Mon Sep 17 00:00:00 2001 From: Kenta420 Date: Wed, 30 Apr 2025 18:50:34 +0700 Subject: [PATCH] Update paydetail --- inter/tha/xml/page_topping_frozen_fruit_select.lxml | 12 ++++++++++-- xml/page_spiral_sell.xml | 6 ++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/inter/tha/xml/page_topping_frozen_fruit_select.lxml b/inter/tha/xml/page_topping_frozen_fruit_select.lxml index 7fe2efe7..c6e3f907 100644 --- a/inter/tha/xml/page_topping_frozen_fruit_select.lxml +++ b/inter/tha/xml/page_topping_frozen_fruit_select.lxml @@ -172,6 +172,13 @@ EndIf EndIf + + If MatchineSpiralStage = "spiral-valid" Then + Function 2 + Else + ; Verify error + DEBUGVAR MachineSpiralErrorCode + EndIf Refresh TimerReset @@ -318,9 +325,10 @@ DEBUGVAR LinkProductCodeAnotherMachine[1] DEBUGVAR LinkProductCodeAnotherMachine[2] - Var Seeker.sprial_frozen_fruit_select_product_code = LinkProductCodeAnotherMachine[0] + Var MatchinePrialStage = "-" - Function 2 + GenHashWithTimeStamp SpiralRef + SPIRAL_VERIFY LinkProductCodeAnotherMachine[0] SpiralRef EndIf diff --git a/xml/page_spiral_sell.xml b/xml/page_spiral_sell.xml index 00a101ee..5706ffaa 100644 --- a/xml/page_spiral_sell.xml +++ b/xml/page_spiral_sell.xml @@ -11,7 +11,9 @@ Var LastMakeSpiralResult = 0 Var ShowSwapVDO = "ROOT/taobin_project/spiral/video/sp01.mp4" GenHashWithTimeStamp SpiralRef - Var ServiceCredit = Seeker.sprial_frozen_fruit_select_product_code + Var Seeker.sprial_product_code = LinkProductCodeAnotherMachine[0] + DEBUGVAR Seeker.sprial_product_code + Var ServiceCredit = Seeker.sprial_product_code SPIRAL_SELL ServiceCredit SpiralRef Var TimeOutSmoothiesProcess = 120 @@ -62,7 +64,7 @@ TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/spiral_pay_fail.ev" - Open "ROOT/taobin_project/xml/page_back_to_failed.xml" + Open "ROOT/taobin_project/xml/page_spiral_failed.xml" EndIf TimerReset