SEC-05B
✓ Fully Implemented
Mosque Profile Management, Contact Info, State/District & Location (/mosque-admin/profile)
Step-by-step instructions for updating mosque profile details, address, state and district selection, official prayer zone, map coordinates, and contact information.
Step-by-Step Instructions
1. Opening the Mosque Profile Screen
- Sign in and navigate to
/{lang}/mosque-admin/profile(or click Mosque Profile in the mosque workspace sidebar). - If your account manages multiple mosques, ensure the desired mosque tenant is active in
/mosque-admin.
2. Updating Mosque Details, State/District & Location
- Update the Mosque Name, Mosque Type (
Masjid,Surau, orSurau Jumaat), and optional Reference Number. - Select the State and District. Selecting a State and District automatically filters district options and suggests the matching Official JAKIM Prayer Zone.
- Update the street Address and 5-digit Postcode.
- Enter accurate decimal Latitude and Longitude coordinates. These coordinates render the embedded OpenStreetMap view on the microsite Contact tab (
/masjid/{slug}/contact). - Enter the official Telephone number and Email address, then click Save.
Verified Screenshots & UI Reference
Input Fields & Options Reference
| Field | Format / Constraint | Public Microsite Impact |
|---|---|---|
state_id & district_id | Valid State & District IDs | Controls public directory filtering and MAIN state reporting jurisdiction. |
prayer_zone_id | Verified JAKIM zone | Determines the daily prayer schedule displayed on the mosque microsite. |
latitude, longitude | Decimal (-90..90, -180..180) | Renders the interactive OpenStreetMap embed on the mosque microsite. |
telephone, email | Max 30 / Max 254 chars | Displayed in the mosque contact section and footer. |
Expected Results
The mosque record in `mosques` is updated, the dashboard profile completion meter updates, and changes appear immediately on `/masjid/{slug}`.
Important Notes & Data Boundaries: All profile updates are logged in `audit_logs` under `mosque.profile.updated`.
Common Errors & Troubleshooting
If you see "Selected district does not belong to state", re-select the State first and then choose a District belonging to that State.