From e924c4f81980207479d5f1313b83de8087b74b2e Mon Sep 17 00:00:00 2001
From: Nyavokevin <42602932+nyavokevin@users.noreply.github.com>
Date: Tue, 28 Oct 2025 15:25:04 +0300
Subject: [PATCH] add page fournisseur
---
.../CRM/FournisseurDetailPresentation.vue | 192 +++++
.../Organism/CRM/FournisseurPresentation.vue | 63 ++
.../fournisseur/FournisseurDetailContent.vue | 139 ++++
.../fournisseur/FournisseurDetailSidebar.vue | 79 ++
.../molecules/Tables/CRM/ClientTable.vue | 2 +-
.../molecules/Tables/CRM/FournisseurTable.vue | 489 ++++++++++++
.../fournisseur/FournisseurActivityTab.vue | 12 +
.../fournisseur/FournisseurAddressTab.vue | 20 +
.../fournisseur/FournisseurContactsTab.vue | 28 +
.../fournisseur/FournisseurInfoTab.vue | 21 +
.../fournisseur/FournisseurLocationsTab.vue | 28 +
.../fournisseur/FournisseurNotesTab.vue | 20 +
.../fournisseur/FournisseurOverview.vue | 151 ++++
.../fournisseur/FournisseurProfileCard.vue | 84 ++
.../fournisseur/FournisseurTabNavigation.vue | 71 ++
.../molecules/location/LocationTable.vue | 745 +++++-------------
.../CRM/FournisseurDetailTemplate.vue | 16 +
.../templates/CRM/FournisseurTemplate.vue | 23 +
.../src/examples/Sidenav/SidenavList.vue | 285 ++++++-
thanasoft-front/src/router/index.js | 140 ++++
thanasoft-front/src/views/pages/Agenda.vue | 11 +
.../src/views/pages/Clients/Statistiques.vue | 11 +
thanasoft-front/src/views/pages/Courriel.vue | 11 +
.../src/views/pages/Employes/Absences.vue | 11 +
.../src/views/pages/Employes/Employes.vue | 11 +
.../src/views/pages/Employes/NDF.vue | 11 +
.../src/views/pages/Employes/Vehicules.vue | 11 +
.../views/pages/Fournisseurs/Commandes.vue | 11 +
.../src/views/pages/Fournisseurs/Contacts.vue | 11 +
.../src/views/pages/Fournisseurs/Factures.vue | 11 +
.../pages/Fournisseurs/FournisseurDetails.vue | 147 ++++
.../views/pages/Fournisseurs/Fournisseurs.vue | 104 +++
.../views/pages/Fournisseurs/Statistiques.vue | 11 +
.../src/views/pages/Parametrage/Droits.vue | 11 +
.../src/views/pages/Parametrage/Emails.vue | 11 +
.../src/views/pages/Parametrage/Modeles.vue | 11 +
.../views/pages/SousTraitants/Commandes.vue | 11 +
.../views/pages/SousTraitants/Contacts.vue | 11 +
.../views/pages/SousTraitants/Factures.vue | 11 +
.../pages/SousTraitants/SousTraitants.vue | 11 +
.../pages/SousTraitants/Statistiques.vue | 11 +
.../src/views/pages/Stock/Reception.vue | 11 +
.../src/views/pages/Stock/Stock.vue | 11 +
.../src/views/pages/Ventes/Devis.vue | 11 +
.../src/views/pages/Ventes/Factures.vue | 11 +
.../src/views/pages/Ventes/Statistiques.vue | 11 +
46 files changed, 2521 insertions(+), 602 deletions(-)
create mode 100644 thanasoft-front/src/components/Organism/CRM/FournisseurDetailPresentation.vue
create mode 100644 thanasoft-front/src/components/Organism/CRM/FournisseurPresentation.vue
create mode 100644 thanasoft-front/src/components/Organism/CRM/fournisseur/FournisseurDetailContent.vue
create mode 100644 thanasoft-front/src/components/Organism/CRM/fournisseur/FournisseurDetailSidebar.vue
create mode 100644 thanasoft-front/src/components/molecules/Tables/CRM/FournisseurTable.vue
create mode 100644 thanasoft-front/src/components/molecules/fournisseur/FournisseurActivityTab.vue
create mode 100644 thanasoft-front/src/components/molecules/fournisseur/FournisseurAddressTab.vue
create mode 100644 thanasoft-front/src/components/molecules/fournisseur/FournisseurContactsTab.vue
create mode 100644 thanasoft-front/src/components/molecules/fournisseur/FournisseurInfoTab.vue
create mode 100644 thanasoft-front/src/components/molecules/fournisseur/FournisseurLocationsTab.vue
create mode 100644 thanasoft-front/src/components/molecules/fournisseur/FournisseurNotesTab.vue
create mode 100644 thanasoft-front/src/components/molecules/fournisseur/FournisseurOverview.vue
create mode 100644 thanasoft-front/src/components/molecules/fournisseur/FournisseurProfileCard.vue
create mode 100644 thanasoft-front/src/components/molecules/fournisseur/FournisseurTabNavigation.vue
create mode 100644 thanasoft-front/src/components/templates/CRM/FournisseurDetailTemplate.vue
create mode 100644 thanasoft-front/src/components/templates/CRM/FournisseurTemplate.vue
create mode 100644 thanasoft-front/src/views/pages/Agenda.vue
create mode 100644 thanasoft-front/src/views/pages/Clients/Statistiques.vue
create mode 100644 thanasoft-front/src/views/pages/Courriel.vue
create mode 100644 thanasoft-front/src/views/pages/Employes/Absences.vue
create mode 100644 thanasoft-front/src/views/pages/Employes/Employes.vue
create mode 100644 thanasoft-front/src/views/pages/Employes/NDF.vue
create mode 100644 thanasoft-front/src/views/pages/Employes/Vehicules.vue
create mode 100644 thanasoft-front/src/views/pages/Fournisseurs/Commandes.vue
create mode 100644 thanasoft-front/src/views/pages/Fournisseurs/Contacts.vue
create mode 100644 thanasoft-front/src/views/pages/Fournisseurs/Factures.vue
create mode 100644 thanasoft-front/src/views/pages/Fournisseurs/FournisseurDetails.vue
create mode 100644 thanasoft-front/src/views/pages/Fournisseurs/Fournisseurs.vue
create mode 100644 thanasoft-front/src/views/pages/Fournisseurs/Statistiques.vue
create mode 100644 thanasoft-front/src/views/pages/Parametrage/Droits.vue
create mode 100644 thanasoft-front/src/views/pages/Parametrage/Emails.vue
create mode 100644 thanasoft-front/src/views/pages/Parametrage/Modeles.vue
create mode 100644 thanasoft-front/src/views/pages/SousTraitants/Commandes.vue
create mode 100644 thanasoft-front/src/views/pages/SousTraitants/Contacts.vue
create mode 100644 thanasoft-front/src/views/pages/SousTraitants/Factures.vue
create mode 100644 thanasoft-front/src/views/pages/SousTraitants/SousTraitants.vue
create mode 100644 thanasoft-front/src/views/pages/SousTraitants/Statistiques.vue
create mode 100644 thanasoft-front/src/views/pages/Stock/Reception.vue
create mode 100644 thanasoft-front/src/views/pages/Stock/Stock.vue
create mode 100644 thanasoft-front/src/views/pages/Ventes/Devis.vue
create mode 100644 thanasoft-front/src/views/pages/Ventes/Factures.vue
create mode 100644 thanasoft-front/src/views/pages/Ventes/Statistiques.vue
diff --git a/thanasoft-front/src/components/Organism/CRM/FournisseurDetailPresentation.vue b/thanasoft-front/src/components/Organism/CRM/FournisseurDetailPresentation.vue
new file mode 100644
index 0000000..19957e6
--- /dev/null
+++ b/thanasoft-front/src/components/Organism/CRM/FournisseurDetailPresentation.vue
@@ -0,0 +1,192 @@
+
+
+
+
+
| Commercial | +Fournisseur | +Address | +Categories | +Contact | +Status | +
|---|---|---|---|---|---|
|
+
+
+
+
+ |
+
+
+
+
+
+
+
+ |
+
+
+ + + | + + +
+
+
+
+
+ |
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+ |
+
| Commercial | +Fournisseur | +Address | +Categories | +Contact | +Status | +Action | +
|---|---|---|---|---|---|---|
|
+
+
+ + {{ fournisseur.commercial }} + + |
+
+
+
+
+
+ |
+
+
+ + {{ + getShortAddress(fournisseur.billing_address) + }} + | + + +
+
+
+ |
+
+
+
+
+
+
+ {{ fournisseur.email }}
+
+ {{ fournisseur.phone }}
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+
+ |
+
+ Aucun fournisseur à afficher pour le moment. +
+Historique des activités du fournisseur
+Adresse de facturation
+Liste des contacts
+Informations détaillées du fournisseur
+{{ fournisseur.name }}
+Liste des localisations
+{{ notes || "Aucune note" }}
++ {{ formattedAddress }} +
++ {{ contact.position || "Contact" }} +
++ Aucun contact enregistré +
++ {{ fournisseurType }} +
+ + +Contacts
+Statut
+| - {{ column.label }} - | -Action | +Nom | +Ville | +Adresse | +Latitude GPS | +Longitude GPS | +Par défaut | +Action |
|---|---|---|---|---|---|---|---|---|
| + | + + | ++ + | ++ + | ++ + | ++ + | +
-
-
-
+
|
-
- + |
@@ -52,217 +58,102 @@
-
-
-
-
-
-
-
-
-
-
+
@@ -275,30 +166,18 @@
diff --git a/thanasoft-front/src/components/templates/CRM/FournisseurDetailTemplate.vue b/thanasoft-front/src/components/templates/CRM/FournisseurDetailTemplate.vue
new file mode 100644
index 0000000..c64f940
--- /dev/null
+++ b/thanasoft-front/src/components/templates/CRM/FournisseurDetailTemplate.vue
@@ -0,0 +1,16 @@
+
+
+
+
diff --git a/thanasoft-front/src/components/templates/CRM/FournisseurTemplate.vue b/thanasoft-front/src/components/templates/CRM/FournisseurTemplate.vue
new file mode 100644
index 0000000..b486ecf
--- /dev/null
+++ b/thanasoft-front/src/components/templates/CRM/FournisseurTemplate.vue
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/thanasoft-front/src/examples/Sidenav/SidenavList.vue b/thanasoft-front/src/examples/Sidenav/SidenavList.vue
index f1d7b79..a2325ed 100644
--- a/thanasoft-front/src/examples/Sidenav/SidenavList.vue
+++ b/thanasoft-front/src/examples/Sidenav/SidenavList.vue
@@ -4,6 +4,7 @@
class="w-auto h-auto collapse navbar-collapse max-height-vh-100 h-100"
>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |