feat: add FeeCalculationService with family discounts and batch processing (Closes #42) #83
Reference in New Issue
Block a user
Delete Branch "feature/issue-42-feecalculationservice"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Files Changed
lib/Db/FeeRule.php- Fee rule entity with family rules JSON parsinglib/Db/FeeRuleMapper.php- Mapper with findByYear for rule lookuplib/Db/FeeRecord.php- Fee record entity for per-member-year recordslib/Db/FeeRecordMapper.php- Mapper with findByMemberAndYearlib/Service/FeeCalculationService.php- Core calculation enginelib/Controller/FeeController.php- REST API controllerappinfo/routes.php- New fee routesCloses #42