support more contribution fields on contribution create actions
The "create contribution" actions are missing some fields that are exposed via the API, so I added them.
Note that during QA I found a bug in Civi core - the Contribution.create
field doesn't try to clean the non_deductible_amount
field. I'm not really sure why the call to CRM_Utils_Money::format()
takes place on the financial fields, but since I deal with US-based organizations, I'm sure there's something I'm not accounting for.
Anyway, I'll submit a patch to core, but I doubt many people are using "Non-deductible amount" in Action Provider.