Skip to content

[REF] Use form property rather than formValues to pass generated invoice ID on membership forms #19549

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

Merged
merged 1 commit into from
Feb 22, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

[REF] Use form property rather than formValues to pass generated invoice ID on membership forms

Before

invoice ID added to formvalues array and passed around

After

Invoice id retrieved with a consistent getInvoiceID method, making the consistency of the passed array less important

Technical Details

formValues is 'sort of' the array for 'submittedValues' but it has stuff added to it
& passed around. This is part of an attempt to make it clearer where
various values come from to faciliate cleaning up the code and
removing some of the very many arrays in use.

Comments

@civibot
Copy link

civibot bot commented Feb 6, 2021

(Standard links)

@civibot civibot bot added the master label Feb 6, 2021
…ice ID

formValues is 'sort of' the array for 'submittedValues' but it has stuff added to it
& passed around. This is part of an attempt to make it clearer where
various values come from to faciliate cleaning up the code and
removing some of the very many arrays in use.
@eileenmcnaughton
Copy link
Contributor Author

@yashodha are you OK merging this too (I just rebased it after that other one you merged for me)

@yashodha
Copy link
Contributor

@eileenmcnaughton looks good, merging this.

@yashodha yashodha merged commit a667238 into civicrm:master Feb 22, 2021
@eileenmcnaughton eileenmcnaughton deleted the member branch February 22, 2021 19:27
@eileenmcnaughton
Copy link
Contributor Author

thanks @yashodha that unblocks me

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.

2 participants