chrisjrn / registrasion

A conference registration app, built on top of the Symposion conference management system
Apache License 2.0
18 stars 14 forks source link

User's credit notes should be applied automagically to new invoices #84

Closed chrisjrn closed 8 years ago

chrisjrn commented 8 years ago

When a user has credit notes, they should all be applied automatically to new invoices as they are created.

chrisjrn commented 8 years ago

Notes:

  1. If a user has multiple invoices pending (e.g. because a manual invoice was created), then this feature does not apply.
  2. If a user has multiple credit notes, apply as many of them as is necessary to pay off the invoice
  3. Once an invoice has zero remaining balance, stop applying further credit notes