afp-backend / prisma

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: implement brand and category slug normalization, update import mappings, and enhance article import processing
1cc158b

Cyril Dupland commited on

fix: move status column from articles to article_references table
d1b6e05

Yarin35 commited on

feat: add article status column and category brand_id fk migrations
c8dd03c

Yarin35 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

feat(supplier_discount): add original_unit_price column to supplier_discount_lines
1506f4e

Yarin35 commited on

feat(supplier_discount): add label column to supplier_discount model and migration
39a237d

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

refactor(cotation_lines): remove fixed_price field from schema
d105983

cdupland 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): add endpoint to update quotation line with fixed price and validation status
ed7ccec

Yarin35 commited on

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

Yarin35 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

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

Add initial project setup with environment configuration, dependencies, and database schema
2f1dd95

cdupland commited on