fix: refs #8824 simplify VnLv component usage for credit insurance display
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
d6363e4b45
commit
b87e240c70
|
@ -293,14 +293,9 @@ const sumRisk = ({ clientRisks }) => {
|
|||
<VnLv
|
||||
v-if="entity.creditInsurance"
|
||||
:label="t('customer.summary.securedCredit')"
|
||||
:value="`${toCurrency(entity.creditInsurance)} (${entity.classifications[0]?.insurances[0]?.grade || ''})`"
|
||||
:info="t('customer.summary.securedCreditInfo')"
|
||||
>
|
||||
<template #value>
|
||||
{{ toCurrency(entity.creditInsurance) }}({{
|
||||
dashIfEmpty(entity.classifications[0]?.insurances[0]?.grade)
|
||||
}})
|
||||
</template></VnLv
|
||||
>
|
||||
/>
|
||||
<VnLv
|
||||
:label="t('customer.summary.balance')"
|
||||
:value="toCurrency(sumRisk(entity)) || toCurrency(0)"
|
||||
|
|
Loading…
Reference in New Issue