Warmfix labels and monitorRisk #1406

Merged
jsegarra merged 3 commits from warmfix_labels into test 2025-02-17 08:52:11 +00:00
6 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,6 @@
<script setup> <script setup>
import { toCurrency } from 'src/filters';
defineProps({ row: { type: Object, required: true } }); defineProps({ row: { type: Object, required: true } });
</script> </script>
<template> <template>
@ -27,7 +29,8 @@ defineProps({ row: { type: Object, required: true } });
size="xs" size="xs"
> >
<QTooltip> <QTooltip>
{{ $t('salesTicketsTable.risk') }}: {{ row.risk - row.credit }} {{ $t('salesTicketsTable.risk') }}:
{{ toCurrency(row.risk - row.credit) }}
</QTooltip> </QTooltip>
</QIcon> </QIcon>
<QIcon v-if="row.hasComponentLack" name="vn:components" color="primary" size="xs"> <QIcon v-if="row.hasComponentLack" name="vn:components" color="primary" size="xs">

View File

@ -652,6 +652,7 @@ supplier:
verified: Verificado verified: Verificado
isActive: Está activo isActive: Está activo
billingData: Forma de pago billingData: Forma de pago
financialData: Datos financieros
payDeadline: Plazo de pago payDeadline: Plazo de pago
payDay: Día de pago payDay: Día de pago
account: Cuenta account: Cuenta

View File

@ -270,7 +270,7 @@ const sumRisk = ({ clientRisks }) => {
<VnTitle <VnTitle
target="_blank" target="_blank"
:url="`${grafanaUrl}/d/40buzE4Vk/comportamiento-pagos-clientes?orgId=1&var-clientFk=${entityId}`" :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" icon="vn:grafana"
/> />
<VnLv <VnLv

View File

@ -125,7 +125,7 @@ const ticketsColumns = ref([
:value="toDate(invoiceOut.issued)" :value="toDate(invoiceOut.issued)"
/> />
<VnLv <VnLv
:label="t('invoiceOut.summary.dued')" :label="t('invoiceOut.summary.expirationDate')"
:value="toDate(invoiceOut.dued)" :value="toDate(invoiceOut.dued)"
/> />
<VnLv :label="t('globals.created')" :value="toDate(invoiceOut.created)" /> <VnLv :label="t('globals.created')" :value="toDate(invoiceOut.created)" />

View File

@ -19,6 +19,7 @@ invoiceOut:
summary: summary:
issued: Issued issued: Issued
dued: Due dued: Due
expirationDate: Expiration date
booked: Booked booked: Booked
taxBreakdown: Tax breakdown taxBreakdown: Tax breakdown
taxableBase: Taxable base taxableBase: Taxable base

View File

@ -19,6 +19,7 @@ invoiceOut:
summary: summary:
issued: Fecha issued: Fecha
dued: Fecha límite dued: Fecha límite
expirationDate: Fecha vencimiento
booked: Contabilizada booked: Contabilizada
taxBreakdown: Desglose impositivo taxBreakdown: Desglose impositivo
taxableBase: Base imp. taxableBase: Base imp.