diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue
index 499c95beb..b20419b5d 100644
--- a/src/components/ui/CardDescriptor.vue
+++ b/src/components/ui/CardDescriptor.vue
@@ -1,6 +1,7 @@
-
-
+
+
+
diff --git a/src/pages/Customer/Card/CustomerDescriptor.vue b/src/pages/Customer/Card/CustomerDescriptor.vue
index de398be74..282a4b958 100644
--- a/src/pages/Customer/Card/CustomerDescriptor.vue
+++ b/src/pages/Customer/Card/CustomerDescriptor.vue
@@ -14,6 +14,10 @@ const $props = defineProps({
required: false,
default: null,
},
+ summary: {
+ type: Object,
+ default: null,
+ },
});
const route = useRoute();
@@ -34,6 +38,7 @@ const setData = (entity) => (data.value = useCardDescription(entity.name, entity
:title="data.title"
:subtitle="data.subtitle"
@on-fetch="setData"
+ :summary="$props.summary"
data-key="customerData"
>
diff --git a/src/pages/Customer/Card/CustomerDescriptorProxy.vue b/src/pages/Customer/Card/CustomerDescriptorProxy.vue
index 84a69c026..0341f66a0 100644
--- a/src/pages/Customer/Card/CustomerDescriptorProxy.vue
+++ b/src/pages/Customer/Card/CustomerDescriptorProxy.vue
@@ -1,5 +1,6 @@
+
-
+
diff --git a/src/pages/Customer/Card/CustomerSummary.vue b/src/pages/Customer/Card/CustomerSummary.vue
index 081bdd157..6693274ac 100644
--- a/src/pages/Customer/Card/CustomerSummary.vue
+++ b/src/pages/Customer/Card/CustomerSummary.vue
@@ -6,6 +6,7 @@ import { toCurrency, toPercentage, toDate } from 'src/filters';
import CardSummary from 'components/ui/CardSummary.vue';
import { getUrl } from 'src/composables/getUrl';
import VnLv from 'src/components/ui/VnLv.vue';
+import VnLinkPhone from 'src/components/ui/VnLinkPhone.vue';
const route = useRoute();
const { t } = useI18n();
@@ -68,8 +69,18 @@ const creditWarning = computed(() => {
-
-
+
+
+ {{ t('customer.summary.phone') }}
+
+
+
+
+
+ {{ t('customer.summary.mobile') }}
+
+
+
-
+
+
+ {{ t('customer.list.phone') }}
+
+
+
summaryRef.value.fetch());
@@ -180,7 +181,7 @@ async function changeState(value) {
-
+
{{ dashIfEmpty(ticket.refFk) }}
-
-
-
-
+
+
+ {{ t('ticket.summary.consigneePhone') }}
+
+
+
+
+
+ {{ t('ticket.summary.consigneeMobile') }}
+
+
+
+
+
+ {{ t('ticket.summary.clientPhone') }}
+
+
+
+
+
+ {{ t('ticket.summary.clientMobile') }}
+
+
+
worker.value?.sip && worker.value.sip.extension);
function getWorkerAvatar() {
const token = getToken();
- return `/api/Images/user/160x160/${route.params.id}/download?access_token=${token}`;
+ return `/api/Images/user/160x160/${entityId.value}/download?access_token=${token}`;
}
const data = ref(useCardDescription());
const setData = (entity) => {
@@ -67,6 +73,7 @@ const setData = (entity) => {
:filter="filter"
:title="data.title"
:subtitle="data.subtitle"
+ :summary="$props.summary"
@on-fetch="
(data) => {
worker = data;
@@ -99,8 +106,18 @@ const setData = (entity) => {
:label="t('worker.list.department')"
:value="entity.department ? entity.department.department.name : null"
/>
-
-
+
+
+ {{ t('worker.card.phone') }}
+
+
+
+
+
+ {{ t('worker.summary.sipExtension') }}
+
+
+
diff --git a/src/pages/Worker/Card/WorkerDescriptorProxy.vue b/src/pages/Worker/Card/WorkerDescriptorProxy.vue
index 8d372b6de..98b06ad6e 100644
--- a/src/pages/Worker/Card/WorkerDescriptorProxy.vue
+++ b/src/pages/Worker/Card/WorkerDescriptorProxy.vue
@@ -1,5 +1,6 @@