Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seating - return formatted price in seat report data #3478

Draft
wants to merge 1 commit into
base: release/T25.imp
Choose a base branch
from

Conversation

lucatume
Copy link
Contributor

@lucatume lucatume commented Jan 9, 2025

Modify the data returned by the site in the seat report to include the formatted (URL-encoded) price and currency information.

@lucatume lucatume self-assigned this Jan 9, 2025
@lucatume lucatume changed the base branch from master to release/T25.imp January 9, 2025 15:58
@@ -500,11 +502,12 @@ public function build_seat_type_map( ?int $post_id = null ): array {

/** @var Tickets_Handler $tickets_handler */
$tickets_handler = tribe( 'tickets.handler' );
$formatted_ticket_price = Value::create($ticket->price)->get_currency();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
Expected 1 spaces after opening parenthesis; 0 found

@@ -500,11 +502,12 @@

/** @var Tickets_Handler $tickets_handler */
$tickets_handler = tribe( 'tickets.handler' );
$formatted_ticket_price = Value::create($ticket->price)->get_currency();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[phpcs] reported by reviewdog 🐶
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
Expected 1 spaces before closing parenthesis; 0 found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants