diff --git a/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue b/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue index d7a26b11a..d88996929 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInDueDay.vue @@ -138,7 +138,7 @@ const getTotalAmount = (rows) => rows.reduce((acc, { amount }) => acc + +amount, </template> <template #body-cell-foreignvalue="{ row }"> <QTd> - <VnInput + <VnInputNumber :class="{ 'no-pointer-events': !isNotEuro(invoiceIn.currency.code), }" @@ -205,7 +205,7 @@ const getTotalAmount = (rows) => rows.reduce((acc, { amount }) => acc + +amount, /> </QItem> <QItem> - <VnInput + <VnInputNumber :label="t('Foreign value')" class="full-width" :class="{ diff --git a/src/pages/InvoiceIn/Card/InvoiceInVat.vue b/src/pages/InvoiceIn/Card/InvoiceInVat.vue index 6e302fc71..4dac5058e 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInVat.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInVat.vue @@ -310,7 +310,7 @@ const formatOpt = (row, { model, options }, prop) => { </template> <template #body-cell-foreignvalue="{ row }"> <QTd> - <VnInput + <VnInputNumber :class="{ 'no-pointer-events': !isNotEuro(invoiceIn.currency.code), }" @@ -423,7 +423,7 @@ const formatOpt = (row, { model, options }, prop) => { {{ toCurrency(taxRate(props.row), currency) }} </QItem> <QItem> - <VnInput + <VnInputNumber :label="t('Foreign value')" class="full-width" :class="{