Major Live Issue #117245

TBO Hotel | cancellation policy issue

Added by Deepak R over 3 years ago. Updated over 3 years ago.

Status:Fixed in LiveStart date:12/28/2021
Priority:HighDue date:12/28/2021
Assignee:Florance Mary John% Done:

100%

Category:FunctionalitySpent time:8.00 hours
Target version:-
DB Changes:nil Files Changed:B2Bweb/Areas/Search/Controllers/HotelController.cs
B2Bweb/Code/Hotel/HotelBooking.cs
CommonProjects/HotelProjects/TBOHotelProvide/TBOProviderV7BC.cs
Keys & Permissions:nil Initial Planned Hours:3
Areas Affected:TBO Hotel | cancellation policy

Description

TBO Hotel | cancellation policy issue

We are saving the cancellation policy from cancellation policy response.

Please save the cancellation policy from response before the RealTimeAvailibilityResponse.

1. Note: if doing Invoice should consider the date from RealTimeAvailibilityResponse and then if it comes out of cancellation period, then we should block the booking to further.

hotel tripnet.png (1.42 MB) Bejesh R, 12/29/2021 07:49 pm

History

#1 Updated by Nithin George over 3 years ago

  • Due date set to 12/28/2021
  • Status changed from New to Assigned
  • Assignee set to Florance Mary John
  • Start date changed from 12/25/2021 to 12/28/2021

#2 Updated by Florance Mary John over 3 years ago

  • Status changed from Assigned to In Progress

#3 Updated by Florance Mary John over 3 years ago

  • Status changed from In Progress to For Review
  • Assignee changed from Florance Mary John to Nithin George
  • % Done changed from 0 to 100
  • DB Changes set to nil
  • Keys & Permissions set to nil
  • Areas Affected set to TBO Hotel | cancellation policy
  • Files Changed set to B2Bweb/Areas/Search/Controllers/HotelController.cs B2Bweb/Code/Hotel/HotelBooking.cs CommonProjects/HotelProjects/TBOHotelProvide/TBOProviderV7BC.cs

took time to checkout, fix build errors and run the solution. b2b login is not working with the given web config, so checked and corrected the issues and also to discuss about the task, learn and check the codes in mvc project.

as per the discussion with jijo,

displayed the the cancellation policy from 'HotelRealtimeAvailability' response in a pop up after clicking on the 'Book' button.

in case of invoice, now we are considering the 'lastPossibleCancellationDate' from 'HotelRealtimeAvailability' response .
if it comes out of 'lastPossibleCancellationDate', then block the invoice booking and proceeded with normal booking.
otherwise go for the invoice booking.

#4 Updated by Nithin George over 3 years ago

  • Status changed from For Review to Fixed not Tested
  • Assignee changed from Nithin George to Florance Mary John

#5 Updated by Bejesh R over 3 years ago

Verified normal refundable non refundable hotel scenario and the pop up is showing but mentioned scenario not getting on staging environment.
Please find the attachment

#6 Updated by Shibin Suresh over 3 years ago

  • Status changed from Fixed not Tested to Fixed in Live

Also available in: Atom PDF