-
- Downloads
dev/core#1983 Fix to tax calculation on multi-line-item
This is similar to https://github.com/civicrm/civicrm-core/pull/18284 - it differs in that the totals are calculated by iterating through the line item array afterwards, rather than expecting the 'getLine' function to calculate totals. Some obvious follow ups suggest themselves but I will look against master. This is difficult to test (Karin gave it a really good shot) because of the weird way it's calculated in Main and thenn used in Confirm. Cleanup should resolve the testability issue too
Showing
- CRM/Price/BAO/LineItem.php 2 additions, 1 deletionCRM/Price/BAO/LineItem.php
- CRM/Price/BAO/PriceSet.php 4 additions, 2 deletionsCRM/Price/BAO/PriceSet.php
- tests/phpunit/CRM/Event/BAO/ChangeFeeSelectionTest.php 1 addition, 1 deletiontests/phpunit/CRM/Event/BAO/ChangeFeeSelectionTest.php
- tests/phpunit/CRM/Member/Form/MembershipTest.php 1 addition, 0 deletionstests/phpunit/CRM/Member/Form/MembershipTest.php
Loading
Please register or sign in to comment