Skip to content
Snippets Groups Projects
Unverified Commit c11118b2 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #15740 from eileenmcnaughton/partial

financial#40 Fix for non-allocation of payment to fully reversed checkboxes option
parents 195ca114 32ecba8e
Branches
Tags
No related merge requests found
......@@ -102,7 +102,7 @@ class CRM_Financial_BAO_Payment {
list($ftIds, $taxItems) = CRM_Contribute_BAO_Contribution::getLastFinancialItemIds($params['contribution_id']);
foreach ($lineItems as $key => $value) {
if ($value['qty'] == 0 || $value['allocation'] === (float) 0) {
if ($value['allocation'] === (float) 0) {
continue;
}
$eftParams = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment