Support #33305
openStatic package | StaticPackageDetails API | API Response Issue
100%
BookingEngine\Module\Package\Cax.Package.Service\OfflinePackageHandler.cs
BookingEngine\Wrapper\StaticPackage\Cax.Wrapper.Service\Search\Impl\SearchService.cs
Description
In the Static Package Details screen, I am checking conditions to display the action buttons (Book Now and Enquiry). The logic is: if both isEnquiry and canBook are true, then both buttons should be shown; if only one is true, then only that button should appear; and if isEnquiryOnly is true, then the enquiry form button should be displayed. However, the API response is returning false for all these flags (isEnquiry, canBook, and isEnquiryOnly), so none of the buttons are visible on the screen, and the user is unable to proceed to the next page. The API endpoint, request, and response are attached below as a file for reference.
Files
Updated by Muhammed Jaseem P about 2 months ago
- Tracker changed from Bug to Support
Updated by Nithin George about 2 months ago
- Due date set to 02/16/2026
- Status changed from New to Assigned
- Assignee set to Jesmy P Jose
- Estimated time set to 3:00 h
Updated by Jesmy P Jose about 2 months ago
- Status changed from Assigned to In Progress
Updated by Jesmy P Jose about 2 months ago
- Status changed from In Progress to For Review
- Assignee changed from Jesmy P Jose to Nithin George
- % Done changed from 0 to 100
- Files Changed updated (diff)
Updated by Jesmy P Jose about 2 months ago
Need to assign frontend(php)
StaticPackageDetails -- please check [CustomerFlow] -- [CanBook] is true then display book button.
------------------
changes code:
set [CanBook] -- if [IsEnquiryOnly] is true then return false otherwise true.
set [IsEnquiryOnly] -- if planner null