This commit is contained in:
callebtc 2022-10-24 14:09:40 +02:00 committed by Vlad Stan
parent 9430aa28c7
commit f4c0c92655

View File

@ -230,7 +230,7 @@
:outline="!($q.dark.isActive)" :outline="!($q.dark.isActive)"
rounded rounded
color="primary" color="primary"
label="Round" label="Custom"
></q-btn> ></q-btn>
<q-input <q-input
class="q-my-lg" class="q-my-lg"
@ -239,10 +239,10 @@
filled filled
v-model.number="tipRounding" v-model.number="tipRounding"
:placeholder="roundToSugestion" :placeholder="roundToSugestion"
hint="Rounded amount" hint="Total amount including tip"
> >
<template v-slot:append> <template v-slot:append>
<q-icon name="send" @click="calculatePercent" /> <q-icon name="check" @click="calculatePercent" />
</template> </template>
</q-input> </q-input>
</div> </div>
@ -449,7 +449,7 @@
if (change < 0) { if (change < 0) {
this.$q.notify({ this.$q.notify({
type: 'warning', type: 'warning',
message: 'Value must be greater than initial amount' message: 'Amount with tip must be greater than initial amount.'
}) })
this.tipRounding = this.roundToSugestion this.tipRounding = this.roundToSugestion
return return