@php $hasErrors = $errors->any(); $mprProjects = \App\Models\Settings\ProjectSetting::active()->with(['locations' => function($q){ $q->where('is_active', true)->orderBy('name'); }])->orderBy('name')->get(); @endphp {{-- Trigger button --}} {{-- ── Modal overlay ── --}}