Fix BillingName to be assigned in email receipts IF available
authoreileen <emcnaughton@wikimedia.org>
Fri, 1 Nov 2019 04:28:45 +0000 (17:28 +1300)
committereileen <emcnaughton@wikimedia.org>
Fri, 1 Nov 2019 06:30:47 +0000 (19:30 +1300)
commit49cba3ad843fced81edf83130932ad8c420a01bd
tree22b2ed5954be86b643d81d6c1c636266483de41d
parentf512329a0ea87b3f0cb5b7b0f0cb143c66d5673a
Fix BillingName to be assigned in email receipts IF available

Previously it was assigned at the form layer, now we assign it in the email sending routine, depending on
whether the contribution has address_id & there is a value assigned
CRM/Contribute/BAO/Contribution.php
api/v3/PaymentProcessor.php
tests/phpunit/api/v3/ContributionTest.php