Details
-
Type: Bug
-
Status: Open
-
Priority: Trivial
-
Resolution: Unresolved
-
Affects Version/s: 4.7.17
-
Fix Version/s: Unscheduled
-
Component/s: None
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Epic Link:
-
Funding Source:Needs Funding
-
Verified?:No
Description
As a result of testing March 10 by Pradeep (https://github.com/civicrm/civicrm-core/pull/9948#issuecomment-285710742) probably needing reverification:
5. Added contribution using contribution form using priceset having Checkbox, Radio, Text and Select field with Sales Tax enabled. Updated contribution using api(different api params compared to #4) with Sales Tax enabled.
civicrm_api3('Contribution', 'create', array(
'sequential' => 1,
'id' => 1,
'financial_type_id' => "Donation",
'total_amount' => 336.60
));
-
- Result: Contribution Total - Incorrect (amount changed)
- Financial Trxn, Financial Item - Additional Entries for amount change
- Line Item(tax_amount) entries - InCorrect (Have attached image AddContrbutionLineItemAPI.png(before update) and UpdateContributionLineItemAPITotalAmount&FT.png(after update))