개선(improvement) #954
open* Rate Plan improvement _CANCELLATION POLICY
100%
Description
Plan: https://ohmylab-my.sharepoint.com/personal/kim_hs_ohmyhotel_com/Documents/Microsoft%20Teams%20%EC%B1%84%ED%8C%85%20%ED%8C%8C%EC%9D%BC/25.08.07_Rate%20Plan_V2.2.1_eng.pptx?wdOrigin=TEAMS-MAGLEV.undefined_ns.rwc&wdExp=TEAMS-TREATMENT&wdhostclicktime=1755069055034&web=1
🟩 1. Cải tiến UI – Giao diện Hotel Plan Master
- Thêm lựa chọn First Night / Whole Night bằng radio button
- Thêm trường nhập "Days Before Check-in" và "Tỷ lệ charge (%)"
- Dropdown chọn loại phòng: All / Deluxe Double / Family / Standard
- Phân chia UI cho chính sách mặc định và các Option riêng biệt
- Thiết kế theo đúng style guide của Admin hiện tại
Tham khảo: Trang 2–5 trong tài liệu
Mô tả:
Hỗ trợ đăng ký nhiều Option ngoài Default (Option 1, Option 2)
- Cho phép chọn khoảng thời gian và ngày trong tuần riêng biệt
- Hiển thị danh sách chính sách hủy đã lưu, hỗ trợ sửa/xóa
- Kiểm tra điều kiện trước khi lưu (không trùng hoàn toàn với Default)
Tham khảo: Trang 10–25 trong tài liệu
🟩 3. Kiểm tra trùng lặp ngày/thứ khi lưu
Mô tả:
Không cho phép lưu nếu thời gian hoặc thứ trong tuần trùng với Default hoặc giữa các Option
Các trường hợp được phép lưu:
① Khoảng thời gian giống nhau nhưng thứ khác nhau
② Một phần thời gian trùng nhưng thứ khác nhau
Nếu vi phạm điều kiện → hiển thị cảnh báo
Alert: 기본 취소 규정 기간과, 옵션 기간이 완전히 일치하여, 등록 불가능합니다. 기간을 다시 확인하여 주시기 바랍니다.
“Không thể đăng ký vì thời gian của Option trùng hoàn toàn với mặc định.” 🟩 4. Phát triển popup cảnh báo khi xóa chính sách hủy
- Khi nhấn "xóa", hiển thị popup:
삭제 후 복구 불가능 합니다. 등록된 취소 정책을 삭제 하시겠습니까?
- Sau khi xóa cần làm mới trạng thái hiển thị
Mô tả:
- Kiểm tra sự trùng lặp giữa Default và Option về ngày và thứ
- Nếu không hợp lệ, hiển thị cảnh báo và không cho phép lưu
- Thông báo theo style của Admin
Ví dụ cảnh báo: “Vui lòng kiểm tra lại thời gian đã chọn.”
- Sau khi lưu xong, hiển thị popup: “Your save is complete.”
- Nhấn Confirm để đóng hoặc quay lại màn hình trước
Files
Related issues
Updated by ziniy Kang 8 months ago
- Related to 결함(Bug) #567: [VOC VNSCM] Allow multiple cancel policy in 1 promotion added
Updated by ziniy Kang 8 months ago
Updated by ziniy Kang 7 months ago
- Related to 결함(Bug) #561: cancellation policy change added
Updated by ziniy Kang 7 months ago
Note:
2025/07/31 Start=> 3 tuần Dev > 21/8
Admin Home page management : 21/8
B2C new home page : 15/8
Updated by ziniy Kang 6 months ago
- Status changed from 신규(New) to 완료성공(Resolve)
Updated by ziniy Kang 6 months ago
- Status changed from 완료성공(Resolve) to 완료(Done)
Updated by ziniy Kang 6 months ago
- Related to 개선(improvement) #1404: [UI] Implement update plan with multi cancel policy for Extranet added
Updated by ziniy Kang 6 months ago
- Related to 개선(improvement) #1403: [UI] Implement create new plan with multi cancel policy for Extranet added
Updated by ziniy Kang 6 months ago
- Related to deleted (개선(improvement) #1404: [UI] Implement update plan with multi cancel policy for Extranet)
Updated by ziniy Kang 5 months ago
- Related to QA #1987: Missing POPUP for cases 2, 3, and 4. added
Updated by Dan Hoang 4 months ago
- Related to 개선(improvement) #2368: [UI] handle collapse, expand cancellation policy added
Updated by Dan Hoang 4 months ago
- Related to 개선(improvement) #2369: [UI] Trigger filter after select RoomType, PlanType added
Updated by Dan Hoang 4 months ago
- Related to 개선(improvement) #2370: [API] Update create, edit cancellation policy to add more field Title added
Updated by Dan Hoang 4 months ago
- Related to 개선(improvement) #2371: [UI] Update get cancellation policy list to add more Title field added
Updated by Dan Hoang 4 months ago
- Related to 개선(improvement) #2374: [issue] The information registered in the cancellation policy and the information displayed in the hotel plan master are inconsistent. added
Updated by ziniy Kang 2 months ago
- Related to QA #1843: [STAG] New Cancellation - QA Test cases added