Details
-
Type: Sub-task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.3.0-b1
-
Component/s: Staff Interface
-
Labels:None
Description
Create a new report under Billing > Reports called the Client Data Portability report. This should be named internally under /reports/client_data/client_data.php.
This report should support the new JSON format for reports (CORE-2688).
The report needs to accept a client ID as a filter option (it must be given). If possible an auto-complete feature to search for the client and set the ID in the form dynamically would be a nice addition.
The report must return ALL client-related information within reason, excluding encrypted data, data not personally identifiable, irrelevant (e.g. system-level data), or of other resources (e.g. files).
- Contacts
- Users
- Services
- Service meta data (not encrypted data)
- Invoices
- Invoice line items
- Transactions
- Transactions applied to invoices?
- Logs
- User log in logs
- Contact update logs
- Not email logs (they should have already received the email)
- Payment accounts (not encrypted fields)
- Plugin information (must call the Report.clientData event for all plugins)
- The plugin information should probably be appended to the dataset keyed as "_plu" concatenanted with the plugin ID, and the value would be the data retrievewed by the plugin