• Mahmoud Aglan's avatar
    Use current membership value from pricing_configs for divorce fee calculation · 94e1f426
    Mahmoud Aglan authored
    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: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    94e1f426
create.php 4.74 KB