-
-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ waiting on #12594 ] Membership code cleanup #12593
Conversation
(Standard links)
|
* @return array | ||
*/ | ||
protected function getMembershipInfoArray($values, $totalAmount, $taxAmount = NULL) { | ||
// @todo - we really should assign the tax rate for the financial_type_id to the template. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
opps this todo can go ... I did & later I found using it improved the tpl - but thinking to hold this & rebase when the trait pr is merged
@eileenmcnaughton Could you flag as waiting on #12594 before review |
I went to rebase this & hit a couple of issues - I could re-do the refactor but it will need a reviewer so I'm gonna leave it unless someone is interested in reviewing |
Overview
Refactors a function in Membership & Membership renewal to be shared
Before
Code less shared
After
Code more shared
Technical Details
@agilewarealok I wound up digging in this code & did this minor refactor - perhaps you could review.
I think I'll separate out the Sales Tax trait to another PR though
Comments
Anything else you would like the reviewer to note