Merge branch 'dev' into 6664-portesClaim
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
2fd0cef161
|
@ -145,7 +145,7 @@ const setData = (entity) => {
|
|||
/>
|
||||
<VnLv :label="t('claim.card.zone')" :value="entity.ticket?.zone?.name" />
|
||||
<VnLv
|
||||
:label="t('claim.card.zone')"
|
||||
:label="t('claimRate')"
|
||||
:value="toPercentage(entity.client?.claimsRatio?.claimingRate)"
|
||||
/>
|
||||
</template>
|
||||
|
@ -176,3 +176,9 @@ const setData = (entity) => {
|
|||
margin-top: 0;
|
||||
}
|
||||
</style>
|
||||
<i18n>
|
||||
en:
|
||||
claimRate: Claming rate
|
||||
es:
|
||||
claimRate: Ratio de reclamación
|
||||
</i18n>
|
||||
|
|
|
@ -58,7 +58,7 @@ function formattedAddress() {
|
|||
|
||||
function isEditable() {
|
||||
try {
|
||||
return !ticket.value.ticketState.state.alertLevel;
|
||||
return !ticket.value.ticketState?.state?.alertLevel;
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
@ -153,8 +153,8 @@ async function changeState(value) {
|
|||
</a>
|
||||
<VnLv :label="t('ticket.summary.state')">
|
||||
<template #value>
|
||||
<QChip :color="ticket.ticketState.state.classColor ?? 'dark'">
|
||||
{{ ticket.ticketState.state.name }}
|
||||
<QChip :color="ticket.ticketState?.state?.classColor ?? 'dark'">
|
||||
{{ ticket.ticketState?.state?.name }}
|
||||
</QChip>
|
||||
</template>
|
||||
</VnLv>
|
||||
|
|
Loading…
Reference in New Issue