Merge branch 'test' of https://gitea.verdnatura.es/verdnatura/salix-front into dev
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
This commit is contained in:
commit
55916deaab
|
@ -145,7 +145,7 @@ const setData = (entity) => {
|
||||||
/>
|
/>
|
||||||
<VnLv :label="t('claim.card.zone')" :value="entity.ticket?.zone?.name" />
|
<VnLv :label="t('claim.card.zone')" :value="entity.ticket?.zone?.name" />
|
||||||
<VnLv
|
<VnLv
|
||||||
:label="t('claim.card.zone')"
|
:label="t('claimRate')"
|
||||||
:value="toPercentage(entity.client?.claimsRatio?.claimingRate)"
|
:value="toPercentage(entity.client?.claimsRatio?.claimingRate)"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
@ -176,3 +176,9 @@ const setData = (entity) => {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<i18n>
|
||||||
|
en:
|
||||||
|
claimRate: Claming rate
|
||||||
|
es:
|
||||||
|
claimRate: Ratio de reclamación
|
||||||
|
</i18n>
|
||||||
|
|
|
@ -58,7 +58,7 @@ function formattedAddress() {
|
||||||
|
|
||||||
function isEditable() {
|
function isEditable() {
|
||||||
try {
|
try {
|
||||||
return !ticket.value.ticketState.state.alertLevel;
|
return !ticket.value.ticketState?.state?.alertLevel;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
}
|
}
|
||||||
|
@ -153,8 +153,8 @@ async function changeState(value) {
|
||||||
</a>
|
</a>
|
||||||
<VnLv :label="t('ticket.summary.state')">
|
<VnLv :label="t('ticket.summary.state')">
|
||||||
<template #value>
|
<template #value>
|
||||||
<QChip :color="ticket.ticketState.state.classColor ?? 'dark'">
|
<QChip :color="ticket.ticketState?.state?.classColor ?? 'dark'">
|
||||||
{{ ticket.ticketState.state.name }}
|
{{ ticket.ticketState?.state?.name }}
|
||||||
</QChip>
|
</QChip>
|
||||||
</template>
|
</template>
|
||||||
</VnLv>
|
</VnLv>
|
||||||
|
|
Loading…
Reference in New Issue