Skip to content

Commit

Permalink
Show ticket price.
Browse files Browse the repository at this point in the history
  • Loading branch information
renintw committed Oct 28, 2024
1 parent c3b65b2 commit 4dc3efb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public_html/wp-content/plugins/camptix/camptix.php
Original file line number Diff line number Diff line change
Expand Up @@ -8619,10 +8619,10 @@ function log_ticket_purchase_on_user_profile( $attendee ) {
$ticket_id = intval( get_post_meta( $attendee->ID, 'tix_ticket_id', true ) );
$ticket = get_post( $ticket_id );
$ticket_type = $ticket->post_title;
$ticket_price = $this->append_currency( (float) get_post_meta( $attendee->ID, 'tix_ticket_price', true ), false );
$purchase_date = $attendee->post_date;
$edit_token = get_post_meta( $attendee->ID, 'tix_edit_token', true );
$edit_link = $this->get_edit_attendee_link( $attendee->ID, $edit_token );
$total_price = $this->append_currency( (float) get_post_meta( $attendee->ID, 'tix_order_total', true ), false );
$access_token = get_post_meta( $attendee->ID, 'tix_access_token', true );
$access_link = $this->get_access_tickets_link( $access_token );
$ticket_status = $attendee->post_status;
Expand All @@ -8634,7 +8634,7 @@ function log_ticket_purchase_on_user_profile( $attendee ) {
'site_url' => site_url(),
'purchase_date' => $purchase_date,
'ticket_type' => $ticket_type,
'total_price' => $total_price,
'ticket_price' => $ticket_price,
'access_link' => $access_link,
'edit_link' => $edit_link,
'ticket_status' => $ticket_status,
Expand Down

0 comments on commit 4dc3efb

Please sign in to comment.