-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
Milestone
Description
When an entry is created and its associated data is deleted, that information is missing in the entries. We need to include this information and letting the user know about the associated data has been archived but it's right there.
These are the cases that are causing issues right now:
- Deleted activities
- Deleted customers
- Deleted projects
In these cases, we need to return the entry information with a string indicating the data has been archived.
Let's say the activity has been deleted. In this case, we need to show the information as follows:
entry_id : eeee-1234
activity_id: aaaa-1234
activity_name: Development (archived)
...
If the project associated with the entry has been deleted or the customer owning that project has been deleted, the entries should look like:
entry_id : eeee-1234
project_id: pppp-1234
project_name: My project (archived)
...
Notice, how the deleted data only includes the suffix (archived)