Supplier Info
Path: /suppliers/:supplierId
This page displays and allows editing of the contact information for a specific supplier.
Page Layout
Header
- Back Arrow: Navigates back to the main Suppliers list.
- Title: Displays the name of the supplier.
Contacts List
- A list of all contacts associated with the supplier.
- Each list item shows:
- The contact's full name. A star (
★) appears next to the name if they are the primary contact. - Email address (as a clickable link).
- Phone number(s).
Edit ContactandRemove Contactbuttons.
- The contact's full name. A star (
Bottom Action Bar
A fixed bar at the bottom of the page with an Add Contact button.
Page Actions
Clicking Add Contact
- Opens a "Create Contact" dialog with fields for first name, last name, email, phone numbers, and a checkbox to set them as the primary contact.
Clicking Edit Contact
- Opens an "Edit Contact" dialog, pre-filled with the selected contact's information, allowing for changes.
Clicking Remove Contact
- A confirmation dialog appears, asking to confirm the removal.
- Confirming the action deletes the contact from the supplier's record.