Project

General

Profile

Actions

Task #138

open

Hotel Weekend Rate Configuration

Added by Dana Basheer 10 days ago. Updated 8 days ago.

Status:
Resolved
Priority:
High
Assignee:
Start date:
02/25/2026
Due date:
02/25/2026 (8 days late)
% Done:

0%

Estimated time:

Description

This module is used to configure weekend room rates for hotels based on room category and room type within a defined weekend date range. The weekend date range is already defined in the existing hotel_weekend_master table. This allows assigning specific rates for each room category and room type combination during those weekend periods. These rates will be used for enquiry pricing, quotation, and booking calculations.

This module uses the existing weekend configuration and links it with hotel, room category, and room type to define weekend-specific pricing.

Table

hotel_weekend_rate

  • id INT (PK) Unique ID
  • weekend_id INT (FK) References hotel_weekend_master.id
  • hotel_id INT (FK) References hotel_master.id
  • room_category_id INT (FK) References room_category_master.id
  • room_type_id INT (FK) References room_type_master.id
  • rate DECIMAL(10,2) Weekend room rate
  • enterprise_id INT (FK) Enterprise reference
  • is_active BOOLEAN Active / inactive
  • created_at DATETIME Created date
  • updated_at DATETIME Updated date

Validations

Mandatory

  • weekend_id required
  • hotel_id required
  • room_category_id required
  • room_type_id required
  • rate required
  • enterprise_id required

Rate

  • Must be numeric
  • Must be ≥ 0
  • Cannot be empty

Duplicate

Prevent duplicate combination:

Same:

  • weekend_id
  • hotel_id
  • room_category_id
  • room_type_id
  • enterprise_id

cannot be added twice.

Enterprise

enterprise_id must match hotel_master.enterprise_id

Edit

Allow edit:

  • rate
  • is_active

Do NOT allow edit:

  • weekend_id
  • hotel_id
  • room_category_id
  • room_type_id
Actions #1

Updated by Hridya Babu 8 days ago

  • Status changed from New to In Progress
Actions #2

Updated by Hridya Babu 8 days ago

  • Due date changed from 02/23/2026 to 02/25/2026
  • Start date changed from 02/23/2026 to 02/25/2026
Actions #3

Updated by Hridya Babu 8 days ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF