Project

General

Profile

Actions

Improvement #30585

open

Improvement #29635: Code Review, Upgrade and changes in Prompt of Email Boat

Feature: Implement End-to-End Refundable Flight Filtering and Display

Added by Sachin Suresh 5 months ago. Updated 5 months ago.

Status:
Fixed not Tested
Priority:
Normal
Assignee:
Target version:
-
Start date:
11/28/2025
Due date:
11/28/2025 (about 5 months late)
% Done:

100%

Estimated time:
2:00 h
Spent time:
remarks:
DB Changes:
Keys & Permissions:
Areas Affected:
Files Changed:

Description

This task covers the integration of the "Refundable" search parameter across the entire pipeline, from AI extraction to the final HTML display.

The goal is to allow users to explicitly request refundable or non-refundable flights, ensuring the pipeline filters the results correctly and displays the corresponding price on the quote card.

Actions #1

Updated by Sachin Suresh 5 months ago

  • Status changed from Assigned to In Progress
Actions #2

Updated by Sachin Suresh 5 months ago

  • Status changed from In Progress to Fixed not Tested
  • % Done changed from 0 to 100

The Advanced Refundable Fare Selection logic has been implemented and successfully verified.

Verification Details:

Logic Check: Updated renderTripCard in htmlGenerator.js to intelligently search trip.AdditionalFares based on the standardizedParams.Refundable flag.

Pricing Check: Confirmed that when the prompt contains "refundable flights," the displayed price (KWD XXX.XXX) on the card matches the Total field of one of the IsRefundable: true objects within the trip's AdditionalFares.

Badge Check: Confirmed the correct "Refundable" badge is displayed alongside the selected fare price.

Integration: Confirmed that for non-refundable requests, the system correctly defaults back to showing the overall cheapest price from the AdditionalFares list.

Actions

Also available in: Atom PDF