Skip to content
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

Closed

Conversation

eileenmcnaughton
Copy link
Contributor

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

@civibot
Copy link

civibot bot commented Jul 30, 2018

(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.
Copy link
Contributor Author

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

@mattwire
Copy link
Contributor

@eileenmcnaughton Could you flag as waiting on #12594 before review

@eileenmcnaughton eileenmcnaughton changed the title Membership code cleanup [ waiting on #12594 ] Membership code cleanup Aug 3, 2018
@eileenmcnaughton
Copy link
Contributor Author

@mattwire - I've updated per your comments - if I can't get #12594 reviewed moderately soon I'll abandon this as I'm more vested in some of my other PRs

@eileenmcnaughton
Copy link
Contributor Author

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

@eileenmcnaughton eileenmcnaughton deleted the membership_join branch May 2, 2019 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants