Use current membership value from pricing_configs for divorce fee calculation
Instead of using the stored member.membership_value (which may be outdated),
the divorce module now fetches the current active price from pricing_configs
based on the member's branch and qualification at the time of the request.
- Added DivorceFeeCalculator::getCurrentMembershipValue() method
- Updated boardApprove, show, and create to use current pricing
- Views now display "قيمة العضوية الحالية" with source indicator
- Payment breakdown shows which source was used for the calculation
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
Please register or sign in to comment