Skip to content

FMCS Location+Parent Scoping: Fixed FD-53555 - Adds company-scoped dropdown for parent location in GUI#19185

Open
snipe wants to merge 1 commit into
developfrom
dependent-dropdown-with-fmcs-scoping-for-location-parent
Open

FMCS Location+Parent Scoping: Fixed FD-53555 - Adds company-scoped dropdown for parent location in GUI#19185
snipe wants to merge 1 commit into
developfrom
dependent-dropdown-with-fmcs-scoping-for-location-parent

Conversation

@snipe

@snipe snipe commented Jun 13, 2026

Copy link
Copy Markdown
Member

With FMCS enabled, this clears and filters the location parent option if it's switched.

  1. API selectlist — now filters by companyId when FMCS is enabled, so the dropdown only shows same-company locations
  2. Blade form — passes $item->company_id to the parent select, so on the edit form it's pre-filtered to the location's company from page load
  3. JS — when the user changes the company select, clears the parent location value and updates the jQuery data store so the next search uses the new company filter
Screen.Recording.2026-06-13.at.6.39.11.PM.mov

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

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.

2 participants