diff --git a/src/pages/Claim/Card/ClaimSummary.vue b/src/pages/Claim/Card/ClaimSummary.vue index 2f9f28e49..b02137f22 100644 --- a/src/pages/Claim/Card/ClaimSummary.vue +++ b/src/pages/Claim/Card/ClaimSummary.vue @@ -12,13 +12,13 @@ const route = useRoute(); const { t } = useI18n(); const $props = defineProps({ - claimId: { + id: { type: Number, default: 0, }, }); -const entityId = computed(() => $props.claimId || route.params.id); +const entityId = computed(() => $props.id || route.params.id); const claim = ref(null); const salesClaimed = ref(null); diff --git a/src/pages/Claim/Card/ClaimSummaryDialog.vue b/src/pages/Claim/Card/ClaimSummaryDialog.vue new file mode 100644 index 000000000..e0b4d22c1 --- /dev/null +++ b/src/pages/Claim/Card/ClaimSummaryDialog.vue @@ -0,0 +1,21 @@ + + + diff --git a/src/pages/Claim/ClaimList.vue b/src/pages/Claim/ClaimList.vue index 9649d8ee3..93c656d38 100644 --- a/src/pages/Claim/ClaimList.vue +++ b/src/pages/Claim/ClaimList.vue @@ -1,15 +1,14 @@ - - - diff --git a/src/pages/Customer/Card/CustomerSummary.vue b/src/pages/Customer/Card/CustomerSummary.vue index dd06bd52d..7151b291e 100644 --- a/src/pages/Customer/Card/CustomerSummary.vue +++ b/src/pages/Customer/Card/CustomerSummary.vue @@ -12,13 +12,13 @@ const route = useRoute(); const { t } = useI18n(); const $props = defineProps({ - customerId: { + id: { type: Number, default: 0, }, }); -const entityId = computed(() => $props.customerId || route.params.id); +const entityId = computed(() => $props.id || route.params.id); const customer = ref(null); function fetch() { diff --git a/src/pages/Customer/Card/CustomerSummaryDialog.vue b/src/pages/Customer/Card/CustomerSummaryDialog.vue new file mode 100644 index 000000000..84ecaf084 --- /dev/null +++ b/src/pages/Customer/Card/CustomerSummaryDialog.vue @@ -0,0 +1,21 @@ + + + diff --git a/src/pages/Customer/CustomerList.vue b/src/pages/Customer/CustomerList.vue index 1cba2f7b0..342eda587 100644 --- a/src/pages/Customer/CustomerList.vue +++ b/src/pages/Customer/CustomerList.vue @@ -1,26 +1,25 @@ @@ -73,7 +72,7 @@ function showPreview(id) { {{ t('components.smartCard.openCard') }} - + {{ t('components.smartCard.openSummary') }}