Clients: search, filter and view trackers
What it is for
The Clients tab lists each account below yours with contact (phone/WhatsApp), number of trackers by status, next expiry, the commission and the price per tracker that applies to them.
Step by step
Every screenshot comes from a demo account with fictitious data. The screenshots show the panel in Portuguese; labels are given in English.
Step 1: Click the "Clients" tab.

Expected result: The clients appear with commission and price.
Step 2: Click the button with the number of clients and the magnifier, type "Beta" and click "Apply".

Expected result: Only the client "Cliente Beta Logística" stays in the list; the button shows "1 of N".
Step 3: Open the search, erase the text and click "Apply".

Expected result: All clients come back.
Step 4: Open the search again (the button with the number).

Expected result: The statuses show up: All, With expired, Expiring, In trial — and the export.
Step 5: Click "With expired" and then "Apply".

Expected result: The list shows only clients with expired trackers (none in the example).
Step 6: Open the search, also click "Expiring" (the situations add up) and then "Apply".

Expected result: Clients with trackers expired OR expiring soon.
Step 7: Open the search, click "All", then "In trial" and then "Apply".

Expected result: Clients with trackers in free trial.
Step 8: Open the search and click "Clear filters".

Expected result: Every filter is removed and the list reloads at once, with no "Apply": all the clients come back.
Step 9: Click the "Trackers" column header to sort the list by it (clicking again reverses the order).

Expected result: The clients go from the one with the fewest trackers to the one with the most.
Step 10: Open the search (the button with the number) and, under "Display as", click "Charts".

Expected result: Charts of the clients by billing type, by commission and by status appear.
Step 11: Open the search again and click "Table".

Expected result: The table is back.
Step 12: On the row, click the three dots (⋯).
Expected result: Opens the list of the row's actions, each with its icon and name.
Step 13: Click "Trackers".
Expected result: The Trackers tab opens filtered by that client (the name appears on a button with ×).
Step 14: Click the button with the client's name (×) to remove the filter.
Expected result: All trackers come back.
How to check and tips
Searching by name or e-mail should leave only the client you're looking for; the "With expired", "Expiring" and "In trial" filters can be ticked together and show whoever is in any of those situations; "Trackers" opens the trackers tab filtered by that client. Clicking a column header sorts the list; "Charts" shows the clients by billing type, commission and status.
