THAI: AOT midnight close & Seeker.ServiceCharge

This commit is contained in:
Kenta420 2025-05-14 18:52:40 +07:00
parent 7285e9dc72
commit cdf98a94f2
13 changed files with 218 additions and 52 deletions

View file

@ -10,7 +10,7 @@
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
If Seeker = "curr" Then
If MachineStage = "remove-cup" Then
SAVELOG "MachineStage = remove-cup"
@ -37,7 +37,7 @@
EndIf
Var IndoQR = 0
Var PaymentEnableAll = "true"
@ -79,7 +79,7 @@
SAVELOG BoxID
Var ServiceCharge = 0
Var Seeker.ServiceCharge = 0
Var AdultFlag = 0
@ -247,6 +247,17 @@
Var ReadyForBrew = "false"
EndIf
If ConnectWithPOSMachine = 1 Then
If POS_SELL_STATUS = "NORMAL" Then
Else
If Seeker = "next" Then
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
Else
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
EndIf
EndIf
; Test
@ -343,7 +354,7 @@
Var RoadShowMarketCode = ""
Var Seeker.VendingCode = RoadShowMarketCode
DEBUGVAR PriceDrink
Var Seeker.IntVendingCampaign = PriceDrink
@ -632,7 +643,7 @@
<Y> 938 </Y>
<Width> 1080 </Width>
<Align> Center </Align>
<MaxSize> 66 </MaxSize>
<MaxSize> 66 </MaxSize>
<Size> Auto </Size>
<MaxLine> 1 </MaxLine>
<Font> KanitMediumTTF </Font>