diff --git a/src/components/TicketProblems.vue b/src/components/TicketProblems.vue index 2965396b1..934b13a1c 100644 --- a/src/components/TicketProblems.vue +++ b/src/components/TicketProblems.vue @@ -1,4 +1,6 @@ <script setup> +import { toCurrency } from 'src/filters'; + defineProps({ row: { type: Object, required: true } }); </script> <template> @@ -27,7 +29,8 @@ defineProps({ row: { type: Object, required: true } }); size="xs" > <QTooltip> - {{ $t('salesTicketsTable.risk') }}: {{ row.risk - row.credit }} + {{ $t('salesTicketsTable.risk') }}: + {{ toCurrency(row.risk - row.credit) }} </QTooltip> </QIcon> <QIcon v-if="row.hasComponentLack" name="vn:components" color="primary" size="xs"> diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index acfe181fe..bfab41a75 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -652,6 +652,7 @@ supplier: verified: Verificado isActive: Está activo billingData: Forma de pago + financialData: Datos financieros payDeadline: Plazo de pago payDay: Día de pago account: Cuenta diff --git a/src/pages/Customer/Card/CustomerSummary.vue b/src/pages/Customer/Card/CustomerSummary.vue index d2eb125d7..324da0771 100644 --- a/src/pages/Customer/Card/CustomerSummary.vue +++ b/src/pages/Customer/Card/CustomerSummary.vue @@ -270,7 +270,7 @@ const sumRisk = ({ clientRisks }) => { <VnTitle target="_blank" :url="`${grafanaUrl}/d/40buzE4Vk/comportamiento-pagos-clientes?orgId=1&var-clientFk=${entityId}`" - :text="t('customer.summary.payMethodFk')" + :text="t('customer.summary.financialData')" icon="vn:grafana" /> <VnLv diff --git a/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue b/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue index 3ceb447dd..161f2ab45 100644 --- a/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue +++ b/src/pages/InvoiceOut/Card/InvoiceOutSummary.vue @@ -125,7 +125,7 @@ const ticketsColumns = ref([ :value="toDate(invoiceOut.issued)" /> <VnLv - :label="t('invoiceOut.summary.dued')" + :label="t('invoiceOut.summary.expirationDate')" :value="toDate(invoiceOut.dued)" /> <VnLv :label="t('globals.created')" :value="toDate(invoiceOut.created)" /> diff --git a/src/pages/InvoiceOut/locale/en.yml b/src/pages/InvoiceOut/locale/en.yml index cb0dfdca7..ee6ba57e6 100644 --- a/src/pages/InvoiceOut/locale/en.yml +++ b/src/pages/InvoiceOut/locale/en.yml @@ -19,6 +19,7 @@ invoiceOut: summary: issued: Issued dued: Due + expirationDate: Expiration date booked: Booked taxBreakdown: Tax breakdown taxableBase: Taxable base diff --git a/src/pages/InvoiceOut/locale/es.yml b/src/pages/InvoiceOut/locale/es.yml index a35c33c4e..a059ce18d 100644 --- a/src/pages/InvoiceOut/locale/es.yml +++ b/src/pages/InvoiceOut/locale/es.yml @@ -19,6 +19,7 @@ invoiceOut: summary: issued: Fecha dued: Fecha límite + expirationDate: Fecha vencimiento booked: Contabilizada taxBreakdown: Desglose impositivo taxableBase: Base imp.