Project

General

Profile

Actions

Feature #28136

open

Bring email and print ticketing option in consolidator.

Added by Theertha Asokan M T about 2 months ago. Updated 2 days ago.

Status:
In Progress
Priority:
Normal
Target version:
-
Start date:
10/14/2025
Due date:
11/24/2025 (Due in 1 day)
% Done:

100%

Estimated time:
32:00 h
Spent time:
remarks:
DB Changes:

Created SP
**
1. GetTransactionId in [farekey]

Keys & Permissions:
Areas Affected:
Files Changed:

Description

Please bring a print & email option for send ticket in consolidator admin TQR.

user story

As a

Consolidator Admin user (OTA)

I want

to have the ability to Print, Send (Email), and View flight tickets directly from the TQR , with a checkbox option to include or exclude the price details.

So that

I can manage ticket delivery and review for my customers directly from the Consolidator Admin portal, without depending on Farekey Admin.

Acceptance Criteria
1. Ticket Action Options

In the TQR of Consolidator Admin, three new action buttons should be available for each ticket:

  • View Ticket
  • Print Ticket
  • Send Ticket

2. “Without Price” Checkbox

A checkbox labeled “Without Price” should be available above or beside the ticket actions.

If checked, the ticket PDF or email will exclude the fare/price details.

If unchecked, the ticket should be generated with fare details.

Default behavior should mirror Farekey Admin TQR.

3. View Ticket

When clicked, it should open the same ticket HTML view or email template as seen by the end user in the Farekey B2C portal.

The layout, branding, and design should be identical to Farekey’s B2C user-facing ticket.

The data displayed (passenger, flight, PNR, timings, etc.) should be same as teh TQR details in consolidator amdin.

4. Print Ticket

When clicked, it should generate and open the PDF version of the ticket in a new tab, allowing the admin to print.

The PDF content and formatting must match the Farekey Admin ticket output.

It should respect the “Without Price” selection.

5. Send Ticket

When clicked, a modal should appear to:

Confirm the recipient email (auto-filled with the user’s registered email if available).

Click Send to email the ticket.

The email template should be exactly the same as the one received by users in Farekey B2C.

Display a "sent successfully" popup message after successfully mailing the ticket.

Acceptance Testing Scenarios

Scenario & Expected Result
Admin clicks “View Ticket” ----------------- ----------------Ticket opens in new tab with Farekey B2C layout
Admin clicks “Print Ticket” (Without Price checked)----------PDF generated without fare details
Admin clicks “Print Ticket” (Without Price unchecked)--------PDF generated with fare details
Admin clicks “Send Ticket”-----------------------------------Email sent with Farekey B2C ticket template
Email sent successfully -------------------------------------Confirmation message: “Ticket sent successfully.”

Actions #2

Updated by Arun S about 2 months ago

  • Estimated time set to 32:00 h
Actions #3

Updated by Resmy P M about 2 months ago

  • Status changed from Approval Pending to New
Actions #4

Updated by Vipin das about 1 month ago

  • Due date set to 10/17/2025
  • Status changed from New to Assigned
  • Assignee set to Muhammed Failu Raheman
  • Start date changed from 10/06/2025 to 10/14/2025
Actions #5

Updated by Muhammed Failu Raheman about 1 month ago

  • Status changed from Assigned to In Progress
Actions #6

Updated by Muhammed Failu Raheman about 1 month ago

  • % Done changed from 0 to 20

Reviewed the task to add print and email functionality for ticket sending in Consolidator Admin TQR, set up the basic solution structure, and studied methods to implement it effectively

Actions #7

Updated by Muhammed Failu Raheman about 1 month ago

  • % Done changed from 20 to 50

explored how HTML buttons, CSS styling, and simple JavaScript work together to show or hide elements on a webpage. I also added the Farekey URL to retrieve the Farekey ticket in their consolidators.

Actions #8

Updated by Muhammed Failu Raheman about 1 month ago

  • % Done changed from 50 to 80

added the function of Admin “View Ticket”, “Print Ticket”, “Send Ticket” using the url of farekey also changed some css for view ticket button

Actions #9

Updated by Muhammed Failu Raheman about 1 month ago

  • % Done changed from 80 to 90
  • DB Changes updated (diff)

Explored how to call a controller method from one project in another using an API. For this,created a Farekey method to retrieve the Farekey transaction ID in the Thathkarah project and also ensured the email is consistently fetched into the email field.

Actions #10

Updated by Jomiya J about 1 month ago

  • Due date changed from 10/17/2025 to 10/20/2025
Actions #11

Updated by Muhammed Failu Raheman about 1 month ago

implemented a feature to fetch the Farekey transaction ID using the OtaReferenceId in the Thathkarah project also ensured proper deserialization of the API response and verified the correct usage of the GetTransactionIdAsync method inside the TicketBuilder class.

Actions #12

Updated by Vipin das about 1 month ago

  • Due date changed from 10/20/2025 to 10/23/2025
Actions #13

Updated by Muhammed Failu Raheman about 1 month ago

created an “Update Farekey” button in the Thathkarah project to retrieve and sync the latest data from Thathkarah to Farekey. I also optimized the ticket-sending code to resolve exceptions and improve its stability also implemented jQuery logic to display the button dynamically

Actions #14

Updated by Muhammed Failu Raheman about 1 month ago

completed the Farekey Retrieve API call from the Thathkarah project and implemented a modal popup to show success or error messages using AJAX without reloading the page.

Actions #15

Updated by Muhammed Failu Raheman about 1 month ago

created a new controller to separate ticket operations for Farekey, allowing admin to retrieve and view tickets also fetched the Farekey ticket retrieve message of farekey via API and displayed it in a modal popup with the updated booking ID and updated the booking ID by prepending the booking tag and converted it to uppercase..

Actions #16

Updated by Vipin das 30 days ago

  • Due date changed from 10/23/2025 to 10/27/2025
Actions #17

Updated by Muhammed Failu Raheman 30 days ago

created a new controller in Farekey to handle requests, updated the stored procedure to support new logic, and encrypted the TransactionId for security also fixed existing bugs and enhanced the TransactionIdResponse by adding additional fields to include more relevant data.

Actions #18

Updated by Muhammed Failu Raheman 27 days ago

  • Status changed from In Progress to For Review
  • Assignee changed from Muhammed Failu Raheman to Vipin das
  • % Done changed from 90 to 100

fetched the transaction ID with the transaction reference and added a new view page for displaying ticket details and also implemented a popup ticket print feature with a print button that opens the Farekey-style ticket in a new tab for printing.

Actions #19

Updated by Muhammed Failu Raheman 26 days ago

  • Status changed from For Review to In Progress
  • Assignee changed from Vipin das to Muhammed Failu Raheman
Actions #20

Updated by Vipin das 26 days ago

  • Due date changed from 10/27/2025 to 10/28/2025
Actions #21

Updated by Muhammed Failu Raheman 26 days ago

  • Status changed from In Progress to For Review
  • Assignee changed from Muhammed Failu Raheman to Vipin das

Fixed the ticket view page to ensure the auto-print function works correctly and also fixed the print option display by default on the view ticket page. Also generated the ticket without fare and with price details.

Actions #22

Updated by Vipin das 3 days ago

  • Due date changed from 10/28/2025 to 11/20/2025
  • Status changed from For Review to Assigned
  • Assignee changed from Vipin das to Muhammed Failu Raheman

Update this Featuree based on Key

Actions #23

Updated by Muhammed Failu Raheman 3 days ago

added a new key in the Farekey Consolidator admin panel to validate certain conditions to return the correct response. Also implemented some optimized code changes to improve overall functionality.

Actions #24

Updated by Muhammed Failu Raheman 2 days ago

  • Status changed from Assigned to In Progress
Actions #25

Updated by Jomiya J 2 days ago

  • Due date changed from 11/20/2025 to 11/24/2025
Actions #26

Updated by Muhammed Failu Raheman 2 days ago

created an “Update Farekey” and "ViewTicket" button and it's Fuctions code to retrieve and sync the latest data from Farekey.Currently ticket shows properly but need to correct the ticket sent in the email and print option, and update the Farekey retrieve message popup.

Actions

Also available in: Atom PDF