Details
Description
New case can be added only from the context of selected contact record.
Following UI elements need to be implemented:
- Screen: "List cases" The list of cases associated with given contact
o access through dojo tab in contact record screen
o presents the link to new case adding screen
o presents the list of cases attached to given contact record
+ presents attributes: case status, casetag1, subject, start date, end date
+ sortable by all attributes
+ cases's subject links to "Show case" screen
+ "edit" link next to each case
+ "delete" link next to each case (see actions!), warning before removing
+ throws fatal error when contact_id not provided
- Screen: "Show case" Presents details of given case
o can come back to "List cases" screen
o presents the list of activities contained in given case
+ for each activity, presents attributes: activitytag1, subject, date added
+ sortable by all attributes
+ "edit" link next to each activity
+ "detach" link next to each activity
o presents the link to new activity adding screen (redirects to activities module, with case_id parameter)
- Screen: Add new case/Edit case Case adding/editing screen
o presents fields for adding/editing all the case's attributes
o can come back to "Show case" screen
o when editing, all the fields contain proper values
- Search screen addition (dojo): Case search section available in advanced search
o search by:
+ case subject (input)
+ case start date ranges (date selector for start range, date selector for end range)
+ casetag1 (select)
+ casetag2 (select)
+ casetag3 (select)
+ status (select)
- Screen: Confirm deleting case Case removal confirmation screen
o presents request for confirmation of deleting activity record