diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index d80c0498c..f905d58b0 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -1,23 +1,47 @@ @@ -28,7 +52,7 @@ const { t } = useI18n(); {{ t('components.cardDescriptor.mainList') }} - + {{ t('components.cardDescriptor.summary') }} @@ -43,37 +67,21 @@ const { t } = useI18n(); - - + - {{ $props.description }} - {{ $props.description }} + {{ description }} + {{ description }} - #{{ data.id }} + #{{ entity.id }} - + - - - - - - - - - - - - - - - - + diff --git a/src/pages/Customer/Card/CustomerDescriptor.vue b/src/pages/Customer/Card/CustomerDescriptor.vue index 778c5071d..68f239e35 100644 --- a/src/pages/Customer/Card/CustomerDescriptor.vue +++ b/src/pages/Customer/Card/CustomerDescriptor.vue @@ -1,89 +1,80 @@ - - + - + - + {{ t('customer.card.salesPerson') }} - {{ customer.salesPersonUser.name }} + {{ entity.salesPersonUser.name }} {{ t('customer.card.credit') }} - {{ toCurrency(customer.credit) }} + {{ toCurrency(entity.credit) }} {{ t('customer.card.securedCredit') }} - {{ toCurrency(customer.creditInsurance) }} + {{ toCurrency(entity.creditInsurance) }} - + {{ t('customer.card.payMethod') }} - {{ customer.payMethod.name }} + {{ entity.payMethod.name }} {{ t('customer.card.debt') }} - {{ toCurrency(customer.debt) }} + {{ toCurrency(entity.debt) }} - + {{ t('customer.card.isDisabled') }} - + {{ t('customer.card.isFrozen') }} - + {{ t('customer.card.hasDebt') }} - + {{ t('customer.card.notChecked') }} - + {{ t('customer.card.noWebAccess') }}