-
- Downloads
Reconcile and upgrade tokens for payment instrument, financial type
This switches the last 2 'alias' tokens from Contribute_Tokens to the preferred format, adds tests & upgrade and switches the advertised tokens. I tested & the token removed from the sent letter collection still works Next step is to analyse the remaining differences between the 2 sets of tokens. My suspicion is that we have enough metadata that we use in search kit that we don't need a hard-coded white list of tokens in 2 different places & can just expose 'all the fields' that are not acl or otherwise limited
Showing
- CRM/Contribute/Tokens.php 8 additions, 25 deletionsCRM/Contribute/Tokens.php
- CRM/Core/SelectValues.php 7 additions, 10 deletionsCRM/Core/SelectValues.php
- CRM/Upgrade/Incremental/php/FiveFortyOne.php 6 additions, 0 deletionsCRM/Upgrade/Incremental/php/FiveFortyOne.php
- tests/phpunit/CRM/Contribute/ActionMapping/ByTypeTest.php 32 additions, 2 deletionstests/phpunit/CRM/Contribute/ActionMapping/ByTypeTest.php
Loading
Please register or sign in to comment