Tokens - contributions - could we show them all?
The tokens available in the contribution tokens is a list of tokens people thought would be handy and wrote in - the list differed between the action schedule & the send letter and in some cases advertised tokens didn't work on one of those places. That reconcilliation is complete with https://github.com/civicrm/civicrm-core/pull/21046 merged.
However, we wind up with a list of available tokens that is 'all the fields on the contribution record except for 9 - which are in the screen shot below. I could make a weak case for excluding 'is_template_contribution' and a stronger case for excluding 'contact_id' but not for the others.
Options
- include all tokens
- include all tokens but hard-code out contact_id since it is likely to be confused with {contact.id} & potentially {membership.id}
- include all tokens but add some form of metadata to Contribution.xml like FALSE and add that to contact_id & is_template_contribution (defaults to TRUE if not set)