Skip to content

Conversation

@alex001x
Copy link
Contributor

@alex001x alex001x commented Nov 7, 2025

Feature: Editable Maitrise Types linked to Projects
Adds an editable list of “Maitrise Types” and allows multiple Maitrise entries per project [Type + Bureau Name + Email]. Admins can add, edit, and delete types via a modal. The project selector is now searchable (type-to-filter).
New table fac_MaitriseType with default seeds
New table fac_ProjectMaitrise to store per‑project Maitrise rows
New model classes/MaitriseType.class.php (GetAll, Insert, Delete, Update)

maitrise_prj_002 maitrise_prj_001

project_mgr.php:
Maitrise section with add/remove rows and persistence on Create/Update
Admin modal to manage types (add/edit/delete)
“More” option in the type dropdown opens the modal and resets the selection
Project dropdown upgraded to a searchable combobox
CSS
Modal spacing for #maitrisetypesmodal
Combobox toggle aligned and sized to match the input

i18n

“Maitrise”, “Maitrise Entries”, “Manage Maitrise Types”, “Type Name”, “Bureau Name”, “Email”, “Remove”, “Add Maitrise”, “Maitrise Types”, “Add New Maitrise Type”, “Add”, “Save”, “Delete”, “More”, “Changes save immediately when you click Save/Delete.”

- Add SQL tables fac_MaitriseType (seeded) and fac_ProjectMaitrise
- New class classes/MaitriseType.class.php (GetAll/Insert/Delete/Update)
- Update project_mgr.php: multi-line Maitrise entries + modal type management
- Add 'More' option in type selects to open modal
- CSS spacing for types modal in css/inventory.php

Implements: feature/project-desk-link (Project desk link: Maitrise types)
…ts/common.js and enable #projectid .combobox()\n- Align combobox toggle with input and match height\n- Add 'More' option in Maitrise Type selects to open modal\n- Add spacing styles for Maitrise Types modal
- Save NULL when email is not provided
- Relax server-side check to persist other fields
- Update schema: BureauEmail DEFAULT NULL in fac_ProjectMaitrise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant