Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-6187

Add MembershipPayment to hook_civicrm_pre and hook_civicrm_post

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1.4
    • Fix Version/s: 3.1.5
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      This patch will allow module to hook into the the creation of a MembershipPayment using hook_civicrm_pre and hook_civicrm_post. it only works on delete and create. there is no edit operation and I'm not 100% sure the best place to add the view $op, though I'm happy to do it.

      We've been using this to allow us to set up a bunch of amortization tables around memberships and to contributions where we need to know an contribution is actually tied to a membership not just that it's labeled "Member Dues"

        Attachments

          Activity

            People

            • Assignee:
              sushant Sushant Paste
              Reporter:
              jalama Jim Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: