forked from verdnatura/hedera-web
eprf: add max value
This commit is contained in:
parent
f821b8689a
commit
462a8a3cf8
|
@ -54,10 +54,17 @@ const onConfirmPay = async () => {
|
||||||
<Teleport :to="$actions">
|
<Teleport :to="$actions">
|
||||||
<div class="balance">
|
<div class="balance">
|
||||||
<span class="label">{{ t('balance') }}</span>
|
<span class="label">{{ t('balance') }}</span>
|
||||||
<span class="amount" :class="{ negative: debt < 0 }">
|
<span
|
||||||
|
class="amount"
|
||||||
|
:class="{ negative: debt < 0 }"
|
||||||
|
>
|
||||||
{{ currency(debt || 0) }}
|
{{ currency(debt || 0) }}
|
||||||
</span>
|
</span>
|
||||||
<QIcon name="info" class="info" size="sm">
|
<QIcon
|
||||||
|
name="info"
|
||||||
|
class="info"
|
||||||
|
size="sm"
|
||||||
|
>
|
||||||
<QTooltip max-width="450px">
|
<QTooltip max-width="450px">
|
||||||
{{ t('paymentInfo') }}
|
{{ t('paymentInfo') }}
|
||||||
</QTooltip>
|
</QTooltip>
|
||||||
|
@ -134,6 +141,7 @@ const onConfirmPay = async () => {
|
||||||
class="full-width"
|
class="full-width"
|
||||||
type="number"
|
type="number"
|
||||||
min="0"
|
min="0"
|
||||||
|
:max="debt * -1"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</VnConfirm>
|
</VnConfirm>
|
||||||
|
|
Loading…
Reference in New Issue