Skip to content

Commit 9828808

Browse files
authored
New EXIT ATM button (#68)
and add hide ATM button when in ATM mode
1 parent 5ed05d6 commit 9828808

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

Diff for: templates/tpos/tpos.html

+10-8
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ <h5>
3939
</div>
4040
</div>
4141
</div>
42+
<div class="col-12 col-sm-8 col-md-6 col-lg-4 text-center">
43+
<q-btn
44+
@click="() => {atmMode = false; getRates()}"
45+
v-if="atmMode == true"
46+
rounded
47+
color="negative"
48+
>EXIT ATM</div
49+
>
50+
</div>
4251
</q-page-sticky>
4352
<template v-if="showPoS">
4453
<q-page-sticky expand position="bottom">
@@ -197,7 +206,7 @@ <h5>
197206
<q-page-sticky position="top-right" :offset="[18, 162]">
198207
<q-btn
199208
@click="atm"
200-
v-if="withdrawamtposs > 0"
209+
v-if="withdrawamtposs > 0 && !atmMode"
201210
fab
202211
icon="atm"
203212
color="primary"
@@ -412,13 +421,6 @@ <h5 v-show="!denomIsSats" class="q-mt-none q-mb-sm">
412421
></q-page-sticky
413422
>
414423
</template>
415-
<q-btn
416-
v-show="atmMode"
417-
color="negative"
418-
@click="() => {atmMode = false; getRates()}"
419-
class="absolute-top-left"
420-
>EXIT ATM MODE</q-btn
421-
>
422424
<q-dialog
423425
v-model="invoiceDialog.show"
424426
position="top"

0 commit comments

Comments
 (0)