-
-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REF] Simplify code calculating the number of membership terms
We have 2 possibilities 1) there is a price set in use - the number of line items comes from the calculated line items 2) default priceset in use - it is a submitted value The option to submit is only present in 2 so we know that if it is submitted it should take precedence, otherwise it comes from the line item This simplifies the code to do that clearly
- Loading branch information
1 parent
da28128
commit 8534621
Showing
3 changed files
with
24 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters