CRM-15829 and CRM-15881 for CiviCRM 4.6
authorMarco Valente <marco@compucorp.co.uk>
Tue, 9 Jun 2015 09:53:45 +0000 (10:53 +0100)
committerMarco Valente <marco@compucorp.co.uk>
Tue, 9 Jun 2015 09:53:45 +0000 (10:53 +0100)
commitbd655ee661460004e8969391c1d433408085a8f6
tree684763028f896b88c12efcb69043ce63e66b00c4
parent358f8960355a7b2ff9d3688940789fe1146648bd
 CRM-15829 and CRM-15881 for CiviCRM 4.6

-----------------------------------

CRM-15829 (Relationships and inherited pending memberships)

Add pending memberships to new members of an organisation that has pending memberships

    CRM/Contact/BAO/Relationship -> line ~1458
    CRM/Contact/BAO/Relationship -> line ~1479
    CRM/Contact/BAO/Relationship -> line ~1483

Ensure these new pending memberships for an organisation's employees are not set to active

    CRM/Member/BAO/Membership -> line 265

-----------------------------------

CRM-15881 (Contact relationships (employee of))

Clear current employee when deleting a relationship that is the employer

    CRM/Contact/BAO/Relationship -> line ~623

Reload the tab ajax views to reflect removed employer display when deleting a relationship that is the employer

    CRM/Contact/Form/Relationship -> line ~399

If disabling an employer relationship (via the popup modal), unset the is_current_employer, please see comments in code

    CRM/Contact/Form/Relationship -> line ~444
CRM/Contact/BAO/Relationship.php
CRM/Contact/Form/Relationship.php