• Mahmoud Aglan's avatar
    Apply 2023/2024 discount in retroactive entry: server-side enforcement + UI hints · 9612d215
    Mahmoud Aglan authored
    - RetroactiveMembershipService::createRetroactiveSubscription() now applies
      year-specific discounts from RuleEngine (SUBSCRIPTION_YEAR_ADJUSTMENT_{year})
      regardless of form input — server-side enforcement
    - Retroactive wizard JS: uses year-specific rates (410/185 for 2023, 492/222
      for 2025+) and shows discount percentage visually per row
    - total_amount = base - discount (dev fee excluded, added at invoice level)
    - For paid rows: paid_amount includes dev fee since that's what was collected
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    9612d215
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...