Commit Graph

15 Commits

Author SHA1 Message Date
naomi
0dec481020 Added route and controller for adding activity to case 2018-04-14 14:40:37 +02:00
naomi
74e98818ba Hid some fields in case form display
also added destination to case creator ajax links
2018-04-12 18:46:27 +02:00
naomi
109c3e14c9 Added controller for creating new cases. 2018-04-12 18:39:07 +02:00
naomi
12ccecdd55 Added links for creating cases, to person panel
Plus some markup ready for css
2018-04-12 18:25:03 +02:00
naomi
b853704700 added case view to person panel. 2018-04-12 17:37:43 +02:00
naomi
6746b986db Fixed conditional structure in Person Panel block. 2018-04-12 15:24:32 +02:00
naomi
61c969d7f4 Created "person panel" block which displays in content area for a person
Also moved contact details view config to zencrm_entities because it is referenced as an entity reference view in a base field on Hat.
2018-04-12 15:11:25 +02:00
naomi
a2373ea7e7 removed error log statement for debugging 2018-04-12 13:56:08 +02:00
naomi
58ac24db8f Added route and controller for editing hat
So that the person id is in the URL.
2018-04-12 13:42:52 +02:00
naomi
2cf897c92b Changed path for adding hat to /zencrm/hat/{person_id}/....
Because the person id needs to be in third place in the URL, so that it filters the entity reference view for the contact details. But the second place cannot be "person" as then it would try to render the person blocks on th page.
2018-04-12 12:06:51 +02:00
naomi
689d208463 Added route and controller for adding new contact details to a person 2018-04-11 14:24:29 +02:00
naomi
3226ce01d3 added destination to hat creator popup
so it returns to person page after creation.
2018-04-11 13:11:54 +02:00
naomi
cf0d928423 Changing routes back after they got changed when regenerating entities 2018-04-11 12:39:39 +02:00
naomi
a48e37ad39 Changed name of Profile entity to Hat
so as not to conflict with Profile or Profile2 module on existing sites
2018-04-11 12:18:27 +02:00
naomi
0e0b31cfcd Added custom block for creating profiles against a person.
It renders a link for each available profile type and they open in a popup which has a route and a controller.
2018-04-10 17:20:31 +02:00