civicrm / org.civicrm.civicase

CiviCase Extension
Other
9 stars 35 forks source link

CRM-21829: Show Related Cases For Organizations #101

Open vinuvarshith opened 6 years ago

vinuvarshith commented 6 years ago

Overview

This is a continuation of the PR that was initially added to core here. The code is updated to be a part of CiviCase extension. The requirements for the task are as follows. Within the organisation contact type, we need to add a new tab called "Related Cases" In this tab, we should display all the cases that are related to any member associated (has a relationship - we will only consider first degree relationships) with that organisation (open and closed just like the normal for a contact)

Before

There is no way to view cases of users related to an organization from organization contact view page.

After

Organization view page has a new tab, Related Cases, which displays cases of contacts related to the organization.


vinuvarshith commented 6 years ago

@MiyaNoctem I have addressed all your above comments

vinuvarshith commented 6 years ago

@colemanw Can you pls check this PR? Let me know if there are any issues and I will help fix them. Thanks

colemanw commented 6 years ago

There's no screenshots on this PR but from the description I gather that it is meant to add a new tab to the contact summary screen showing "Related Cases" in addition to "Cases". That seems slightly weird from a UI perspective, kinda particular to one client's workflow perhaps? But it raises the question of why only Organizations get this treatment. Other contact types have relationships too...