diff --git a/apps/ops/src/components/customer/CustomerSatisfaction.vue b/apps/ops/src/components/customer/CustomerSatisfaction.vue new file mode 100644 index 0000000..bb781ca --- /dev/null +++ b/apps/ops/src/components/customer/CustomerSatisfaction.vue @@ -0,0 +1,40 @@ + + + diff --git a/apps/ops/src/pages/ClientDetailPage.vue b/apps/ops/src/pages/ClientDetailPage.vue index 0a7ce9b..7375c62 100644 --- a/apps/ops/src/pages/ClientDetailPage.vue +++ b/apps/ops/src/pages/ClientDetailPage.vue @@ -47,37 +47,8 @@ - -
-
- - Satisfaction - - {{ '★'.repeat(latestRating.stars || 0) }}{{ '☆'.repeat(5 - (latestRating.stars || 0)) }} - - {{ latestRating.stars }}/5 - - {{ formatDateTime(latestRating.stars_ts || latestRating.comment_ts || latestRating.created) }} - -
-
« {{ latestRating.comment }} »
-
- -
- - Aucune évaluation pour ce client. - - - Ouvrir un brouillon d'invitation (coordonnées + message pré-remplis) - - - Brouillon d'invitation (langue du client) - Par courriel - Par texto - - - -
+ + @@ -1179,6 +1150,7 @@ import DataTable from 'src/components/shared/DataTable.vue' import CustomerHeader from 'src/components/customer/CustomerHeader.vue' import ContactCard from 'src/components/customer/ContactCard.vue' import CustomerInfoCard from 'src/components/customer/CustomerInfoCard.vue' +import CustomerSatisfaction from 'src/components/customer/CustomerSatisfaction.vue' import InlineField from 'src/components/shared/InlineField.vue' import { useSoftphone } from 'src/composables/useSoftphone' import UnifiedCreateModal from 'src/components/shared/UnifiedCreateModal.vue'