Version 1.0.1 with RIS Circuit Money Exchange !
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
</q-select>
|
||||
|
||||
<CSaldo
|
||||
v-if="circuitloaded"
|
||||
:symbol="circuitloaded.symbol"
|
||||
:color="circuitloaded.color"
|
||||
:saldo="accountloaded ? accountloaded.saldo : 0"
|
||||
@@ -32,7 +33,7 @@
|
||||
>
|
||||
</CMyUser>
|
||||
|
||||
<div>
|
||||
<div v-if="circuitloaded">
|
||||
<q-input
|
||||
mask="#.##"
|
||||
reverse-fill-mask
|
||||
@@ -40,7 +41,7 @@
|
||||
class="q-py-sm text-h5"
|
||||
outlined v-model="qty" type="text"
|
||||
:rules="[ val => val <= circuitStore.getRemainingCoinsToSend(accountloaded) || t('circuit.qta_remaining_to_send', { maxqta: circuitStore.getRemainingCoinsToSend(accountloaded), symbol: circuitloaded.symbol })]"
|
||||
:label="t('movement.amount_to_send', {qtamax: circuitStore.getRemainingCoinsToSend(accountloaded).toFixed(2) + ` ` + circuitloaded.symbol})"
|
||||
:label="t('movement.amount_to_send', {qtamax: circuitStore.getRemainingCoinsToSend(accountloaded) ? circuitStore.getRemainingCoinsToSend(accountloaded).toFixed(2) : 0 + ` ` + circuitloaded.symbol})"
|
||||
>
|
||||
<!--val => val > circuitStore.getMaxCoinsToSend(accountloaded) || t('circuit.qta_max_to_send', { maxqta: tools.getRemainingCoinsToSend(accountloaded), symbol: circuitloaded.symbol })]" -->
|
||||
<template v-slot:append>
|
||||
@@ -66,7 +67,7 @@
|
||||
switch-marker-labels-side
|
||||
:inner-max="remainingCoins"
|
||||
:min="0"
|
||||
:max="Number(maxsendable.toFixed(2))"
|
||||
:max="Number(maxsendable ? maxsendable.toFixed(2) : 0)"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -76,6 +77,7 @@
|
||||
</q-card-section>
|
||||
<q-card-actions align="center">
|
||||
<q-btn
|
||||
v-if="circuitloaded"
|
||||
:disable="qtyRef ? qtyRef.hasError : false"
|
||||
:label="$t('circuit.sendcoinsto', {qty, coin: circuitsel, dest: to_user.username })" color="positive"
|
||||
@click="sendCoin()"></q-btn>
|
||||
|
||||
Reference in New Issue
Block a user