Skip to content

Wrong line_item.label (Donatation for Member Fees) #8

Description

@wintermoor

I made the assumption that there is a minor inaccuracy in the offline recurring contribution extension when creating the due contributions: first, the line item is created, and then the contribution to which this line item belongs. However, at the time the line item is created, the contribution type is not defined, which is why the contribution type with ID = 1 is used. In the next step, the contribution is then created (with the type “membership fee,” correctly with ID 2) and linked to the line item. The label for the line item then remains “Donation,” even if the contribution type "Member Fees" is entered correctly.

This line.label / line.title is used in invoice, which are therefore incorrect.
I don't know how to fix this. I just use SQL:
UPDATE civicrm_line_item SET
label = 'Mitgliedsbeitrag'
WHERE label = 'Spende' AND financial_type_id = '2';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions