From 0c4ff92fd5a49a030d6b321cbfaf77f5b258b9f7 Mon Sep 17 00:00:00 2001
From: Nyavokevin <42602932+nyavokevin@users.noreply.github.com>
Date: Mon, 10 Nov 2025 17:43:18 +0300
Subject: [PATCH] add defunt et intervention
---
.../Organism/Defunts/DefuntPresentation.vue | 23 ++
.../InterventionPresentation.vue | 23 ++
.../interventionDetailsPresentation.vue | 71 +++++
.../components/atoms/Defunts/DefuntCard.vue | 161 ++++++++++
.../atoms/Interventions/CardInterventions.vue | 113 +++++++
.../molecules/Defunts/DefuntsList.vue | 178 +++++++++++
.../Interventions/interventionDetails.vue | 298 ++++++++++++++++++
.../Interventions/interventionsList.vue | 187 +++++++++++
.../src/components/molecules/thanat | 205 ------------
.../src/components/molecules/thanatopract | 76 -----
.../templates/Defunts/DefuntDetails.vue | 3 +
.../Employee => Defunts/DefuntsTemplate.vue} | 8 +-
.../InterventionDetailsTemplate.vue | 16 +
.../Interventions/InterventionsTemplate.vue | 23 ++
.../src/examples/BotMessageConfigurator.vue | 174 +++++-----
.../src/examples/Sidenav/SidenavList.vue | 16 +
thanasoft-front/src/router/index.js | 16 +
.../pages/Defunts/Defunts.vue} | 0
.../src/views/pages/Defunts/ListeDefunts.vue | 6 +
.../Interventions/InterventionDetails.vue | 6 +
.../pages/Interventions/Interventions.vue | 6 +
21 files changed, 1240 insertions(+), 369 deletions(-)
create mode 100644 thanasoft-front/src/components/Organism/Defunts/DefuntPresentation.vue
create mode 100644 thanasoft-front/src/components/Organism/Interventions/InterventionPresentation.vue
create mode 100644 thanasoft-front/src/components/Organism/Interventions/interventionDetailsPresentation.vue
create mode 100644 thanasoft-front/src/components/atoms/Defunts/DefuntCard.vue
create mode 100644 thanasoft-front/src/components/atoms/Interventions/CardInterventions.vue
create mode 100644 thanasoft-front/src/components/molecules/Defunts/DefuntsList.vue
create mode 100644 thanasoft-front/src/components/molecules/Interventions/interventionDetails.vue
create mode 100644 thanasoft-front/src/components/molecules/Interventions/interventionsList.vue
delete mode 100644 thanasoft-front/src/components/molecules/thanat
delete mode 100644 thanasoft-front/src/components/molecules/thanatopract
create mode 100644 thanasoft-front/src/components/templates/Defunts/DefuntDetails.vue
rename thanasoft-front/src/components/templates/{CRM/Employee => Defunts/DefuntsTemplate.vue} (69%)
create mode 100644 thanasoft-front/src/components/templates/Interventions/InterventionDetailsTemplate.vue
create mode 100644 thanasoft-front/src/components/templates/Interventions/InterventionsTemplate.vue
rename thanasoft-front/src/{components/templates/CRM/ThanatopractitionerDetail => views/pages/Defunts/Defunts.vue} (100%)
create mode 100644 thanasoft-front/src/views/pages/Defunts/ListeDefunts.vue
create mode 100644 thanasoft-front/src/views/pages/Interventions/InterventionDetails.vue
create mode 100644 thanasoft-front/src/views/pages/Interventions/Interventions.vue
diff --git a/thanasoft-front/src/components/Organism/Defunts/DefuntPresentation.vue b/thanasoft-front/src/components/Organism/Defunts/DefuntPresentation.vue
new file mode 100644
index 0000000..8853f07
--- /dev/null
+++ b/thanasoft-front/src/components/Organism/Defunts/DefuntPresentation.vue
@@ -0,0 +1,23 @@
+
+
+ Né(e) le: {{ formatDate(date_naissance) }} | Décédé(e) le:
+ {{ formatDate(date_deces) }}
+
+ Lieu de décès: {{ lieu_deces }}
+
+ {{ description }}
+
+ Âge au décès
+
+ Date de décès
+ Date : {{ date }} Nom du défunt : {{ defuntName }} Lieu : {{ lieux }} Durée : {{ duree }} Aucune intervention planifiée Vue d'ensemble
- {{ thanatopractitioner.employee?.full_name || "N/A" }}
-
- {{ thanatopractitioner.employee?.email || "N/A" }}
-
- {{ thanatopractitioner.employee?.phone || "N/A" }}
-
- {{ thanatopractitioner.employee?.job_title || "N/A" }}
-
- {{ thanatopractitioner.diploma_number || "N/A" }}
-
- {{ formatDate(thanatopractitioner.diploma_date) }}
-
- {{ thanatopractitioner.authorization_number || "N/A" }}
-
- {{
- formatDate(thanatopractitioner.authorization_issue_date)
- }}
-
- {{
- formatDate(
- thanatopractitioner.authorization_expiry_date
- )
- }}
-
- {{ thanatopractitionerType }}
- Statut Diplôme{{ nom }} {{ prenom }}
+
+ {{ calculateAge }}
+ {{ formatDate(date_deces) }}
+ {{ title }}
+
+
+
+
+
Détails de l'Intervention
+ Informations Client
+
+ Description
+
+
+
+ Informations Complémentaires
+ Équipe Assignée
+
+
+
+
+
+
+
- Informations Personnelles
-
-
- Informations Professionnelles
-
-
- Statut et Créé le
-
-
- {{ thanatopractitionerName }}
-
-
-
-
-
- {{ diplomaNumber || 'N/A' }}
-
- Defunt Details
+
diff --git a/thanasoft-front/src/components/templates/CRM/Employee b/thanasoft-front/src/components/templates/Defunts/DefuntsTemplate.vue
similarity index 69%
rename from thanasoft-front/src/components/templates/CRM/Employee
rename to thanasoft-front/src/components/templates/Defunts/DefuntsTemplate.vue
index fe2a9d3..f92a394 100644
--- a/thanasoft-front/src/components/templates/CRM/Employee
+++ b/thanasoft-front/src/components/templates/Defunts/DefuntsTemplate.vue
@@ -2,19 +2,19 @@
En ligne