From 383531bc759faccd81314ad4c3559481630ab5c1 Mon Sep 17 00:00:00 2001 From: Arc Date: Thu, 30 Apr 2026 13:28:27 +0100 Subject: [PATCH] fix: tpos wrapper availability + print dialog when using the wrapper --- static/js/tpos.js | 1 - templates/tpos/dialogs.html | 42 ++++++++++++++++---------------- templates/tpos/index.html | 48 +++++++++++++++++++------------------ 3 files changed, 47 insertions(+), 44 deletions(-) diff --git a/static/js/tpos.js b/static/js/tpos.js index e64523a..254d71d 100644 --- a/static/js/tpos.js +++ b/static/js/tpos.js @@ -1459,7 +1459,6 @@ window.app = Vue.createApp({ type: 'positive', message: 'Print request sent to wrapper.' }) - this.closePrintDialog() }, async printReceipt(paymentHash) { try { diff --git a/templates/tpos/dialogs.html b/templates/tpos/dialogs.html index 5f25803..8652079 100644 --- a/templates/tpos/dialogs.html +++ b/templates/tpos/dialogs.html @@ -77,30 +77,32 @@
- +
Print Receipt
- -
- - - Print order receipt - - - Print receipt - + +
+ + Print order receipt + + + Print receipt + +
+ CLOSE
diff --git a/templates/tpos/index.html b/templates/tpos/index.html index 9db2b82..acc11b3 100644 --- a/templates/tpos/index.html +++ b/templates/tpos/index.html @@ -766,44 +766,46 @@
{{SITE_TITLE}} TPoS extension

-
-
-
- -
+
+
+
-
-
- -
+
+
+
+
+
+
-
+
-
+
If accepting Stripe payments, visit https://dashboard.stripe.com/terminal and grab a new location ID
-
+