• Mahmoud Aglan's avatar
    fix(installments): correct interest formula to flat simple interest prorated by duration · 8b7ccbd6
    Mahmoud Aglan authored
    All calculation sites now use: interest = remaining × (rate/100) × (months/12)
    instead of diminishing-balance amortization.
    
    Changes across all 6 sites:
    - InstallmentCalculator: flat interest, equal monthly instalments
    - PricingEngine: same formula
    - RetroactiveMembershipService: same formula
    - retroactive-wizard JS: updated preview + shows المبلغ المتبقي in summary
    - Members/show.php: preview panel now includes months factor (was missing)
    - Installments/create.php: added live المبلغ المتبقي preview panel
    Co-Authored-By: 's avatarClaude Sonnet 4.6 <noreply@anthropic.com>
    8b7ccbd6
Name
Last commit
Last update
..
Controllers Loading commit data...
Models Loading commit data...
Services Loading commit data...
Views Loading commit data...
ApiRoutes.php Loading commit data...
Routes.php Loading commit data...
bootstrap.php Loading commit data...