CRM-17718 give precedence to financial type on recur record.
authoreileenmcnaughton <eileen@fuzion.co.nz>
Wed, 16 Dec 2015 17:55:31 +0000 (17:55 +0000)
committereileen <emcnaughton@wikimedia.org>
Wed, 23 Dec 2015 20:47:54 +0000 (09:47 +1300)
commit7f4ef7315cb3a662367aa583c423b8c4fdf7fbf3
tree900d34beb3ab57b98774340bb0be6d93095c6602
parent3c49d90ca2aaff5967679ca9e89db7b189b59cee
CRM-17718 give precedence to financial type on recur record.

The financial type on the recurring contribution record can be updated over time and it should be preferred over that of the original contribution id
unless there is more than one line item (in which case updates are invalid). A passed in financial type should be preferred over both - with the same proviso as before
CRM/Contribute/BAO/Contribution.php
tests/phpunit/api/v3/ContributionTest.php