Skip to content

Apply organization discounts to assigned course enrollments - #187

Merged
AQIB-NAWAB merged 1 commit into
mainfrom
feat/pathment-org-discount-entitlements
Nov 6, 2026
Merged

AQIB-NAWAB merged 1 commit into
mainfrom
feat/pathment-org-discount-entitlements

Conversation

@AQIB-NAWAB

Copy link
Copy Markdown
Collaborator

Summary

  • Apply organization coupon-pool discounts to Pathment assignments, including learners who create their account after assignment.
  • Show the assigned discount and exact remaining payment at checkout; prevent a second generic coupon from stacking.
  • Redeem a full discount when access is granted, redeem partial discounts after manual payment approval, and return an unused reserved seat when an assignment is cancelled or rejected.
  • Let admins increase coupon-pool capacity and show reserved versus redeemed seats.

Seat limits

Course allocation seats remain managed in the organization's Manage courses panel. Coupon seats are a separate limit managed under Coupon pools. This change lets admins raise a pool limit without invalidating seats already issued; capacity cannot be reduced.

Verification

  • Server typecheck
  • Frontend typecheck
  • Focused tests: coupon pools, manual access, and Pathment cancellation (11 passed)

@AQIB-NAWAB
AQIB-NAWAB merged commit bfb328c into main Nov 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant