[REF] Be able to remove clients from the case from manage case view
authorSeamus Lee <seamuslee001@gmail.com>
Fri, 28 Oct 2022 03:31:23 +0000 (14:31 +1100)
committerSeamus Lee <seamuslee001@gmail.com>
Wed, 30 Aug 2023 23:03:52 +0000 (09:03 +1000)
commit3dd046f1f7c79216ea0014598d38800c7f38d868
treef20ad77235d58b9a4598808a4e71b6ddf9029705
parentaa66a8b06ef1edee50264a9fed0bad884f9e4ad4
[REF] Be able to remove clients from the case from manage case view

Modify to allow any other than the currently viewed contact to be removed from a case and create activity when it is removed

Remove restriction on link showing and convert to popup link

Only show x if there is more than 2 clients

Only Add in new activity type if CiviCase is enabled
CRM/Case/Form/DeleteClient.php [new file with mode: 0644]
CRM/Case/xml/Menu/Case.xml
CRM/Upgrade/Incremental/php/FiveSixtySix.php
sql/civicrm_data/civicrm_option_group/activity_type.sqldata.php
sql/civicrm_generated.mysql
templates/CRM/Case/Form/CaseView.tpl
templates/CRM/Case/Form/DeleteClient.tpl [new file with mode: 0644]
tests/phpunit/CRM/Case/Form/CaseViewTest.php
tests/phpunit/CRM/Case/XMLProcessor/ProcessTest.php