Clean up code to determine line items for batch entry
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 6 Jul 2021 01:26:33 +0000 (13:26 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 6 Jul 2021 18:56:43 +0000 (06:56 +1200)
commit7727463693fcbf6eb2e35ed2df0327b42b6cb54f
tree58d7ae5d498f5b301210ec2f6bcaffe4f763cc59
parent724e5be3ead4ee0bb33dc707f0d799e3cdcfdf4b
Clean up code to determine line items for batch entry

This removes a chunk of weird code & further consolidates on the internal BAO_Order helper.

Note the test cover is in CRM_Batch_Form_EntryTest, which has
validateFinancials enabled
CRM/Batch/Form/Entry.php
CRM/Financial/BAO/Order.php