feat: implement interactive Barangay polygon map selector in Service Areas

This commit is contained in:
Developer
2026-06-29 13:22:45 +08:00
parent 00cf5fb7ab
commit 2c7c3528e4
9 changed files with 304 additions and 33 deletions

View File

@@ -28,6 +28,8 @@ class UpdateServiceAreaRequest extends FormRequest
],
'status' => ['sometimes', Rule::in([ServiceArea::STATUS_ACTIVE, ServiceArea::STATUS_INACTIVE])],
'description' => ['sometimes', 'nullable', 'string', 'max:1000'],
'barangay_ids' => ['nullable', 'array'],
'barangay_ids.*' => ['integer', 'exists:barangays,id'],
];
}
}