Project Details - Distributors Tab Documentation
Overview
The Distributors tab under the Project Details section displays a list of registered distributors for the selected project. It provides an overview of their personal details, contact information, account balances, and associated actions.
Interface Layout
- Register Distributor button – Allows authorized users (Admin, Supervisors, Managers) to create new distributor records.
- Distributors Table – Displays the list of distributors with sortable columns.
- Search Bar – Filters results in real time based on distributor details.
- Pagination Controls – Navigate through multiple pages of distributor records.
Table Columns
- ID – Unique distributor identifier.
- First Name – Distributor's first name.
- Middle Name – Distributor's middle name (if available).
- Last Name – Distributor's last name.
- Phone Number – Contact number of the distributor.
- Balance – Account balance in SLL (only positive values allowed).
- Latest Comment – Most recent comment related to the distributor (no character limit).
- Actions – Icons to view or delete the distributor record.
Functionality
- Register Distributor – Opens a form to register a new distributor. Only Admins, Supervisors, and Managers can perform this action.
- Sorting – All table columns are sortable except for the 'Actions' column.
- Search – Users can search for a distributor by any field in the table.
- View Action – Opens the distributor's details.
- Delete Action – Permanently removes the distributor record.
- Pagination – Adjustable entries per page.
- Real-Time Updates – Data is updated instantly to reflect changes.
Permissions & Access
- Admin, Supervisors, Managers – Can register, view, and delete distributors.
- Other Users – Can view the table but may have restricted access to certain actions.
- All users have view access to the tab.
Data Behavior
- Balance values are always positive.
- Latest Comment field has no character limit.
- Data is updated in real-time.