Commit Graph

2 Commits

Author SHA1 Message Date
robinj0726
eeb3efa996 feat: add region indexing and rules validation for freight templates
- Implemented RegionIndex to manage region codes and their relationships from embedded region.json.
- Added ValidateRulesJSON function to validate freight rules against specified criteria, including region code existence and overlap checks.
- Created unit tests for rules validation covering various scenarios including valid rules, overlap detection, and error handling for invalid inputs.
- Updated freight_template_server to integrate rules validation during freight template creation and updates, ensuring compliance with the new rules structure.
2026-10-10 18:54:45 +08:00
robinj0726
f28df52a12 feat: implement freight template management and scheduled sales promotion 2026-10-02 00:59:46 +08:00