diff --git a/templates/tpos/tpos.html b/templates/tpos/tpos.html index dc60435..5f1b0d7 100644 --- a/templates/tpos/tpos.html +++ b/templates/tpos/tpos.html @@ -420,29 +420,34 @@
${totalfsat} sat
v-if="invoiceDialog.data" class="q-pa-lg q-pt-xl lnbits__dialog-card" > - - - + + + + + Pay in wallet +

${ amountWithTipFormatted }

-
+
${ fsat } sat ( + ${ tipAmountFormatted } tip)
- + + + NFC supported + + NFC not supported
@click="copyText(invoiceDialog.data.payment_request)" >Copy invoice - Pay in wallet Close
@@ -753,7 +750,7 @@
rowsPerPage: 10 } }, - monochrome: this.$q.localStorage.getItem('lnbits.tpos.color'), + monochrome: this.$q.localStorage.getItem('lnbits.tpos.color') || false, showPoS: true, cartDrawer: this.$q.screen.width > 1200, searchTerm: '', @@ -1061,6 +1058,7 @@
.then(function (response) { dialog.data = response.data dialog.show = true + self.readNfcTag() dialog.dismissMsg = self.$q.notify({ timeout: 0, @@ -1097,11 +1095,8 @@
const self = this if (typeof NDEFReader == 'undefined') { - throw { - toString: function () { - return 'NFC not supported on this device or browser.' - } - } + console.debug('NFC not supported on this device or browser.') + return } const ndef = new NDEFReader()