diff --git a/thanasoft-back/.env.example b/thanasoft-back/.env.example deleted file mode 100644 index e7e7b47..0000000 --- a/thanasoft-back/.env.example +++ /dev/null @@ -1,65 +0,0 @@ -APP_NAME=Laravel -APP_ENV=local -APP_KEY= -APP_DEBUG=true -APP_URL=http://localhost - -APP_LOCALE=en -APP_FALLBACK_LOCALE=en -APP_FAKER_LOCALE=en_US - -APP_MAINTENANCE_DRIVER=file -# APP_MAINTENANCE_STORE=database - -PHP_CLI_SERVER_WORKERS=4 - -BCRYPT_ROUNDS=12 - -LOG_CHANNEL=stack -LOG_STACK=single -LOG_DEPRECATIONS_CHANNEL=null -LOG_LEVEL=debug - -DB_CONNECTION=mysql -DB_HOST=127.0.0.1 -DB_PORT=3306 -DB_DATABASE=thanasoft_back -DB_USERNAME=root -DB_PASSWORD= - -SESSION_DRIVER=database -SESSION_LIFETIME=120 -SESSION_ENCRYPT=false -SESSION_PATH=/ -SESSION_DOMAIN=null - -BROADCAST_CONNECTION=log -FILESYSTEM_DISK=local -QUEUE_CONNECTION=database - -CACHE_STORE=database -# CACHE_PREFIX= - -MEMCACHED_HOST=127.0.0.1 - -REDIS_CLIENT=phpredis -REDIS_HOST=127.0.0.1 -REDIS_PASSWORD=null -REDIS_PORT=6379 - -MAIL_MAILER=log -MAIL_SCHEME=null -MAIL_HOST=127.0.0.1 -MAIL_PORT=2525 -MAIL_USERNAME=null -MAIL_PASSWORD=null -MAIL_FROM_ADDRESS="hello@example.com" -MAIL_FROM_NAME="${APP_NAME}" - -AWS_ACCESS_KEY_ID= -AWS_SECRET_ACCESS_KEY= -AWS_DEFAULT_REGION=us-east-1 -AWS_BUCKET= -AWS_USE_PATH_STYLE_ENDPOINT=false - -VITE_APP_NAME="${APP_NAME}" diff --git a/thanasoft-front/src/components/Organism/Avoir/AvoirDetailPresentation.vue b/thanasoft-front/src/components/Organism/Avoir/AvoirDetailPresentation.vue new file mode 100644 index 0000000..0c1c516 --- /dev/null +++ b/thanasoft-front/src/components/Organism/Avoir/AvoirDetailPresentation.vue @@ -0,0 +1,186 @@ + + + diff --git a/thanasoft-front/src/components/Organism/Avoir/AvoirListPresentation.vue b/thanasoft-front/src/components/Organism/Avoir/AvoirListPresentation.vue new file mode 100644 index 0000000..94bd7ec --- /dev/null +++ b/thanasoft-front/src/components/Organism/Avoir/AvoirListPresentation.vue @@ -0,0 +1,165 @@ + + + diff --git a/thanasoft-front/src/components/Organism/Avoir/NewAvoirPresentation.vue b/thanasoft-front/src/components/Organism/Avoir/NewAvoirPresentation.vue new file mode 100644 index 0000000..3165118 --- /dev/null +++ b/thanasoft-front/src/components/Organism/Avoir/NewAvoirPresentation.vue @@ -0,0 +1,38 @@ + + + diff --git a/thanasoft-front/src/components/Organism/Commande/CommandeDetailPresentation.vue b/thanasoft-front/src/components/Organism/Commande/CommandeDetailPresentation.vue new file mode 100644 index 0000000..e3cf716 --- /dev/null +++ b/thanasoft-front/src/components/Organism/Commande/CommandeDetailPresentation.vue @@ -0,0 +1,189 @@ + + + diff --git a/thanasoft-front/src/components/Organism/Commande/CommandeListPresentation.vue b/thanasoft-front/src/components/Organism/Commande/CommandeListPresentation.vue new file mode 100644 index 0000000..aacd25c --- /dev/null +++ b/thanasoft-front/src/components/Organism/Commande/CommandeListPresentation.vue @@ -0,0 +1,161 @@ + + + diff --git a/thanasoft-front/src/components/Organism/Commande/NewCommandePresentation.vue b/thanasoft-front/src/components/Organism/Commande/NewCommandePresentation.vue new file mode 100644 index 0000000..d0c974f --- /dev/null +++ b/thanasoft-front/src/components/Organism/Commande/NewCommandePresentation.vue @@ -0,0 +1,38 @@ + + + diff --git a/thanasoft-front/src/components/Organism/InternalMessages/InternalMessagePresentation.vue b/thanasoft-front/src/components/Organism/InternalMessages/InternalMessagePresentation.vue new file mode 100644 index 0000000..5169ed4 --- /dev/null +++ b/thanasoft-front/src/components/Organism/InternalMessages/InternalMessagePresentation.vue @@ -0,0 +1,332 @@ + + + + + diff --git a/thanasoft-front/src/components/Organism/Statistics/StatisticsPresentation.vue b/thanasoft-front/src/components/Organism/Statistics/StatisticsPresentation.vue new file mode 100644 index 0000000..38956f9 --- /dev/null +++ b/thanasoft-front/src/components/Organism/Statistics/StatisticsPresentation.vue @@ -0,0 +1,145 @@ + + + + + diff --git a/thanasoft-front/src/components/Organism/Webmailing/WebmailingPresentation.vue b/thanasoft-front/src/components/Organism/Webmailing/WebmailingPresentation.vue new file mode 100644 index 0000000..7ab6ca7 --- /dev/null +++ b/thanasoft-front/src/components/Organism/Webmailing/WebmailingPresentation.vue @@ -0,0 +1,215 @@ + + + + + diff --git a/thanasoft-front/src/components/atoms/InternalMessages/MessageContent.vue b/thanasoft-front/src/components/atoms/InternalMessages/MessageContent.vue new file mode 100644 index 0000000..ef56bf3 --- /dev/null +++ b/thanasoft-front/src/components/atoms/InternalMessages/MessageContent.vue @@ -0,0 +1,44 @@ + + + diff --git a/thanasoft-front/src/components/atoms/InternalMessages/MessageTypeSelect.vue b/thanasoft-front/src/components/atoms/InternalMessages/MessageTypeSelect.vue new file mode 100644 index 0000000..02a8c45 --- /dev/null +++ b/thanasoft-front/src/components/atoms/InternalMessages/MessageTypeSelect.vue @@ -0,0 +1,55 @@ + + + diff --git a/thanasoft-front/src/components/atoms/InternalMessages/RecipientSelect.vue b/thanasoft-front/src/components/atoms/InternalMessages/RecipientSelect.vue new file mode 100644 index 0000000..08f66cd --- /dev/null +++ b/thanasoft-front/src/components/atoms/InternalMessages/RecipientSelect.vue @@ -0,0 +1,47 @@ + + + diff --git a/thanasoft-front/src/components/atoms/Statistics/DateRangeFilter.vue b/thanasoft-front/src/components/atoms/Statistics/DateRangeFilter.vue new file mode 100644 index 0000000..e690d15 --- /dev/null +++ b/thanasoft-front/src/components/atoms/Statistics/DateRangeFilter.vue @@ -0,0 +1,162 @@ + + + + + diff --git a/thanasoft-front/src/components/atoms/Statistics/StatCard.vue b/thanasoft-front/src/components/atoms/Statistics/StatCard.vue new file mode 100644 index 0000000..0d95ca1 --- /dev/null +++ b/thanasoft-front/src/components/atoms/Statistics/StatCard.vue @@ -0,0 +1,133 @@ + + + + + diff --git a/thanasoft-front/src/components/atoms/Webmailing/WebmailingAttachment.vue b/thanasoft-front/src/components/atoms/Webmailing/WebmailingAttachment.vue new file mode 100644 index 0000000..b9a2638 --- /dev/null +++ b/thanasoft-front/src/components/atoms/Webmailing/WebmailingAttachment.vue @@ -0,0 +1,37 @@ + + + diff --git a/thanasoft-front/src/components/atoms/Webmailing/WebmailingBodyInput.vue b/thanasoft-front/src/components/atoms/Webmailing/WebmailingBodyInput.vue new file mode 100644 index 0000000..f8e14f1 --- /dev/null +++ b/thanasoft-front/src/components/atoms/Webmailing/WebmailingBodyInput.vue @@ -0,0 +1,64 @@ + + + diff --git a/thanasoft-front/src/components/atoms/Webmailing/WebmailingSubjectInput.vue b/thanasoft-front/src/components/atoms/Webmailing/WebmailingSubjectInput.vue new file mode 100644 index 0000000..ba2935d --- /dev/null +++ b/thanasoft-front/src/components/atoms/Webmailing/WebmailingSubjectInput.vue @@ -0,0 +1,55 @@ + + + diff --git a/thanasoft-front/src/components/molecules/Avoir/AvoirHeader.vue b/thanasoft-front/src/components/molecules/Avoir/AvoirHeader.vue new file mode 100644 index 0000000..9a51621 --- /dev/null +++ b/thanasoft-front/src/components/molecules/Avoir/AvoirHeader.vue @@ -0,0 +1,36 @@ + + + diff --git a/thanasoft-front/src/components/molecules/Avoir/AvoirLinesTable.vue b/thanasoft-front/src/components/molecules/Avoir/AvoirLinesTable.vue new file mode 100644 index 0000000..b5ec6ce --- /dev/null +++ b/thanasoft-front/src/components/molecules/Avoir/AvoirLinesTable.vue @@ -0,0 +1,47 @@ + + + diff --git a/thanasoft-front/src/components/molecules/Avoir/AvoirListControls.vue b/thanasoft-front/src/components/molecules/Avoir/AvoirListControls.vue new file mode 100644 index 0000000..0f7b3dd --- /dev/null +++ b/thanasoft-front/src/components/molecules/Avoir/AvoirListControls.vue @@ -0,0 +1,95 @@ + + + diff --git a/thanasoft-front/src/components/molecules/Avoir/AvoirSummary.vue b/thanasoft-front/src/components/molecules/Avoir/AvoirSummary.vue new file mode 100644 index 0000000..9b8e057 --- /dev/null +++ b/thanasoft-front/src/components/molecules/Avoir/AvoirSummary.vue @@ -0,0 +1,49 @@ + + + diff --git a/thanasoft-front/src/components/molecules/Avoir/NewAvoirForm.vue b/thanasoft-front/src/components/molecules/Avoir/NewAvoirForm.vue new file mode 100644 index 0000000..a10fb83 --- /dev/null +++ b/thanasoft-front/src/components/molecules/Avoir/NewAvoirForm.vue @@ -0,0 +1,348 @@ + + + + + diff --git a/thanasoft-front/src/components/molecules/Commande/CommandeHeader.vue b/thanasoft-front/src/components/molecules/Commande/CommandeHeader.vue new file mode 100644 index 0000000..60050ba --- /dev/null +++ b/thanasoft-front/src/components/molecules/Commande/CommandeHeader.vue @@ -0,0 +1,30 @@ + + + diff --git a/thanasoft-front/src/components/molecules/Commande/CommandeLinesTable.vue b/thanasoft-front/src/components/molecules/Commande/CommandeLinesTable.vue new file mode 100644 index 0000000..2fdeecd --- /dev/null +++ b/thanasoft-front/src/components/molecules/Commande/CommandeLinesTable.vue @@ -0,0 +1,45 @@ + + + diff --git a/thanasoft-front/src/components/molecules/Commande/CommandeSummary.vue b/thanasoft-front/src/components/molecules/Commande/CommandeSummary.vue new file mode 100644 index 0000000..dff786c --- /dev/null +++ b/thanasoft-front/src/components/molecules/Commande/CommandeSummary.vue @@ -0,0 +1,51 @@ + + + diff --git a/thanasoft-front/src/components/molecules/Commande/NewCommandeForm.vue b/thanasoft-front/src/components/molecules/Commande/NewCommandeForm.vue new file mode 100644 index 0000000..d54fbb0 --- /dev/null +++ b/thanasoft-front/src/components/molecules/Commande/NewCommandeForm.vue @@ -0,0 +1,315 @@ + + + + + diff --git a/thanasoft-front/src/components/molecules/Fournisseur/CommandeListControls.vue b/thanasoft-front/src/components/molecules/Fournisseur/CommandeListControls.vue new file mode 100644 index 0000000..e6f73bc --- /dev/null +++ b/thanasoft-front/src/components/molecules/Fournisseur/CommandeListControls.vue @@ -0,0 +1,104 @@ + + + diff --git a/thanasoft-front/src/components/molecules/InternalMessages/InternalMessageForm.vue b/thanasoft-front/src/components/molecules/InternalMessages/InternalMessageForm.vue new file mode 100644 index 0000000..2517f60 --- /dev/null +++ b/thanasoft-front/src/components/molecules/InternalMessages/InternalMessageForm.vue @@ -0,0 +1,145 @@ + + + + + diff --git a/thanasoft-front/src/components/molecules/InternalMessages/InternalMessageList.vue b/thanasoft-front/src/components/molecules/InternalMessages/InternalMessageList.vue new file mode 100644 index 0000000..1189317 --- /dev/null +++ b/thanasoft-front/src/components/molecules/InternalMessages/InternalMessageList.vue @@ -0,0 +1,168 @@ + + + + + diff --git a/thanasoft-front/src/components/molecules/Statistics/InterventionChart.vue b/thanasoft-front/src/components/molecules/Statistics/InterventionChart.vue new file mode 100644 index 0000000..658dce2 --- /dev/null +++ b/thanasoft-front/src/components/molecules/Statistics/InterventionChart.vue @@ -0,0 +1,135 @@ + + + + + diff --git a/thanasoft-front/src/components/molecules/Statistics/StatisticsOverview.vue b/thanasoft-front/src/components/molecules/Statistics/StatisticsOverview.vue new file mode 100644 index 0000000..f2e9d77 --- /dev/null +++ b/thanasoft-front/src/components/molecules/Statistics/StatisticsOverview.vue @@ -0,0 +1,74 @@ + + + + + diff --git a/thanasoft-front/src/components/molecules/Statistics/ThanatometerPerformance.vue b/thanasoft-front/src/components/molecules/Statistics/ThanatometerPerformance.vue new file mode 100644 index 0000000..e23d005 --- /dev/null +++ b/thanasoft-front/src/components/molecules/Statistics/ThanatometerPerformance.vue @@ -0,0 +1,164 @@ + + + + + diff --git a/thanasoft-front/src/components/molecules/Tables/Avoirs/AvoirTable.vue b/thanasoft-front/src/components/molecules/Tables/Avoirs/AvoirTable.vue new file mode 100644 index 0000000..6aa8896 --- /dev/null +++ b/thanasoft-front/src/components/molecules/Tables/Avoirs/AvoirTable.vue @@ -0,0 +1,264 @@ + + + diff --git a/thanasoft-front/src/components/molecules/Tables/Fournisseurs/CommandeTable.vue b/thanasoft-front/src/components/molecules/Tables/Fournisseurs/CommandeTable.vue new file mode 100644 index 0000000..8b8e48d --- /dev/null +++ b/thanasoft-front/src/components/molecules/Tables/Fournisseurs/CommandeTable.vue @@ -0,0 +1,262 @@ + + + diff --git a/thanasoft-front/src/components/molecules/Webmailing/WebmailingForm.vue b/thanasoft-front/src/components/molecules/Webmailing/WebmailingForm.vue new file mode 100644 index 0000000..95d3751 --- /dev/null +++ b/thanasoft-front/src/components/molecules/Webmailing/WebmailingForm.vue @@ -0,0 +1,149 @@ + + + + + diff --git a/thanasoft-front/src/components/molecules/Webmailing/WebmailingList.vue b/thanasoft-front/src/components/molecules/Webmailing/WebmailingList.vue new file mode 100644 index 0000000..6c62e0b --- /dev/null +++ b/thanasoft-front/src/components/molecules/Webmailing/WebmailingList.vue @@ -0,0 +1,106 @@ + + + + + diff --git a/thanasoft-front/src/components/molecules/client/ClientTabNavigation.vue b/thanasoft-front/src/components/molecules/client/ClientTabNavigation.vue index ef36e2d..9f5c40f 100644 --- a/thanasoft-front/src/components/molecules/client/ClientTabNavigation.vue +++ b/thanasoft-front/src/components/molecules/client/ClientTabNavigation.vue @@ -52,6 +52,13 @@ :badge="childrenCount > 0 ? childrenCount : null" @click="$emit('change-tab', 'children')" /> + @@ -76,6 +83,10 @@ defineProps({ type: Number, default: 0, }, + avoirsCount: { + type: Number, + default: 0, + }, isParent: { type: Boolean, default: false, diff --git a/thanasoft-front/src/components/templates/Avoir/AvoirDetailTemplate.vue b/thanasoft-front/src/components/templates/Avoir/AvoirDetailTemplate.vue new file mode 100644 index 0000000..5c0f915 --- /dev/null +++ b/thanasoft-front/src/components/templates/Avoir/AvoirDetailTemplate.vue @@ -0,0 +1,46 @@ + + + diff --git a/thanasoft-front/src/components/templates/Commande/CommandeDetailTemplate.vue b/thanasoft-front/src/components/templates/Commande/CommandeDetailTemplate.vue new file mode 100644 index 0000000..74a3d9f --- /dev/null +++ b/thanasoft-front/src/components/templates/Commande/CommandeDetailTemplate.vue @@ -0,0 +1,46 @@ + + + diff --git a/thanasoft-front/src/components/templates/InternalMessages/InternalMessageTemplate.vue b/thanasoft-front/src/components/templates/InternalMessages/InternalMessageTemplate.vue new file mode 100644 index 0000000..d36da47 --- /dev/null +++ b/thanasoft-front/src/components/templates/InternalMessages/InternalMessageTemplate.vue @@ -0,0 +1,25 @@ + + + + + diff --git a/thanasoft-front/src/components/templates/Statistics/StatisticsTemplate.vue b/thanasoft-front/src/components/templates/Statistics/StatisticsTemplate.vue new file mode 100644 index 0000000..eec6428 --- /dev/null +++ b/thanasoft-front/src/components/templates/Statistics/StatisticsTemplate.vue @@ -0,0 +1,48 @@ + + + + + diff --git a/thanasoft-front/src/components/templates/Webmailing/WebmailingTemplate.vue b/thanasoft-front/src/components/templates/Webmailing/WebmailingTemplate.vue new file mode 100644 index 0000000..94e8817 --- /dev/null +++ b/thanasoft-front/src/components/templates/Webmailing/WebmailingTemplate.vue @@ -0,0 +1,25 @@ + + + + + diff --git a/thanasoft-front/src/examples/Sidenav/SidenavList.vue b/thanasoft-front/src/examples/Sidenav/SidenavList.vue index c593b5d..74526a9 100644 --- a/thanasoft-front/src/examples/Sidenav/SidenavList.vue +++ b/thanasoft-front/src/examples/Sidenav/SidenavList.vue @@ -125,7 +125,7 @@ export default { text: "Courriel", icon: "Office", miniIcon: "C", - route: { name: "Courriel" }, + route: { name: "Webmailing" }, }, { id: "contacts", @@ -272,6 +272,12 @@ export default { miniIcon: "D", text: "Devis", }, + { + id: "avoirs", + route: { name: "Liste Avoirs" }, + miniIcon: "A", + text: "Avoirs", + }, { id: "factures-ventes", route: { name: "Liste Factures" }, diff --git a/thanasoft-front/src/router/index.js b/thanasoft-front/src/router/index.js index b9e527b..bc7017d 100644 --- a/thanasoft-front/src/router/index.js +++ b/thanasoft-front/src/router/index.js @@ -407,6 +407,24 @@ const routes = [ name: "Courriel", component: () => import("@/views/pages/Courriel.vue"), }, + // Webmailing + { + path: "/webmailing", + name: "Webmailing", + component: () => import("@/views/pages/Webmailing.vue"), + }, + // Messages internes + { + path: "/messages", + name: "Messages internes", + component: () => import("@/views/pages/InternalMessages.vue"), + }, + // Statistiques Thanatopracteurs + { + path: "/statistiques/thanatopracteurs", + name: "Statistiques Thanatopracteurs", + component: () => import("@/views/pages/StatistiquesThanatopracteurs.vue"), + }, // Clients - Statistiques { path: "/clients/statistiques", @@ -440,6 +458,16 @@ const routes = [ name: "Commandes fournisseurs", component: () => import("@/views/pages/Fournisseurs/Commandes.vue"), }, + { + path: "/fournisseurs/commandes/new", + name: "Nouvelle Commande", + component: () => import("@/views/pages/Fournisseurs/NewCommande.vue"), + }, + { + path: "/fournisseurs/commandes/:id", + name: "Commande Details", + component: () => import("@/views/pages/Fournisseurs/CommandeDetail.vue"), + }, { path: "/fournisseurs/factures", name: "Factures fournisseurs", @@ -508,6 +536,22 @@ const routes = [ name: "Invoice Details", component: () => import("@/views/pages/Ventes/InvoiceDetail.vue"), }, + // Avoirs + { + path: "/avoirs", + name: "Liste Avoirs", + component: () => import("@/views/pages/Avoirs/AvoirList.vue"), + }, + { + path: "/avoirs/new", + name: "Nouvel Avoir", + component: () => import("@/views/pages/Avoirs/NewAvoir.vue"), + }, + { + path: "/avoirs/:id", + name: "Avoir Details", + component: () => import("@/views/pages/Avoirs/AvoirDetail.vue"), + }, // Client Groups { path: "/clients/groups", diff --git a/thanasoft-front/src/views/pages/Avoirs/AvoirDetail.vue b/thanasoft-front/src/views/pages/Avoirs/AvoirDetail.vue new file mode 100644 index 0000000..755fa1f --- /dev/null +++ b/thanasoft-front/src/views/pages/Avoirs/AvoirDetail.vue @@ -0,0 +1,12 @@ + + + diff --git a/thanasoft-front/src/views/pages/Avoirs/AvoirList.vue b/thanasoft-front/src/views/pages/Avoirs/AvoirList.vue new file mode 100644 index 0000000..99c3b51 --- /dev/null +++ b/thanasoft-front/src/views/pages/Avoirs/AvoirList.vue @@ -0,0 +1,7 @@ + + + diff --git a/thanasoft-front/src/views/pages/Avoirs/NewAvoir.vue b/thanasoft-front/src/views/pages/Avoirs/NewAvoir.vue new file mode 100644 index 0000000..d3e6bcc --- /dev/null +++ b/thanasoft-front/src/views/pages/Avoirs/NewAvoir.vue @@ -0,0 +1,7 @@ + + + diff --git a/thanasoft-front/src/views/pages/Fournisseurs/CommandeDetail.vue b/thanasoft-front/src/views/pages/Fournisseurs/CommandeDetail.vue new file mode 100644 index 0000000..859f133 --- /dev/null +++ b/thanasoft-front/src/views/pages/Fournisseurs/CommandeDetail.vue @@ -0,0 +1,12 @@ + + + diff --git a/thanasoft-front/src/views/pages/Fournisseurs/Commandes.vue b/thanasoft-front/src/views/pages/Fournisseurs/Commandes.vue index e90e132..6d1cb80 100644 --- a/thanasoft-front/src/views/pages/Fournisseurs/Commandes.vue +++ b/thanasoft-front/src/views/pages/Fournisseurs/Commandes.vue @@ -1,11 +1,8 @@ - + diff --git a/thanasoft-front/src/views/pages/Fournisseurs/NewCommande.vue b/thanasoft-front/src/views/pages/Fournisseurs/NewCommande.vue new file mode 100644 index 0000000..3212cf3 --- /dev/null +++ b/thanasoft-front/src/views/pages/Fournisseurs/NewCommande.vue @@ -0,0 +1,7 @@ + + + diff --git a/thanasoft-front/src/views/pages/InternalMessages.vue b/thanasoft-front/src/views/pages/InternalMessages.vue new file mode 100644 index 0000000..82b9cb4 --- /dev/null +++ b/thanasoft-front/src/views/pages/InternalMessages.vue @@ -0,0 +1,9 @@ + + + diff --git a/thanasoft-front/src/views/pages/StatistiquesThanatopracteurs.vue b/thanasoft-front/src/views/pages/StatistiquesThanatopracteurs.vue new file mode 100644 index 0000000..69fcd1a --- /dev/null +++ b/thanasoft-front/src/views/pages/StatistiquesThanatopracteurs.vue @@ -0,0 +1,9 @@ + + + diff --git a/thanasoft-front/src/views/pages/Webmailing.vue b/thanasoft-front/src/views/pages/Webmailing.vue new file mode 100644 index 0000000..8382825 --- /dev/null +++ b/thanasoft-front/src/views/pages/Webmailing.vue @@ -0,0 +1,9 @@ + + +