afp-backend / docs

Commit History

feat(prices): implement price management with date ranges, including creation, retrieval, and history listing; update schemas and API documentation
15f1cb0

Cyril Dupland commited on

feat(article_import): introduce support for 'COMMUN' brand alias to link articles to all existing brands, update schemas and processing logic accordingly
dae5737

Cyril Dupland commited on

feat: implement brand and category slug normalization, update import mappings, and enhance article import processing
1cc158b

Cyril Dupland commited on

feat(db): add groups table, update schema, and clean up docs
f17a684

Yarin35 commited on

feat(db): link supplier discounts to lines instead of batch
29addc7

Yarin35 commited on

feat: migrate supplier_discount to many-to-many suppliers relationship
5eaee2a

Yarin35 commited on

feat(quotation): implement global temporal discounts with status control
da62a2f

Yarin35 commited on

fix(quotation): correctly calculate discounted price from percentage and original unit price
572b7d5

Yarin35 commited on

Merge branch 'feature/cotation_route_clean' of https://github.com/AutoFranceParts/afp_core into dev
4239d8b

cdupland commited on

fix(cotation_calcul): discount handling
247593f

Yarin35 commited on

feat: enhance article import functionality with reference management
96d8d92

cdupland commited on

feat: implement row level security and supplier status management
8b401c9

cdupland commited on

feat(quotations): optimize quotation creation and enhance batch processing for articles and prices
8bacde2

Yarin35 commited on

fix(calcul): correct use of discounts
b639ddb

Yarin35 commited on

fix(quotations): update test data and doc, along with quotation method
82cb09c

Yarin35 commited on

feat(quotations): route and calcul workflow
c4b0f63

AFP-PROJECT-2024 commited on

Implement price import functionality with support for CSV and Excel formats. Add API endpoint for starting price imports, including validation and error handling. Introduce new schemas, services, and repositories for price data management. Update documentation to reflect new features and usage. Enhance tests to cover the added functionality.
0f8d56c

cdupland commited on

Implement Supabase Storage integration for import files, allowing uploads and downloads of article and price data. Update import processing to utilize the new storage service, including metadata handling and error management. Refactor related services and repositories, and enhance documentation to reflect these changes. Add tests for new functionality and ensure existing tests are updated accordingly.
8cddb04

cdupland commited on

Enhance article import process by adding support for optional logistic fields (`moq`, `origin`) and implementing progress tracking with `total_rows` and `rows_processed`. Update related schemas, repositories, and services to accommodate these changes. Improve documentation to reflect new features and usage. Add tests for new functionality and ensure existing tests cover the updated logic.
860c252

cdupland commited on

Add article import functionality with CSV and Excel support, including API endpoints for starting imports, listing imports, and handling import errors. Implement background processing for imports, validation, and error handling. Update requirements and documentation accordingly.
51e5253

cdupland commited on

Add FastAPI application structure with Prisma integration, including API endpoints, services, repositories, and database setup. Introduce strict layering rules, documentation, and testing strategy.
0ddf928

cdupland commited on