You need to implement both the frontend and backend for the following user story. Please, make sure all of the acceptance criteria are met.
As a user, I want to be able to view the content of a policy, search and filter policies by their data.
- When a filter is applied, I want to see the filtered information on the same table.
- When a filter is applied, I want to be able to clear the current filter, this action will display the original information.
- I should be able to see and filter the policy's family members information.
- Show only ACTIVE and PENDING policies.
- Do not display any results if there are no matches.
- The name search should return results matching the name of the customer or any of their family members.
- The family members should be stored on a separate table that is linked to the policy.
- Clearing the search should return the table to its original state.