A CiviCRM extension to save and display membership terms.
Below is description about how this extension works: The main file is membershipterms.php which contains several CiviCRM hooks implementation:
- To create membership terms records when membership renew event triggered. I am create function membershipterms_civicrm_post which is implementation of hook_civicrm_post hook.
- To display membership terms record I am creating function membershipterms_civicrm_tabset which implement hook_civicrm_tabset hooks.
- I am creating helper functions to process membership start and end date to membership terms. I put this functions to a file in helper/functions.php