Project

General

Profile

Actions

개선(improvement) #2520

closed

Add “Bulk Update” Feature to Rate Plans

Added by ziniy Kang 3 months ago. Updated 3 months ago.

Status:
완료성공(Resolve)
Priority:
보통(Normal)
Assignee:
Start date:
12/03/2025
Due date:
12/05/2025
% Done:

100%

Estimated time:
(Total: 8.00 h)
Part:
Build env.:
Prod

Description


Files

picture844-1.png (127 KB) picture844-1.png ziniy Kang, 12/03/2025 06:58 AM
2520-1.PNG (116 KB) 2520-1.PNG Tracy Tran, 12/04/2025 08:41 AM
RP Bulkupdate button.PNG (156 KB) RP Bulkupdate button.PNG Tracy Tran, 12/05/2025 04:14 AM
Ratepla BulkUpdate alert.png (195 KB) Ratepla BulkUpdate alert.png Tracy Tran, 12/05/2025 04:18 AM
picture158-1.png (48.6 KB) picture158-1.png ziniy Kang, 12/08/2025 01:00 AM
Screenshot 2025-12-08 133740.png (167 KB) Screenshot 2025-12-08 133740.png Tracy Tran, 12/08/2025 06:40 AM
2520 - A.PNG (195 KB) 2520 - A.PNG Tracy Tran, 12/08/2025 06:41 AM

Subtasks 1 (0 open1 closed)

개선(improvement) #2524: [UI] Add “Bulk Update” Feature to Rate Plans완료성공(Resolve)Tan Jang12/03/202512/05/2025

Actions

Related issues

Related to VOC - 결함(Bug) #2808: Bulk Update Rateplan - Cancellation Policy완료성공(Resolve)Tan Jang12/26/202512/26/2025

Actions
Actions #1

Updated by ziniy Kang 3 months ago

  • File deleted (picture131-1.png)
Actions #2

Updated by ziniy Kang 3 months ago

  • File picture309-1.png added
  • Description updated (diff)
Actions #3

Updated by Joseph Vo 3 months ago

  • Assignee changed from Joseph Vo to calvin dev
Actions #4

Updated by ziniy Kang 3 months ago

  • File deleted (picture309-1.png)
Actions #5

Updated by ziniy Kang 3 months ago

Actions #6

Updated by calvin dev 3 months ago

  • Status changed from 신규(New) to 진행(Doing)
Actions #7

Updated by ziniy Kang 3 months ago

■ Thêm “Bulk update”  trong tab “Rate Plans‘
Chức năng Bulk Update cho phép cập nhật hàng loạt các Rate Plans được chọn trong danh sách mà không cần mở từng màn chi tiết.

■ Nội dung popup trong Bulk update
▣  Thêm các hạng mục sau:
Nationality Zone
Open Sales
Plan Name
Non Refundable
Cancellation Policy

Quy tắc áp dụng
      + Chỉ cập nhật những trường được nhập/chọn
      + Trường bỏ trống → giữ nguyên giá trị cũ
      + Toàn bộ trường đều không bắt buộc (optional) 
      + Giao diện sử dụng lại cấu trúc form từ màn hình Vendor Promotion ‘Bulk update.’

Validation / Xử lý lỗi
       + Phải chọn ít nhất 1 Rate Plan → nếu không, nút Bulk Update bị disable
       + Khi Save nhưng không có trường nào được nhập/chọn
 → Hiển thị cảnh báo: “Vui lòng chọn ít nhất một trường để cập nhật.”(đa ngôn ngữ)

Actions #8

Updated by calvin dev 3 months ago

curl --location --request PUT 'http://localhost:8080/admin/vendor/plan/bulk' \
--header 'Content-Type: application/json' \
--header 'userToken: Bearer YOUR_TOKEN_HERE' \
--data '{
"language": "EN",
"country": "KR",
"stationTypeCode": "STN03",
"currency": "KRW",
"condition": {
"vendorRoomPlanSeqs": [305867, 305868],
"salesStopYn": false,
"nonRefundableYn": true,
"roomPlanNameEn": "Bulk Updated Plan Name",
"nationalityZones": [ {
"nationalityZoneCode": "WW001"
}
],
"cancellationPolicies": [ {
"appliedFromDate": "2025-01-01",
"appliedToDate": "2025-12-31",
"cancelPolicyDate": 1,
"firstCancelDeadlineTime": "18:00",
"cancelPenaltyRateOrAmount": "R",
"cancelPenaltyValue": 100,
"cancelPenaltyBasisCode": "A"
}
]
}
}'

Actions #9

Updated by calvin dev 3 months ago

  • Status changed from 진행(Doing) to 완료(Done)
  • Build env. set to Dev
Actions #10

Updated by calvin dev 3 months ago

  • Status changed from 완료(Done) to QA test
  • Assignee changed from calvin dev to Tracy Tran
Actions #11

Updated by Tracy Tran 3 months ago

  • File 2520-1.PNG 2520-1.PNG added
  • Status changed from QA test to 피드백(Feedback)
  • Assignee changed from Tracy Tran to calvin dev

Checked on Dev
Bulk Update 2-3 rateplan at the same time.
1. Able to apply National Code for old rateplans which does not have data in this field before.
2. Able to change rateplan name
3. Able to change status
4. Rateplan name (2nd and 3rd field) get wrong data.

5. Cancellation policy could not change. IT team informed code conflict, need to move to staging for testing.
Dear ziniy Kang, please check

Actions #13

Updated by ziniy Kang 3 months ago

  • Status changed from 피드백(Feedback) to 완료실패(Failed)
Actions #14

Updated by ziniy Kang 3 months ago

  • Status changed from 완료실패(Failed) to QA test
  • Assignee changed from calvin dev to Tracy Tran
Actions #15

Updated by Tracy Tran 3 months ago

Case 4: get correct data ==> OK
Please check the clip as below link for your reference.
https://ohmylab-my.sharepoint.com/:v:/g/personal/tram_tt_ohmyhotel_com/EdPsICvKS4hOp-jMfuXluewBrbWKvIzGiJ8WsttkmUNkLQ?e=wQoiyR
ziniy Kang but select free breakfast for the 1st field does not auto fill for 2nd and 3rd field as rateplan function currently. This is not mentioned in requirement. Please check again.

Case 5: As mentioned in previous comt, need to test on Staging. Currently, bulk update which included changing cancellation policy on Dev will be error as code conflict. Cannot test this case on Dev.

Case 6: ziniy Kang need your verify and confirm if it can be keep or just remove as requirment did not mention.
A. Bulk Update button > different position with your requirement

B. Validation: Alert when no field has been chosen > Alert OK, but there is orange frame and ! signal display. This one does not mention in requirement.

Actions #16

Updated by ziniy Kang 3 months ago

4. Khi chọn “Free Breakfast” ở field 1, thì field 2 và field 3 tự động fill giống như behavior của Rateplan hiện tại.
5. Đã xác nhận.
6. Validation: Bỏ "*"
+ Hiện viền cam + dấu chấm than, > giữ nguyên.
+ Vị trí nút Bulk Update > đặt sau "cancellation"

Actions #17

Updated by calvin dev 3 months ago

  • Assignee changed from Tan Jang to calvin dev
Actions #18

Updated by calvin dev 3 months ago

  • Build env. changed from Dev to Staging
Actions #19

Updated by calvin dev 3 months ago

  • Status changed from 완료(Done) to QA test
  • Assignee changed from calvin dev to Tracy Tran
Actions #20

Updated by Tracy Tran 3 months ago

Tested on Staging
1. Add Bulk Update button in rateplan Function > OK

2. Bulk Update button located after after Cancellation button > There is no Cancellation Button in Staging, but currently Bulk Update button is infront of Open Sales button which correct with Requirement.
3. Belonging fields of Bulk Update:
Nationality Zone
*Open Sales
*Plan Name
*Non Refundable
*Cancellation Policy
> Display ok
*Rule:
Only changing fields will be updated > OK
Keep original for blank fields > OK
All field are optional, remove "
" > OK
Reuse UI from bulk update of promotion > OK
Autofill when select free breakfast and room only (same behavior od current create new rateplan) > OK
Cancellation follow new update > OK
"!" and orange frame are kept > OK
https://ohmylab-my.sharepoint.com/:v:/g/personal/tram_tt_ohmyhotel_com/EfksUeicMKJLn5uPW4Nd4sABHyxcoFL4VDVhgQJKWubdqw?e=xMTHkn
https://ohmylab-my.sharepoint.com/:v:/g/personal/tram_tt_ohmyhotel_com/EXjc6LLZ0M5CqWK-UWi1kC4Bn3ECrEklWESwBRUGqCCUBw?e=iKvLR8

Validation:
Select at least 1 rateplan to enable Bulk update button > OK
Alert when no select/input fields when save > OK

Actions #21

Updated by Tracy Tran 3 months ago

  • Status changed from QA test to 완료(Done)
  • Assignee changed from Tracy Tran to Tan Jang
Actions #22

Updated by calvin dev 3 months ago

  • Assignee changed from Tan Jang to calvin dev
Actions #23

Updated by ziniy Kang 3 months ago

  • Status changed from 완료(Done) to QA test
  • Assignee changed from calvin dev to Tracy Tran
  • Build env. changed from Staging to Prod
Actions #24

Updated by Tracy Tran 3 months ago

  • Status changed from QA test to 완료성공(Resolve)
  • Assignee changed from Tracy Tran to calvin dev

Tested on PROD
1. Add Bulk Update button in rateplan Function > OK
2. Bulk Update button located after after Cancellation button > There is no Cancellation Button in PROD, but currently Bulk Update button is infront of Open Sales button which correct with Requirement.
3. Belonging fields of Bulk Update:
Nationality Zone
*Open Sales
*Plan Name
*Non Refundable
*Cancellation Policy

Display ok

*Rule:
Only changing fields will be updated > OK
Keep original for blank fields > OK
All field are optional, remove "" > OK
Reuse UI from bulk update of promotion > OK
Autofill when select free breakfast and room only (same behavior od current create new rateplan) > OK
Cancellation follow new update > OK
"!" and orange frame are kept > OK
Validation:
Select at least 1 rateplan to enable Bulk update button > OK
Alert when no select/input fields when save > OK
https://ohmylab-my.sharepoint.com/:v:/g/personal/tram_tt_ohmyhotel_com/IQAM3VspikdcSpQIQzfEpM2JAVgG1TYGNIqEZhmT-NuRfZ4?e=yKKSL0

Actions #25

Updated by ziniy Kang 2 months ago

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 50 MB)