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

CRM-20146 dont hardcode check_number toggle in .tpl #9865

Merged
merged 2 commits into from
Mar 8, 2017

Conversation

lcdservices
Copy link
Contributor

@lcdservices lcdservices commented Feb 21, 2017

Copy link
Contributor

@JoeMurray JoeMurray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very useful code quality improvement.

@JoeMurray JoeMurray changed the title CRM-20146 dont hardcode check_number toggle CRM-20146 dont hardcode check_number toggle in .tpl Feb 21, 2017
@eileenmcnaughton
Copy link
Contributor

test this please

@eileenmcnaughton
Copy link
Contributor

Yeah - it is better - although that whole chunk of code looks like it is legacy - I'd be happy to merge it if someone confirms it works

@yashodha
Copy link
Contributor

yashodha commented Mar 7, 2017

@lcdservices I tested this and this fails for on change of "Payment Method" (changed the check_number value)

You might want to remove hard-coded value here as well
https://github.com/civicrm/civicrm-core/blob/master/CRM/Contribute/Form/Contribution.php#L655

@eileenmcnaughton
Copy link
Contributor

@yashodha looks like it's ready for you to recheck & hopefully merge

@yashodha
Copy link
Contributor

yashodha commented Mar 8, 2017

@eileenmcnaughton tested works fine

@yashodha yashodha merged commit 04ea00d into civicrm:master Mar 8, 2017
monishdeb pushed a commit to monishdeb/civicrm-core that referenced this pull request May 2, 2017
CRM-20146 dont hardcode check_number toggle in .tpl
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.

5 participants