Merge pull request 'Hotfix: SummaryProblems' (!1699) from Hotfix-TicketSummaryAddress into master
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
Reviewed-on: #1699 Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
commit
6976569c42
|
@ -6,6 +6,7 @@ import { computed } from 'vue';
|
|||
|
||||
const $props = defineProps({
|
||||
label: { type: String, default: null },
|
||||
tooltip: { type: String, default: null },
|
||||
value: {
|
||||
type: [String, Boolean, Number],
|
||||
default: null,
|
||||
|
@ -40,7 +41,10 @@ const val = computed(() => $props.value);
|
|||
<template v-else>
|
||||
<div v-if="label || $slots.label" class="label">
|
||||
<slot name="label">
|
||||
<span style="color: var(--vn-label-color)">{{ label }}</span>
|
||||
<QTooltip v-if="tooltip">{{ tooltip }}</QTooltip>
|
||||
<span style="color: var(--vn-label-color)">
|
||||
{{ label }}
|
||||
</span>
|
||||
</slot>
|
||||
</div>
|
||||
<div class="value" v-if="value || $slots.value">
|
||||
|
|
|
@ -208,7 +208,8 @@ const sumRisk = ({ clientRisks }) => {
|
|||
:text="t('customer.summary.consignee')"
|
||||
/>
|
||||
<VnLv
|
||||
:label="t('customer.summary.addressName')"
|
||||
:tooltip="t('customer.summary.addressName')"
|
||||
:label="t('customer.summary.addressNameAbbr')"
|
||||
:value="entity.defaultAddress.nickname"
|
||||
/>
|
||||
<VnLv
|
||||
|
@ -252,7 +253,8 @@ const sumRisk = ({ clientRisks }) => {
|
|||
/>
|
||||
<VnLv
|
||||
v-if="entity.claimsRatio"
|
||||
:label="t('customer.summary.priceIncreasingRate')"
|
||||
:tooltip="t('customer.summary.priceIncreasingRate')"
|
||||
:label="t('customer.summary.priceIncreasingRateAbbr')"
|
||||
:value="toPercentage(priceIncreasingRate)"
|
||||
/>
|
||||
<VnLv
|
||||
|
@ -261,7 +263,8 @@ const sumRisk = ({ clientRisks }) => {
|
|||
/>
|
||||
<VnLv
|
||||
v-if="entity.claimsRatio"
|
||||
:label="t('customer.summary.claimRate')"
|
||||
:label="t('customer.summary.claimRateAbbr')"
|
||||
:tooltip="t('customer.summary.claimRate')"
|
||||
:value="toPercentage(claimRate)"
|
||||
/>
|
||||
</QCard>
|
||||
|
@ -318,8 +321,9 @@ const sumRisk = ({ clientRisks }) => {
|
|||
/>
|
||||
|
||||
<VnLv
|
||||
:label="t('customer.summary.recommendCredit')"
|
||||
:value="entity.recommendedCredit"
|
||||
:label="t('customer.summary.recommendCreditAbbr')"
|
||||
:tooltip="t('customer.summary.recommendCredit')"
|
||||
:value="toCurrency(entity.recommendedCredit)"
|
||||
/>
|
||||
</QCard>
|
||||
<QCard class="vn-max">
|
||||
|
|
|
@ -42,14 +42,17 @@ customer:
|
|||
hasCoreVnl: Has core VNL
|
||||
hasB2BVnl: Has B2B VNL
|
||||
addressName: Address name
|
||||
addressNameAbbr: A. Name
|
||||
addressCity: City
|
||||
username: Username
|
||||
webAccess: Web access
|
||||
totalGreuge: Total greuge
|
||||
mana: Mana
|
||||
priceIncreasingRate: Price increasing rate
|
||||
priceIncreasingRateAbbr: Price inc. rate
|
||||
averageInvoiced: Average invoiced
|
||||
claimRate: Claming rate
|
||||
claimRateAbbr: Claim. rate
|
||||
payMethodFk: Billing data
|
||||
risk: Risk
|
||||
maximumRisk: Solunion's maximum risk
|
||||
|
@ -68,6 +71,7 @@ customer:
|
|||
descriptorInfo: Invoices minus payments plus orders not yet
|
||||
rating: Rating
|
||||
recommendCredit: Recommended credit
|
||||
recommendCreditAbbr: Rec. credit
|
||||
goToLines: Go to lines
|
||||
basicData:
|
||||
socialName: Fiscal name
|
||||
|
|
|
@ -42,14 +42,17 @@ customer:
|
|||
hasCoreVnl: Recibido core VNL
|
||||
hasB2BVnl: Recibido B2B VNL
|
||||
addressName: Nombre de la dirección
|
||||
addressNameAbbr: N. Dirección
|
||||
addressCity: Ciudad
|
||||
username: Usuario
|
||||
webAccess: Acceso web
|
||||
totalGreuge: Greuge total
|
||||
mana: Maná
|
||||
priceIncreasingRate: Ratio de incremento de precio
|
||||
priceIncreasingRateAbbr: R. Inc. Precio
|
||||
averageInvoiced: Facturación media
|
||||
claimRate: Ratio de reclamaciones
|
||||
claimRateAbbr: R. Reclamaciones
|
||||
maximumRisk: Riesgo máximo asumido por Solunion
|
||||
payMethodFk: Forma de pago
|
||||
risk: Riesgo
|
||||
|
@ -68,6 +71,7 @@ customer:
|
|||
descriptorInfo: Facturas menos recibos mas pedidos sin facturar
|
||||
rating: Clasificación
|
||||
recommendCredit: Crédito recomendado
|
||||
recommendCreditAbbr: Cr. Recomendado
|
||||
goToLines: Ir a líneas
|
||||
basicData:
|
||||
socialName: Nombre fiscal
|
||||
|
|
|
@ -241,6 +241,7 @@ onMounted(async () => {
|
|||
:value="`${entity.address?.nickname} #${entity.address?.id}`"
|
||||
/>
|
||||
<VnLv
|
||||
class="white-space-normal"
|
||||
:label="t('ticket.summary.consigneeStreet')"
|
||||
:value="formattedAddress"
|
||||
/>
|
||||
|
@ -524,4 +525,7 @@ onMounted(async () => {
|
|||
.grafana {
|
||||
color: $primary-light;
|
||||
}
|
||||
.white-space-normal :deep(.value span) {
|
||||
white-space: normal;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue