Spaces:
Sleeping
Sleeping
Commit History
29 days ago
-
Enhance batch processing and client profile management with tariff preference support
- Introduced `LinePreference` schema to capture tariff preference details in line check responses. - Updated `ReviewRow` and related functions to include preference data in batch processing. - Enhanced Excel export functionality to display preference-related columns. - Modified client profile management to accommodate new preference fields in export columns. - Improved utility functions for rendering origin proofs and handling preference data in line checks.66e3040
30 days ago
-
added new client
c6eb40b
-
init
b3ba377
-
Update batch models and schemas to support optional currency fields
- Changed total metrics in `BatchMetrics` and `ShipmentTotals` to use `float | None` instead of defaulting to 0.0. - Updated `currency` field in `ManualShipmentRequest` and `ProfileDefaults` to be optional. - Adjusted batch processing functions to handle potential None values for currency and totals. - Ensured default profiles are updated with currency information where missing.97a4163
-
Refactor project structure and enhance batch processing capabilities
- Updated `.gitignore` to exclude sensitive client material and system files. - Removed unnecessary comments and documentation from `main.py` and `cbh/__init__.py`. - Revised `README.md` to clarify batch processing routes and export formats. - Added new manual shipment and row addition endpoints in `cbh/api/batch/views.py`. - Enhanced batch model and schema definitions to support additional fields and metrics. - Updated batch processing logic to handle new parameters for destination country and customs procedures. - Introduced new utility functions for file handling and improved error management in batch processing. - Removed deprecated account module files to streamline the codebase.c2ea771 -
Add initial project structure with FastAPI setup, batch processing, and Excel handling
- Created main application entry point in `main.py`. - Added FastAPI app configuration in `cbh/__init__.py`. - Implemented batch processing logic with models, schemas, and utilities in `cbh/api/batch`. - Introduced Excel file handling for batch uploads and exports. - Added `.gitignore` to exclude environment files and temporary directories. - Documented project overview and setup instructions in `README.md`. - Defined dependencies in `requirements.txt` for project setup.a9710f3