[REF] un-extract createProportionalFinancialEntities
authoreileen <emcnaughton@wikimedia.org>
Fri, 5 Jul 2019 20:56:19 +0000 (08:56 +1200)
committereileen <emcnaughton@wikimedia.org>
Fri, 5 Jul 2019 20:56:19 +0000 (08:56 +1200)
commit4e52c6dfdf0c53ed02944921b6984745411f6a6b
tree87163919aeb1fafa4ddf347c76086baa987ac9e2
parentf8e09beda27ede84319b8f47fd3f94d0a9b6762d
[REF] un-extract createProportionalFinancialEntities

This is one of those places where, unituitively, I think undoing an extraction makes sense.

The code for allocating monies to financial items is shared with the change payment instrument functionality
but fundamentally these are different processes and sharing the code is making it less rather than more readable.

My goal is to pull back all the code that handles processing financials off a payment back into Payment.create
and to clean it up from there
CRM/Financial/BAO/Payment.php