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

[REF] Update Frequenecy template assignments in UpdateBilling to be c… #21635

Merged

Conversation

seamuslee001
Copy link
Contributor

…onsistent with #21469

Overview

Title says it all

Before

2 different variable names across 2 different recur forms that assign the same thing

After

1 set of variable names across both forms

ping @jaapjansma @mattwire

@civibot
Copy link

civibot bot commented Sep 26, 2021

(Standard links)

@civibot civibot bot added the master label Sep 26, 2021
@eileenmcnaughton
Copy link
Contributor

eileenmcnaughton commented Sep 27, 2021

@seamuslee001 in fact we don't need to - once we add a workflow message template for the tpl like #21611 we will remove those assigns.

In the template the goal is to swap to using real tokens - ie {contribution_recur.installments} but there is a mechanism to provide for the prior values to be assigned during transition

https://github.com/civicrm/civicrm-core/pull/21611/files#diff-17772958e7f00fb5d7b62b483757e8df3eb5edd71bdaa7c579534863c805d390R23-R25

Note that I did have update billing next on my list of templates to tackle adding a workflow template for - it's pending a few things

The specific challenge on addresses is that we ideally want to render {contact.address_billing.street_address} - I have some thoughts

@eileenmcnaughton
Copy link
Contributor

Oh - I guess it's the form template not the message template

@eileenmcnaughton eileenmcnaughton merged commit d182fa5 into civicrm:master Sep 27, 2021
@eileenmcnaughton eileenmcnaughton deleted the ref_update_frequency_variables branch September 27, 2021 02:23
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