Project

General

Profile

Actions

User Story #926

open

EPIC #670: Package Catalogue Management - 2 days front end and 2 days backend

Feature #924: Halal Facilities Management

Backend – Manage Halal Facilities

Added by Islam Mansoori about 1 month ago.

Status:
To Do
Priority:
low
Assignee:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

As a Super Admin, I want the system to store and maintain halal facility information for each package so that accurate halal-related information can be displayed consistently across the platform.


Business Background

The Halal Facilities module stores the halal attributes associated with each travel package. These attributes are maintained centrally and exposed to customer-facing channels to support informed travel decisions. For the MVP, the backend manages a small set of essential boolean attributes and optional descriptive notes.


Business Objective

The backend shall:

  • Store halal facility information.
  • Validate required fields.
  • Retrieve halal information for customer display.
  • Maintain audit history.

Functional Behaviour

The system shall:

  • Retrieve halal facilities by Package ID.
  • Validate package existence.
  • Create or update halal facility information.
  • Return halal information for package details.
  • Maintain audit metadata.

Business Workflow

Open Halal Facilities
        │
        ▼
Validate User Permission
        │
        ▼
Retrieve Existing Configuration
        │
        ▼
Validate Submitted Values
        │
        ▼
Save Halal Facilities
        │
        ▼
Update Audit Information
        │
        ▼
Return Updated Configuration

Business Logic

  • One halal facilities record shall exist per package.
  • Each core facility is stored as a Yes/No value.
  • Additional notes are optional.
  • Draft and editable packages may be updated.
  • Published package updates follow the existing package lifecycle rules.

Database Entity Changes

Package Halal Facilities

Fields:

  • Package ID (Reference)
  • Halal Food Available
  • Prayer Facility Available
  • Nearby Mosque Available
  • Alcohol-Free Environment
  • Additional Notes
  • Created By
  • Created Date
  • Updated By
  • Updated Date

Validation Rules

Validation Rule
Package ID Must exist
Halal Food Mandatory
Prayer Facility Mandatory
Nearby Mosque Mandatory
Alcohol-Free Mandatory
Notes Maximum 1000 characters

Business Rule Matrix

Rule Behaviour
One record per package Mandatory
Package reference Required
Notes Optional
Audit information Mandatory

Permission Matrix

Role Manage Halal Facilities
Super Admin Allowed
Admin Configurable
Supplier Not Allowed
Partner Not Allowed
Customer Read Only (via published package)

Audit Requirements

Automatically record:

  • Created By
  • Created Date
  • Updated By
  • Updated Date
  • Activity Type = Halal Facilities Updated

Analytics Events

Event Trigger
Halal Facilities Saved Successful save
Halal Facilities Retrieved Package details request

Acceptance Criteria

  1. Halal facilities are stored successfully.
  2. Required values are validated.
  3. Customer package details retrieve the latest halal information.
  4. One halal configuration exists per package.
  5. Audit history is maintained.

In Scope

  • Store halal facilities
  • Retrieve halal facilities
  • Validation
  • Audit history
  • Customer data retrieval

Out of Scope

  • Certification management
  • External halal verification
  • Facility ratings
  • Ramadan-specific services
  • Media uploads

Dependencies

  • Package Master
  • Authentication
  • Authorization
  • Customer Package Details
  • Audit Framework

Edge Cases

  • Duplicate save requests.
  • Package deleted before save.
  • Package archived after update.
  • Notes exceed maximum length.
  • Concurrent updates by multiple administrators.

Definition of Done

  • Halal facility data stored correctly.
  • Validation rules enforced.
  • Audit history maintained.
  • Customer retrieval verified.
  • Acceptance criteria met.
  • QA completed.
  • Product Owner approval obtained.

No data to display

Actions

Also available in: Atom PDF