====== #157 — Rename Multiple Fields (Resolved) ====== [[wiki:manara:bugs|← Back to Manara Bugs]] · [[https://mantis.matrixdn.net/view.php?id=157|View issue #157 in MantisBT]] ---- **Reported by:** Khaled Tarabay on 2026-08-01T10:39:34+01:00\\ **Assigned to:** Claude\\ **Resolved by:** Claude on 2026-08-01T11:10:47+01:00\\ **Severity:** major\\ **Priority:** normal\\ **Reproducibility:** always\\ **Category:** General **Description:** rename contacts to connections. rename the office harder dashboard in the dashboard to stock, rename sales orders dashboard to internet sales orders, rename equipment to materials ( in most instances ) **Resolution:** FIXED. WHAT: Renamed several UI labels — Contacts -> Connections; the "Office Hardware" dashboard -> "Stock"; the "Sales Orders" dashboard -> "Internet Sales Orders"; and Equipment -> Materials in most user-facing places. WHERE (display strings only — routes, permissions, DB columns, feature codes and class names are all unchanged): - Sidebar (app/views/partials/sidebar.php): Contacts->Connections, Equipment->Materials, Sales Orders->Internet Sales Orders, Office Hardware->Stock. - Breadcrumbs (app/views/partials/header.php): added a label override so /contacts reads "Connections" and /equipment reads "Materials" while the slugs stay. - Business Overview cards + drill-in titles (app/views/dashboard/index.php, dashboard/hardware.php, dashboard/invoices.php): "Internet Sales Orders" and "Stock". - Connections module (app/views/contacts/*.php + ContactController flash/validation messages): page title, Add/Edit buttons, section headings, empty state. - Materials module (app/views/equipment/*.php): page titles, Add/Edit/Create buttons, section heading, empty state. - Customer dashboard "Materials" card (app/views/customers/show.php); maintenance + task close-out "Materials used" (maintenance/show.php, tasks/complete.php, tasks/show.php); Reports "Materials Deployed / In Stock" (reports/index.php); the "New Connection"/"New Material" landing quick-actions (dashboard/index.php); the inventory restock supplier hint (inventory/form.php). - Customize Forms entity labels (app/classes/Tenant/FormFieldRegistry.php: contact->Connections; EditableList.php: entity "Materials", list "Material Types"). - In-app tour + page guides (app/classes/Core/Tutorial.php) updated to match. WHY / SAFE: this is a label rename only. The URL slugs (/contacts, /equipment, /dashboards/hardware, /dashboards/invoices), the permissions (contacts.manage, equipment.manage), the feature codes and every DB column/class name are deliberately untouched, so nothing breaks and no data migration is needed. NOT CHANGED (deliberately): the platform Console's own feature-catalog labels ("Contacts", "Equipment & Inventory") — those are the operator's view of what they sell, not the tenant app. Say the word if you want those renamed too. VERIFIED: php -l clean on all touched files; grep-confirmed the new labels are present and the old primary nav/page labels are gone. No schema change, no migration. ===== Activity / Notes ===== * **2026-08-01T11:10:40+01:00 - Claude:** FIXED. WHAT: Renamed several UI labels — Contacts -> Connections; the "Office Hardware" dashboard -> "Stock"; the "Sales Orders" dashboard -> "Internet Sales Orders"; and Equipment -> Materials in most user-facing places. WHERE (display strings only — routes, permissions, DB columns, feature codes and class names are all unchanged): - Sidebar (app/views/partials/sidebar.php): Contacts->Connections, Equipment->Materials, Sales Orders->Internet Sales Orders, Office Hardware->Stock. - Breadcrumbs (app/views/partials/header.php): added a label override so /contacts reads "Connections" and /equipment reads "Materials" while the slugs stay. - Business Overview cards + drill-in titles (app/views/dashboard/index.php, dashboard/hardware.php, dashboard/invoices.php): "Internet Sales Orders" and "Stock". - Connections module (app/views/contacts/*.php + ContactController flash/validation messages): page title, Add/Edit buttons, section headings, empty state. - Materials module (app/views/equipment/*.php): page titles, Add/Edit/Create buttons, section heading, empty state. - Customer dashboard "Materials" card (app/views/customers/show.php); maintenance + task close-out "Materials used" (maintenance/show.php, tasks/complete.php, tasks/show.php); Reports "Materials Deployed / In Stock" (reports/index.php); the "New Connection"/"New Material" landing quick-actions (dashboard/index.php); the inventory restock supplier hint (inventory/form.php). - Customize Forms entity labels (app/classes/Tenant/FormFieldRegistry.php: contact->Connections; EditableList.php: entity "Materials", list "Material Types"). - In-app tour + page guides (app/classes/Core/Tutorial.php) updated to match. WHY / SAFE: this is a label rename only. The URL slugs (/contacts, /equipment, /dashboards/hardware, /dashboards/invoices), the permissions (contacts.manage, equipment.manage), the feature codes and every DB column/class name are deliberately untouched, so nothing breaks and no data migration is needed. NOT CHANGED (deliberately): the platform Console's own feature-catalog labels ("Contacts", "Equipment & Inventory") — those are the operator's view of what they sell, not the tenant app. Say the word if you want those renamed too. VERIFIED: php -l clean on all touched files; grep-confirmed the new labels are present and the old primary nav/page labels are gone. No schema change, no migration. ===== Full History ===== ^ Date ^ User ^ Field ^ Change ^ | 2026-08-01T10:39:34+01:00 | Khaled Tarabay | issue-new | New Issue | | 2026-08-01T11:10:32+01:00 | Claude | Assigned To | => Claudine | | 2026-08-01T11:10:37+01:00 | Claude | tag-added | Tag Attached: done-by-claude | | 2026-08-01T11:10:40+01:00 | Claude | note-added | Note Added: 0000115 | | 2026-08-01T11:10:47+01:00 | Claude | Status | new => resolved | ---- Synced automatically from MantisBT issue #157.