feat: Add Geofence Leaflet drawing tool for DOPs and Dumpsites

This commit is contained in:
Developer
2026-06-30 13:31:36 +08:00
parent 54de35b03d
commit 92f8ee95fc
12 changed files with 214 additions and 83 deletions

View File

@@ -26,6 +26,7 @@ class UpdateDropOffPointRequest extends FormRequest
'barangay_id' => ['sometimes', 'nullable', 'integer', 'exists:barangays,id'],
'lat' => ['sometimes', 'required_with:lng', 'numeric', 'between:-90,90'],
'lng' => ['sometimes', 'required_with:lat', 'numeric', 'between:-180,180'],
'geofence_wkt' => ['sometimes', 'nullable', 'string'],
'address_line' => ['sometimes', 'required', 'string', 'max:255'],
'capacity_kg' => ['sometimes', 'nullable', 'integer', 'min:0'],
'operating_hours' => ['sometimes', 'nullable', 'array'],