From 7408ab8534707ce38fc513ae1049a94238d4cb42 Mon Sep 17 00:00:00 2001 From: wanlop run Date: Mon, 12 May 2025 16:01:47 +0700 Subject: [PATCH] Doing frozen can input number for point --- inter/tha/menu/lang.tsv | 10 ++++++++-- inter/tha/xml/page_topping_frozen_fruit_select.lxml | 2 +- ui/lang.tsv | 10 ++++++++-- xml/page_lid_straw.xml | 5 ++++- xml/page_spiral_sell.xml | 4 ++-- xml/sometime/make_drink.xml | 2 +- 6 files changed, 24 insertions(+), 9 deletions(-) diff --git a/inter/tha/menu/lang.tsv b/inter/tha/menu/lang.tsv index d094c564..b74225ad 100644 --- a/inter/tha/menu/lang.tsv +++ b/inter/tha/menu/lang.tsv @@ -376,6 +376,12 @@ 002352 Confirm ยืนยัน 确认 အတည်ပြုပါ Font=Montserrat,Type=Bold,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Kanit,Type=Light,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Kanit,Type=Medium,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Montserrat,Type=Bold,Size=48,Color=0xEE8C62,Align=Center Font=Montserrat,Type=Bold,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Montserrat,Type=Bold,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 002353 Please enter your phone number\n[so we can contact you back.###Font=KanitLight,Size=36] โปรดกรอกเบอร์โทรขอคุณ\n[เพื่อรอการติดต่อกลับจากเรา###Font=KanitLight,Size=36] 请输入您的电话号码\n[以便我们与您联系。###Font=KanitLight,Size=36] ကျေးဇူးပြု၍ သင်၏ဖုန်းနံပါတ်ကို ဖြည့်ပါ\n[ကျွန်ုပ်တို့မှ ပြန်လည်ဆက်သွယ်နိုင်ရန်။###Font=KanitLight,Size=36] + Font=Kanit,Type=Medium,Size=50,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=56,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=64,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=26,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=64,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=50,Color=0x513C2F,Align=Center,LineHeight=30 +002354 We have received your information. เราได้รับข้อมูลของท่านเรียบร้อยแล้ว 我们已收到您的信息。 သင်၏အချက်အလက်ကို လက်ခံပြီးပါပြီ။ + Font=Kanit,Type=Light,Size=44,Color=0x513C2F,Align=Center,LineHeight=48 Font=Kanit,Type=Light,Size=48,Color=0x513C2F,Align=Center,LineHeight=48 Font=Kanit,Type=Light,Size=44,Color=0x513C2F,Align=Center,LineHeight=48 Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Kanit,Type=Light,Size=48,Color=0x513C2F,Align=Center,LineHeight=48 Font=Kanit,Type=Light,Size=40,Color=0x513C2F,Align=Center,LineHeight=42 +002355 We apologize for the inconvenience.\n[We will improve as soon as possible.###Font=KanitLight,Size=44] ขออภัยในความไม่สะดวก\n[เราจะรีบปรับปรุงให้ดียิ่งขึ้น###Font=KanitLight,Size=48] 对于带来的不便,我们深感抱歉。\n[我们会尽快改进。###Font=KanitLight,Size=44] အဆင်မပြေတာအတွက် တောင်းပန်ပါတယ်။\n[တတ်နိုင်သမျှ အမြန်ဆုံး ပြုပြင်မည်။###Font=KanitLight,Size=40] + + Smoothie_process Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center 002400 Order summary ยกเลิกออเดอร์ 取消订单 အော်ဒါဖျက်ရန် @@ -1263,7 +1269,7 @@ 1300003 Beans module ชุดเมล็ดกาแฟ 1300004 Bean tray ถาดใส่เมล็ดกาแฟ 1300005 Switch tray : สวิตซ์ถาด : -1300006 Check tray shutter ตรวจสอบชัตเตอร์ถาด +1300006 Check tray shutter ตรวจสอบชัตเตอร์ของถาด 1300007 Pay beans จ่ายถั่ว 1300008 1. Select beans 1. เลือกเมล็ดกาแฟ 1300009 2. Select direction 2. เลือกทิศทาง @@ -1295,7 +1301,7 @@ 1300035 Recipes สูตรอาหาร 1300036 Save editing บันทึกการแก้ไข 1300037 Cancel edting ยกเลิกการแก้ไข -1300038 1. Recheck selected grind sizes and brew recipes 1. ตรวจสอบขนาดบดที่เลือกและสูตรการชงอีกครั้ง +1300038 1. Recheck selected grind sizes and brew recipes 1. ตรวจสอบขนาดการบดที่เลือกและสูตรการชงอีกครั้ง 1300039 Insert cup manually ใส่ถ้วยด้วยตนเอง 1300040 2. Select arm 2. เลือกแขน 1300041 3. Please insert cup into selected arm 3. กรุณาใส่ถ้วยลงในแขนที่เลือก diff --git a/inter/tha/xml/page_topping_frozen_fruit_select.lxml b/inter/tha/xml/page_topping_frozen_fruit_select.lxml index 46d750b7..957f95bc 100644 --- a/inter/tha/xml/page_topping_frozen_fruit_select.lxml +++ b/inter/tha/xml/page_topping_frozen_fruit_select.lxml @@ -737,7 +737,7 @@ Else If SelectDrinkType = 1 Then - Var SmoothieToPayment = 1 + Var Seeker.SmoothieToPayment = 1 OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml" Open "ROOT/taobin_project/xml/page_payment.xml" EndIf diff --git a/ui/lang.tsv b/ui/lang.tsv index d094c564..b74225ad 100644 --- a/ui/lang.tsv +++ b/ui/lang.tsv @@ -376,6 +376,12 @@ 002352 Confirm ยืนยัน 确认 အတည်ပြုပါ Font=Montserrat,Type=Bold,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Kanit,Type=Light,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Kanit,Type=Medium,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Montserrat,Type=Bold,Size=48,Color=0xEE8C62,Align=Center Font=Montserrat,Type=Bold,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Montserrat,Type=Bold,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 002353 Please enter your phone number\n[so we can contact you back.###Font=KanitLight,Size=36] โปรดกรอกเบอร์โทรขอคุณ\n[เพื่อรอการติดต่อกลับจากเรา###Font=KanitLight,Size=36] 请输入您的电话号码\n[以便我们与您联系。###Font=KanitLight,Size=36] ကျေးဇူးပြု၍ သင်၏ဖုန်းနံပါတ်ကို ဖြည့်ပါ\n[ကျွန်ုပ်တို့မှ ပြန်လည်ဆက်သွယ်နိုင်ရန်။###Font=KanitLight,Size=36] + Font=Kanit,Type=Medium,Size=50,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=56,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=64,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=26,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=64,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=50,Color=0x513C2F,Align=Center,LineHeight=30 +002354 We have received your information. เราได้รับข้อมูลของท่านเรียบร้อยแล้ว 我们已收到您的信息。 သင်၏အချက်အလက်ကို လက်ခံပြီးပါပြီ။ + Font=Kanit,Type=Light,Size=44,Color=0x513C2F,Align=Center,LineHeight=48 Font=Kanit,Type=Light,Size=48,Color=0x513C2F,Align=Center,LineHeight=48 Font=Kanit,Type=Light,Size=44,Color=0x513C2F,Align=Center,LineHeight=48 Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Kanit,Type=Light,Size=48,Color=0x513C2F,Align=Center,LineHeight=48 Font=Kanit,Type=Light,Size=40,Color=0x513C2F,Align=Center,LineHeight=42 +002355 We apologize for the inconvenience.\n[We will improve as soon as possible.###Font=KanitLight,Size=44] ขออภัยในความไม่สะดวก\n[เราจะรีบปรับปรุงให้ดียิ่งขึ้น###Font=KanitLight,Size=48] 对于带来的不便,我们深感抱歉。\n[我们会尽快改进。###Font=KanitLight,Size=44] အဆင်မပြေတာအတွက် တောင်းပန်ပါတယ်။\n[တတ်နိုင်သမျှ အမြန်ဆုံး ပြုပြင်မည်။###Font=KanitLight,Size=40] + + Smoothie_process Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center 002400 Order summary ยกเลิกออเดอร์ 取消订单 အော်ဒါဖျက်ရန် @@ -1263,7 +1269,7 @@ 1300003 Beans module ชุดเมล็ดกาแฟ 1300004 Bean tray ถาดใส่เมล็ดกาแฟ 1300005 Switch tray : สวิตซ์ถาด : -1300006 Check tray shutter ตรวจสอบชัตเตอร์ถาด +1300006 Check tray shutter ตรวจสอบชัตเตอร์ของถาด 1300007 Pay beans จ่ายถั่ว 1300008 1. Select beans 1. เลือกเมล็ดกาแฟ 1300009 2. Select direction 2. เลือกทิศทาง @@ -1295,7 +1301,7 @@ 1300035 Recipes สูตรอาหาร 1300036 Save editing บันทึกการแก้ไข 1300037 Cancel edting ยกเลิกการแก้ไข -1300038 1. Recheck selected grind sizes and brew recipes 1. ตรวจสอบขนาดบดที่เลือกและสูตรการชงอีกครั้ง +1300038 1. Recheck selected grind sizes and brew recipes 1. ตรวจสอบขนาดการบดที่เลือกและสูตรการชงอีกครั้ง 1300039 Insert cup manually ใส่ถ้วยด้วยตนเอง 1300040 2. Select arm 2. เลือกแขน 1300041 3. Please insert cup into selected arm 3. กรุณาใส่ถ้วยลงในแขนที่เลือก diff --git a/xml/page_lid_straw.xml b/xml/page_lid_straw.xml index 7add871f..8707ca43 100644 --- a/xml/page_lid_straw.xml +++ b/xml/page_lid_straw.xml @@ -225,6 +225,9 @@ TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/payment.ev" EndIf + If NextSmoothie = 1 Then + Open "ROOT/taobin_project/xml/page_spiral_before_conti.xml" + EndIf Open "ROOT/taobin_project/xml/page_brewing3Conti.xml" EndIf @@ -244,7 +247,7 @@ EndIf Else - + ; seeker DEBUGVAR ChangeFlag2 diff --git a/xml/page_spiral_sell.xml b/xml/page_spiral_sell.xml index 0bc1e28d..30032632 100644 --- a/xml/page_spiral_sell.xml +++ b/xml/page_spiral_sell.xml @@ -58,11 +58,11 @@ Var NextOrder = "true" Var NextSmoothie = 1 - Open "ROOT/taobin_project/xml/page_spiral_before_conti.xml" + Open "ROOT/taobin_project/xml/page_thankyou.xml" EndIf OpenInst 3 "ROOT/taobin_project/xml/topview2.xml" - Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml" + Open "ROOT/taobin_project/xml/page_thankyou.xml" EndIf If LastMakeSpiralResult = 2 Then diff --git a/xml/sometime/make_drink.xml b/xml/sometime/make_drink.xml index ce5313e7..f632a4c6 100644 --- a/xml/sometime/make_drink.xml +++ b/xml/sometime/make_drink.xml @@ -23,4 +23,4 @@ If Seeker.SmoothieToPayment = 1 Then Open "ROOT/taobin_project/xml/page_spiral_sell.xml" Else Open "ROOT/taobin_project/xml/page_thankyou.xml" -EndIf \ No newline at end of file +EndIf