CRM-20577 Fix activities to record actual html if activity per contact
authoreileen <emcnaughton@wikimedia.org>
Mon, 15 May 2017 06:47:59 +0000 (18:47 +1200)
committereileen <emcnaughton@wikimedia.org>
Fri, 28 Jul 2017 12:27:46 +0000 (00:27 +1200)
commit3280f32744cc8143012aeb9ea5e877701a1dd89e
treef628c62149f2bf35bd8746278af31cb55a36124a
parent2fe8b92040a60602fde21225bc487c329f1163f5
CRM-20577 Fix activities to record actual html if activity per contact

(At least, this covers contributions at this stage).

I have also tried to move towards clearer inputs & outpus on createActivities, with the
weirdness around contactIds being moved up to the forms themselves and
not being passed in. Would prefer not to see form passed in either but, next time.

Unit tests cover emails & activity create (for the first time)
CRM/Contact/Form/Task/PDFLetterCommon.php
CRM/Contribute/Form/Task/PDFLetterCommon.php
CRM/Member/Form/Task/PDFLetterCommon.php
tests/phpunit/CRM/Contribute/Form/Task/PDFLetterCommonTest.php