Actions
Task #89
openFacility Module
Start date:
02/10/2026
Due date:
02/10/2026 (23 days late)
% Done:
0%
Estimated time:
Description
This module allows the admin to manage facilities by adding, editing, viewing, and deleting facility records. Duplicate facility names must not be allowed to maintain data integrity.
***Facility Table
facility_master
- id (PK)-Facility ID
- facility_name-Facility name
- facility_type_id-Facility type
- is_active-Active / Inactive
- added_date-Created date
- updated_date-Updated date
*** Validations (Add Facility)
- Facility Name is mandatory
- Facility Type is mandatory
- Facility Name must be unique
- Validation must be case-insensitive
- Leading & trailing spaces must be trimmed
***Validations (Edit Facility)
- Existing data should auto-fill in form
- Facility Name cannot be empty
- Duplicate name should not be allowed
- If name is unchanged → allow update
- Updated data should reflect in list immediately
*** Validations (Delete Facility)
- Confirmation popup is mandatory
- If facility is mapped → restrict delete
- Otherwise allow delete
- Show success or error message
Actions