-
{{
thanatopractitioner.employee?.full_name ||
@@ -273,7 +266,7 @@
>
Affichage de {{ pagination.from }} à {{ pagination.to }} sur
- {{ pagination.total }} thanatopractitioners
+ {{ pagination.total }} thanatopracteurs
@@ -325,9 +318,9 @@
-
Aucun thanatopractitioner trouvé
+
Aucun thanatopracteur trouvé
- Aucun thanatopractitioner à afficher pour le moment.
+ Aucun thanatopracteur à afficher pour le moment.
@@ -378,12 +371,6 @@ const props = defineProps({
},
});
-// Methods
-const getRandomAvatar = () => {
- const randomIndex = Math.floor(Math.random() * avatarImages.length);
- return avatarImages[randomIndex];
-};
-
const formatDate = (dateString) => {
if (!dateString) return "N/A";
const date = new Date(dateString);
@@ -399,23 +386,16 @@ const isAuthorizationValid = (expiryDate) => {
// Direct button handlers
const handleView = (thanatopractitionerId) => {
- console.log("Direct view button clicked for ID:", thanatopractitionerId);
emit("view", thanatopractitionerId);
};
const handleDelete = (thanatopractitionerId) => {
- console.log("Direct delete button clicked for ID:", thanatopractitionerId);
emit("delete", thanatopractitionerId);
};
// Pagination methods
const changePage = (page) => {
- console.log("changePage called in ThanatopractitionerTable with page:", page);
if (page >= 1 && page <= props.pagination.last_page) {
- console.log(
- "Emitting changePage event from ThanatopractitionerTable:",
- page
- );
emit("changePage", page);
}
};
@@ -458,32 +438,6 @@ const getVisiblePages = () => {
return pages;
};
-
-// Watch for data changes
-watch(
- () => props.data,
- () => {
- if (!props.loading) {
- console.log("ThanatopractitionerTable: Data changed");
- }
- },
- { deep: true }
-);
-
-onUnmounted(() => {
- // Clean up any event listeners if needed
-});
-
-// Initialize data
-onMounted(() => {
- if (!props.loading && props.data.length > 0) {
- console.log(
- "ThanatopractitionerTable: Component mounted with",
- props.data.length,
- "thanatopractitioners"
- );
- }
-});
diff --git a/thanasoft-front/src/components/molecules/thanatopract b/thanasoft-front/src/components/molecules/thanatopract
new file mode 100644
index 0000000..64e1d23
--- /dev/null
+++ b/thanasoft-front/src/components/molecules/thanatopract
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+ {{ thanatopractitionerName }}
+
+
+ {{ thanatopractitionerType }}
+
+
+
+
+
+
+
+ {{ diplomaNumber || 'N/A' }}
+
+
Diplôme
+
+
+
+
+
+
\ No newline at end of file
diff --git a/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerActivityTab.vue b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerActivityTab.vue
new file mode 100644
index 0000000..8be322e
--- /dev/null
+++ b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerActivityTab.vue
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
Fonctionnalité à venir
+
L'activité sera bientôt disponible.
+
+
+
+
+
+
+
+
diff --git a/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerAgendaTab.vue b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerAgendaTab.vue
new file mode 100644
index 0000000..873a4f6
--- /dev/null
+++ b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerAgendaTab.vue
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
Fonctionnalité à venir
+
L'agenda sera bientôt disponible.
+
+
+
+
+
+
+
+
diff --git a/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerDocumentsTab.vue b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerDocumentsTab.vue
new file mode 100644
index 0000000..7117279
--- /dev/null
+++ b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerDocumentsTab.vue
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
Fonctionnalité à venir
+
+ La gestion des documents sera bientôt disponible.
+
+
+
+
+
+
+
+
+
diff --git a/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerInfoTab.vue b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerInfoTab.vue
new file mode 100644
index 0000000..f3a3226
--- /dev/null
+++ b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerInfoTab.vue
@@ -0,0 +1,188 @@
+
+
+
+
+
+
+
diff --git a/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerNotesTab.vue b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerNotesTab.vue
new file mode 100644
index 0000000..c51e259
--- /dev/null
+++ b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerNotesTab.vue
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
Aucune note
+
+ Aucune note n'a été ajoutée pour ce thanatopractitioner.
+
+
+
+
+
+
+
+
+
+
+
diff --git a/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerOverview.vue b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerOverview.vue
new file mode 100644
index 0000000..17b008b
--- /dev/null
+++ b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerOverview.vue
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+
+
Informations Personnelles
+
+
Nom Complet
+
+ {{ getFullName() }}
+
+
+
+
Email
+
+ {{ thanatopractitioner.employee?.email || "N/A" }}
+
+
+
+
Téléphone
+
+ {{ thanatopractitioner.employee?.phone || "N/A" }}
+
+
+
+
Poste
+
+ {{
+ thanatopractitioner.employee?.job_title ||
+ "Thanatopractitioner"
+ }}
+
+
+
+
+
+
+
+ Informations Professionnelles
+
+
+
Numéro de Diplôme
+
+ {{ thanatopractitioner.diploma_number || "N/A" }}
+
+
+
+
Date du Diplôme
+
+ {{ formatDate(thanatopractitioner.diploma_date) }}
+
+
+
+
Numéro d'Autorisation
+
+ {{ thanatopractitioner.authorization_number || "N/A" }}
+
+
+
+
Validité de l'Autorisation
+
+
+ {{ formatAuthorizationStatus() }}
+
+
+
+
+
+
+
+
+
+
Statut et Informations
+
+
+
+
Statut
+
+
+ {{ thanatopractitioner.active ? "Actif" : "Inactif" }}
+
+
+
+
+
+
+
Date de Création
+
+ {{ formattedDate }}
+
+
+
+
+
+
ID
+
+ #{{ thanatopractitioner.id }}
+
+
+
+
+
+
+
+
+
+
+
Notes
+
+
{{ thanatopractitioner.notes }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerProfileCard.vue b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerProfileCard.vue
new file mode 100644
index 0000000..c5037ab
--- /dev/null
+++ b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerProfileCard.vue
@@ -0,0 +1,146 @@
+
+
+
+
+
+
+
+
+ {{ initials }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ thanatopractitionerName }}
+
+
+ {{ thanatopractitionerType }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ isActive ? "Actif" : "Inactif" }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerTabNavigation.vue b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerTabNavigation.vue
new file mode 100644
index 0000000..cd8b17e
--- /dev/null
+++ b/thanasoft-front/src/components/molecules/thanatopractitioner/ThanatopractitionerTabNavigation.vue
@@ -0,0 +1,65 @@
+
+
+
+
+
diff --git a/thanasoft-front/src/components/templates/CRM/ThanatopractitionerDetail b/thanasoft-front/src/components/templates/CRM/ThanatopractitionerDetail
new file mode 100644
index 0000000..e69de29
diff --git a/thanasoft-front/src/components/templates/CRM/ThanatopractitionerDetailTemplate.vue b/thanasoft-front/src/components/templates/CRM/ThanatopractitionerDetailTemplate.vue
new file mode 100644
index 0000000..8d5109c
--- /dev/null
+++ b/thanasoft-front/src/components/templates/CRM/ThanatopractitionerDetailTemplate.vue
@@ -0,0 +1,20 @@
+
+
+
+
+
diff --git a/thanasoft-front/src/components/templates/CRM/ThanatopractitionerTemplate.vue b/thanasoft-front/src/components/templates/CRM/ThanatopractitionerTemplate.vue
index f6c0a28..f2b5196 100644
--- a/thanasoft-front/src/components/templates/CRM/ThanatopractitionerTemplate.vue
+++ b/thanasoft-front/src/components/templates/CRM/ThanatopractitionerTemplate.vue
@@ -1,24 +1,45 @@
-
-
+
diff --git a/thanasoft-front/src/components/templates/Thanato/ThanatopractitionerTemplate.vue b/thanasoft-front/src/components/templates/Thanato/ThanatopractitionerTemplate.vue
new file mode 100644
index 0000000..8d5109c
--- /dev/null
+++ b/thanasoft-front/src/components/templates/Thanato/ThanatopractitionerTemplate.vue
@@ -0,0 +1,20 @@
+
+
+
+
+
diff --git a/thanasoft-front/src/examples/BotMessageConfigurator.vue b/thanasoft-front/src/examples/BotMessageConfigurator.vue
new file mode 100644
index 0000000..b4014c4
--- /dev/null
+++ b/thanasoft-front/src/examples/BotMessageConfigurator.vue
@@ -0,0 +1,600 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bonjour ! Je suis votre assistant IA. Comment puis-je vous aider
+ aujourd'hui ?
+
+
Maintenant
+
+
+
+
+
+
+
+
+
+
Personnalisons mon comportement selon vos préférences :
+
+
+
+
Personnalité
+
+
+
+ Professionnel
+
+
+
+ Amical
+
+
+
+ Technique
+
+
+
+
+
+
+
Langue
+
+
+
+ Français
+
+
+
+ English
+
+
+
+
+
+
+
Longueur des réponses
+
+
+
+ Court
+
+
+
+ Moyen
+
+
+
+ Détaillé
+
+
+
+
+
Maintenant
+
+
+
+
+
+
+
J'ai sélectionné :
+
+ Personnalité: {{ getPersonalityText }}
+ Langue: {{ getLanguageText }}
+
+ Longueur: {{ getResponseLengthText }}
+
+
+
Maintenant
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Parfait ! J'ai pris note de vos préférences. Souhaitez-vous
+ enregistrer cette configuration ?
+
+
+
+
+ Enregistrer
+
+
+
+ Réinitialiser
+
+
+
Maintenant
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/thanasoft-front/src/examples/Footer.vue b/thanasoft-front/src/examples/Footer.vue
index c5bb2ee..9649d74 100644
--- a/thanasoft-front/src/examples/Footer.vue
+++ b/thanasoft-front/src/examples/Footer.vue
@@ -1,65 +1,5 @@
-
+
diff --git a/thanasoft-front/src/views/pages/Thanatopractitioners/Thanatopractitioners.vue b/thanasoft-front/src/views/pages/Thanatopractitioners/Thanatopractitioners.vue
index a593e69..4f15404 100644
--- a/thanasoft-front/src/views/pages/Thanatopractitioners/Thanatopractitioners.vue
+++ b/thanasoft-front/src/views/pages/Thanatopractitioners/Thanatopractitioners.vue
@@ -1,8 +1,8 @@