Tribe__Tickets_Plus__Commerce__Attendance_Totals::print_totals()

Prints an HTML (unordered) list of attendance totals.


Source

File: src/Tribe/Commerce/Attendance_Totals.php

	public function print_totals() {
		$args = [
			'total_sold_label'        => _x( 'Total Tickets:', 'attendee summary', 'event-tickets' ),
			'total_complete_label'    => _x( 'Complete:', 'attendee summary', 'event-tickets' ),
			'total_cancelled_label'   => _x( 'Cancelled:', 'attendee summary', 'event-tickets' ),
			'total_sold'              => $this->get_total_sold(),
			'total_complete'          => $this->get_total_complete(),
			'total_cancelled'         => $this->get_total_cancelled(),
			'total_sold_tooltip'      => $this->get_total_sold_tooltip(),
			'total_completed_tooltip' => $this->get_total_completed_tooltip(),
			'total_cancelled_tooltip' => $this->get_total_cancelled_tooltip(),
		];


		tribe( 'tickets.admin.views' )->template( 'attendees-totals-list', $args, true );
	}