Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.0
-
Fix Version/s: 4.3.0
-
Component/s: Accounting Integration, CiviContribute
-
Labels:None
Description
Use case that reveals bug: Create new contribution using offline contribution form, and select Member Dues or any financial type other than Donation. The resulting line_item will always have financial_type 1 (Donations), which is wrong. This occurs because the quick config contribution_amount price_field_value record has that financial_type. This means the financial_item also has the incorrect Income Account.
For quick config backoffice transactions we need to regard price_field_value.financial_type_id as a default and use it only if no financial_type_id is passed in from the form. I think the places we need to check are the backoffice forms which allow the user to select a financial type for the payment:
- Contribute/Form/Contribution.php
- Member/Form/Membership.php and MembershipRenewal.php
- Event/Form/Participant.php
and Bulk Data Entry