diff --git a/public/images/customer-PERS-avartar.png b/public/images/customer-PERS-avartar.png index 3ae92fdd..18f65135 100644 Binary files a/public/images/customer-PERS-avartar.png and b/public/images/customer-PERS-avartar.png differ diff --git a/src/pages/03_customer-management/MainPage.vue b/src/pages/03_customer-management/MainPage.vue index 7e99bee7..49960447 100644 --- a/src/pages/03_customer-management/MainPage.vue +++ b/src/pages/03_customer-management/MainPage.vue @@ -550,8 +550,8 @@ function createEmployeeForm() { ? customerStats.map((v) => ({ count: v.name === 'CORP' - ? statsCustomerType?.CORP ?? 0 - : statsCustomerType?.PERS ?? 0, + ? (statsCustomerType?.CORP ?? 0) + : (statsCustomerType?.PERS ?? 0), label: v.name === 'CORP' ? 'customerLegalEntity' @@ -1539,7 +1539,7 @@ function createEmployeeForm() { { icon: 'mdi-clock-outline', value: props.row.dateOfBirth - ? calculateAge(props.row.dateOfBirth) ?? '' + ? (calculateAge(props.row.dateOfBirth) ?? '') : '', }, ], @@ -2040,10 +2040,24 @@ function createEmployeeForm() { !customerFormState.customerImageUrl || customerFormState.dialogType === 'edit' " - :fallback-url="`/images/customer-${customerFormData.customerType}-avartar.png`" clear-button @save="() => {}" - > + > + +