Skip to content

Commit

Permalink
Merge pull request #15740 from eileenmcnaughton/partial
Browse files Browse the repository at this point in the history
dev/financial#40 Fix for non-allocation of payment to fully reversed checkboxes option
  • Loading branch information
seamuslee001 authored Nov 6, 2019
2 parents 195ca11 + 32ecba8 commit c11118b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Financial/BAO/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public static function create($params) {
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 = [
Expand Down

0 comments on commit c11118b

Please sign in to comment.