Commits
Marek Vsechovsky committed 977fa435469
Session 149, Step 2: Fix affiliate reward calc, move fee settings to appsettings, fix InvoiceAffiliate and InvoiceAmount, add earning calculator - AIM-2820 Fix affiliate reward calculation to use tax-exclusive originalPrice - AIM-2821 Move payment processor fee settings from DB to appsettings.json - AIM-2822 Fix InvoiceAffiliate column — populate it when affiliate reward is recorded - AIM-2823 Fix InvoiceAmount to store tax-inclusive total actually paid - AIM-2824 Add earning calculator to /affiliate Discount codes tab Outcome: Implemented all 5 issues: fixed affiliate reward calculation to use tax-exclusive subtotal, moved processor fee settings from DB to appsettings.json Paddle section, populated InvoiceAffiliate column and recalculated InvoiceNetTotal, verified InvoiceAmount stores tax-inclusive total, and added interactive earning calculator to /affiliate Discount codes tab.