From dd6fc4665c9c832582d443dd1da7abdf9b73fdbf Mon Sep 17 00:00:00 2001 From: nyavokevin Date: Tue, 24 Mar 2026 14:19:49 +0300 Subject: [PATCH] Feat: redesing form on new --- .../Repositories/InterventionRepository.php | 5 +- .../Agenda/InterventionMultiStepModal.vue | 749 ++++-- .../Commande/NewCommandePresentation.vue | 20 +- .../InterventionDetailContent.vue | 137 +- .../Invoice/InvoiceDetailPresentation.vue | 85 +- .../Quote/QuoteCreationPresentation.vue | 102 +- .../Quote/QuoteDetailPresentation.vue | 94 +- .../Stock/ProductDetailsPresentation.vue | 1726 ++++--------- .../components/atoms/Product/FieldDisplay.vue | 48 + .../components/atoms/Product/FieldInput.vue | 92 + .../components/atoms/Product/ProductBadge.vue | 56 + .../atoms/Product/ProductStatCard.vue | 63 + .../molecules/Commande/NewCommandeForm.vue | 2077 ++++++++++------ .../Interventions/InterventionForm.vue | 30 +- .../Interventions/interventionsList.vue | 6 +- .../Planning/PlanningCreationTypeSelector.vue | 19 +- .../molecules/Planning/PlanningKanban.vue | 177 +- .../molecules/Planning/PlanningWeekGrid.vue | 241 +- .../molecules/Product/ProductInfoSection.vue | 138 ++ .../Product/ProductMovementsSection.vue | 131 + .../molecules/Product/ProductSidebar.vue | 135 + .../molecules/Product/ProductStockSection.vue | 172 ++ .../Product/ProductSupplierSection.vue | 104 + .../molecules/Stock/NewReceptionForm.vue | 2164 +++++++++++++---- .../components/molecules/form/ContactForm.vue | 263 +- .../templates/Quote/CreateQuoteTemplate.vue | 28 +- thanasoft-front/src/views/pages/Planning.vue | 43 +- 27 files changed, 5959 insertions(+), 2946 deletions(-) create mode 100644 thanasoft-front/src/components/atoms/Product/FieldDisplay.vue create mode 100644 thanasoft-front/src/components/atoms/Product/FieldInput.vue create mode 100644 thanasoft-front/src/components/atoms/Product/ProductBadge.vue create mode 100644 thanasoft-front/src/components/atoms/Product/ProductStatCard.vue create mode 100644 thanasoft-front/src/components/molecules/Product/ProductInfoSection.vue create mode 100644 thanasoft-front/src/components/molecules/Product/ProductMovementsSection.vue create mode 100644 thanasoft-front/src/components/molecules/Product/ProductSidebar.vue create mode 100644 thanasoft-front/src/components/molecules/Product/ProductStockSection.vue create mode 100644 thanasoft-front/src/components/molecules/Product/ProductSupplierSection.vue diff --git a/thanasoft-back/app/Repositories/InterventionRepository.php b/thanasoft-back/app/Repositories/InterventionRepository.php index d153757..64094ff 100644 --- a/thanasoft-back/app/Repositories/InterventionRepository.php +++ b/thanasoft-back/app/Repositories/InterventionRepository.php @@ -82,7 +82,10 @@ class InterventionRepository implements InterventionRepositoryInterface 'practitioners', 'attachments', 'notifications', - 'quote' + 'quote', + 'quote.client', + 'quote.lines', + 'quote.history' ])->findOrFail($id); } diff --git a/thanasoft-front/src/components/Organism/Agenda/InterventionMultiStepModal.vue b/thanasoft-front/src/components/Organism/Agenda/InterventionMultiStepModal.vue index 2d0a4c7..1f5a411 100644 --- a/thanasoft-front/src/components/Organism/Agenda/InterventionMultiStepModal.vue +++ b/thanasoft-front/src/components/Organism/Agenda/InterventionMultiStepModal.vue @@ -7,28 +7,41 @@ aria-labelledby="interventionModalLabel" aria-hidden="true" > -