Fix fee calculation: handle NULL qualification_id in pricing lookup
Members with qualification_id=NULL (old retroactive entries) were falling
back to the stored membership_value (e.g. 119,800) instead of using the
current pricing (150,000). Now when qualification is NULL, we look up the
minimum price for that branch+type, which gives the correct base value.
Also fixed 26 existing subscription records in live DB: removed dev fee
(35.00) from spouse/child/temp subscriptions and recalculated totals.
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
Please register or sign in to comment