Skip to content

Allow linking Points to the reasons they were granted #16

Description

@davidknoll

Points (especially with CiviRules) could be created as a result of some other entity, eg a contact's participation in an Activity, Event, Contribution or Membership. The database table for CiviPoints contains entity_table and entity_id columns anticipating this, that are not currently used. This enhancement is to better link points to the reasons they were granted.

Two big parts to this:

  • In contacts' points tabs, where a points grant is linked to an entity, display a link to view that entity.
    • Eg. open the event if the points are for participating in an event.
    • And even, show the points linked to an event when looking at the event itself?
  • Fill those fields in the points table where appropriate.
    • Eg. in the CiviRules action.
    • Or when doing something with an event or participant, have a button to grant points for it.
    • Or when Actions > Grant Points is clicked, allow selection of the entity to link the points to.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions