Commit graph

188 commits

Author SHA1 Message Date
33fe6cd0fa Merge pull request 'feat/new_features' (#2) from feat/new_features into develop
Reviewed-on: fanilo/backend_vps#2
2025-12-20 06:54:40 +00:00
Fanilo-Nantenaina
e5fad0ccca feat(devis): add reference field and remove prix_unitaire_ht 2025-12-20 09:53:27 +03:00
Fanilo-Nantenaina
bffca51fcd feat(DevisUpdateRequest): add optional reference field to model 2025-12-20 09:46:02 +03:00
Fanilo-Nantenaina
4934101085 feat(api): add optional reference field to DevisRequest 2025-12-20 09:21:31 +03:00
Fanilo-Nantenaina
19ea145bbb refactor(api): replace hardcoded document types with TypeDocumentSQL enum 2025-12-19 13:23:36 +03:00
Fanilo-Nantenaina
da4d43dcf7 refactor(api): simplify devis reading by using TypeDocumentSQL enum 2025-12-19 13:16:56 +03:00
Fanilo-Nantenaina
d26a6a0312 fix: update devis retrieval to use lire_document method 2025-12-19 13:11:26 +03:00
Fanilo-Nantenaina
d8e3fb4b00 refactor(api): remove redundant devis status update logic 2025-12-19 12:39:35 +03:00
Fanilo-Nantenaina
5cb9015ab5 style(api): improve email template readability and clean up code formatting 2025-12-18 10:59:40 +03:00
Fanilo-Nantenaina
282ffe4898 feat(signature): add email templates and tracking for signature workflow 2025-12-18 10:09:48 +03:00
Fanilo-Nantenaina
4c53477efe refactor(api): replace hardcoded document type with enum value 2025-12-18 04:28:26 +03:00
Fanilo-Nantenaina
de6739e3f5 fix: make est_total field optional in FamilleResponse model 2025-12-17 18:21:01 +03:00
Fanilo-Nantenaina
85da047440 Added missing import 2025-12-17 17:28:38 +03:00
Fanilo-Nantenaina
4cdaea2051 refactor(api): update endpoint tags for better consistency 2025-12-17 17:26:13 +03:00
Fanilo-Nantenaina
daf96f71eb feat: add PDF document generation and model listing functionality 2025-12-17 17:25:27 +03:00
Fanilo-Nantenaina
388618603b feat: add article_ref field to MouvementStockResponse 2025-12-17 16:22:43 +03:00
Fanilo-Nantenaina
62e347969c feat(stock): enhance stock movement models with lot tracking and min/max stock 2025-12-17 14:55:13 +03:00
Fanilo-Nantenaina
421f4d24dc refactor(api): simplify client and article search endpoints 2025-12-17 12:35:29 +03:00
Fanilo-Nantenaina
737e340679 refactor(api): wrap client and article responses in success object 2025-12-17 12:33:05 +03:00
Fanilo-Nantenaina
bf4b00ed85 fix(api): ensure date fields are properly formatted before processing 2025-12-17 11:34:45 +03:00
Fanilo-Nantenaina
42b3164f79 refactor(sage_client): remove section comments and redundant docstrings 2025-12-17 11:14:16 +03:00
Fanilo-Nantenaina
0faec99817 refactor(api): introduce TypeDocumentSQL enum and update document reading methods 2025-12-17 09:23:03 +03:00
Fanilo-Nantenaina
5bed8c0cfe refactor(api): add Body import from fastapi for request handling 2025-12-11 12:04:07 +03:00
Fanilo-Nantenaina
e56159268f feat(articles): enhance article endpoints with async support and validation 2025-12-11 12:01:54 +03:00
Fanilo-Nantenaina
963118641b fix: change exclude_none to exclude_unset in article creation/update 2025-12-11 11:49:17 +03:00
Fanilo-Nantenaina
44675f69ac refactor(api): rename DTO classes to Request for clarity 2025-12-10 17:06:39 +03:00
Fanilo-Nantenaina
a133172a0b refactor(api): change router to app for article endpoints 2025-12-10 17:04:59 +03:00
Fanilo-Nantenaina
428093306a feat(articles): add CRUD operations for articles management 2025-12-10 17:01:49 +03:00
Fanilo-Nantenaina
44354ec9bd refactor(api): remove debug endpoints before production release 2025-12-09 15:55:47 +03:00
Fanilo-Nantenaina
1c53135b62 feat(api): enrich ArticleResponse model with additional fields 2025-12-09 15:52:07 +03:00
Fanilo-Nantenaina
8f4c4f97a7 refactor(models): improve client models structure and documentation 2025-12-09 11:20:01 +03:00
Fanilo-Nantenaina
60a9d90955 refactor(models): make client response fields optional 2025-12-09 10:44:01 +03:00
Fanilo-Nantenaina
732ccd2fd4 feat(api): extend client response model with detailed fields 2025-12-09 10:35:20 +03:00
Fanilo-Nantenaina
4434f0716f feat: implement comprehensive user authentication including registration, login, email verification, password reset, and token management. 2025-12-08 18:03:47 +03:00
Fanilo-Nantenaina
e95e550044 style: Reformat method calls and remove unnecessary blank lines for improved code consistency. 2025-12-08 17:57:41 +03:00
Fanilo-Nantenaina
61e787bf36 refactor(api): change query params to path params in document endpoint 2025-12-08 17:48:32 +03:00
Fanilo-Nantenaina
a1794ac90f feat(documents): add generic PDF download endpoint for documents 2025-12-08 17:40:12 +03:00
Fanilo-Nantenaina
14b2758b68 refactor(api): update endpoint tags for better organization 2025-12-08 11:03:30 +03:00
Fanilo-Nantenaina
fafd5222a6 feat(api): add OpenAPI tags metadata and update endpoint tags 2025-12-08 10:58:24 +03:00
Fanilo-Nantenaina
5a6a721f16 feat(workflow): add direct quote-to-invoice and order-to-delivery endpoints 2025-12-08 09:54:39 +03:00
Fanilo-Nantenaina
57d1f313f4 feat(factures): add create and update invoice endpoints 2025-12-08 09:43:34 +03:00
Fanilo-Nantenaina
c15ae79c6a Added create and update for avoir 2025-12-08 09:18:15 +03:00
Fanilo-Nantenaina
204b792015 Integrate create and update for livraison 2025-12-08 08:47:48 +03:00
Fanilo-Nantenaina
35807542a3 Inclure transformation verification on devis retrieving 2025-12-07 13:36:47 +03:00
Fanilo-Nantenaina
f763d70592 Change devis' statut when transformed into commande 2025-12-07 07:16:00 +03:00
Fanilo-Nantenaina
b7a8af5ed5 Better catch for errors 2025-12-07 06:53:21 +03:00
Fanilo-Nantenaina
608ba12c50 Update devis, Create and Update Command 2025-12-06 17:03:12 +03:00
Fanilo-Nantenaina
a5dd81ddfb Update fournisseur 2025-12-06 15:17:15 +03:00
Fanilo-Nantenaina
ba79354386 Create new fournisseur 2025-12-06 15:03:23 +03:00
Fanilo-Nantenaina
709de0cb2c Test, again 2025-12-06 14:10:39 +03:00