fix(members): correct installment panel formula and add live preview
- Installment panel in member show page now uses flat simple interest:
remaining × (rate/100) × (months/12) instead of hardcoded 22% × 30mo
- Live breakdown table updates in real-time as user changes down payment
or months: shows سعر العضوية, المقدم, المبلغ المتبقي, الفائدة,
الإجمالي مع الفائدة, القسط الشهري
- Pass installInterestRate and installMaxMonths from RuleEngine to show view
- Fix pay-membership action to respect RuleEngine max months (not hardcoded 30)
Co-Authored-By:
Claude Sonnet 4.6 <noreply@anthropic.com>
Showing
This diff is collapsed.
Please register or sign in to comment