Current File : /home/digitaw/www/wp-content/plugins/event-tickets/src/admin-views/commerce/reports/attendees.php
<?php
/**
 * @var string                                       $export_url          The url to generate the export file
 * @var WP_Post                                      $post                The current post object.
 * @var int                                          $post_id             The current post ID.
 * @var string                                       $post_singular_label The post type singular label.
 * @var \TEC\Tickets\Commerce\Reports\Attendees      $report              The orders table output.
 * @var \TEC\Tickets\Commerce\Admin_Tables\Attendees $table               The orders table output.
 * @var array                                        $tickets      		  A list of all tickets.
 * @var array                                        $tickets_data        Data for all tickets.
 * @var string                                       $title               The page title.
 * @var int                                          $total_sold          The total number of tickets sold.
 */

?>

<div class="wrap tribe-report-page">
	<?php if ( ! empty( $title ) ) : ?>
		<h1>
			<?php
			echo esc_html( $title );

			if ( $report->can_export_attendees( $post_id ) ) {
				echo sprintf(
					'<a target="_blank" href="%s" class="export action page-title-action" rel="noopener noreferrer">%s</a>',
					esc_url( $export_url ),
					esc_html__( 'Export', 'event-tickets' )
				);
			}
			?>
		</h1>
	<?php endif; ?>
	<div id="icon-edit" class="icon32 icon32-tickets-orders"><br></div>

	<?php $this->template( 'attendees/summary' ); ?>

	<form id="topics-filter" method="get">
		<input
				type="hidden" name="<?php echo esc_attr( is_admin() ? 'page' : 'tribe[page]' ); ?>"
				value="<?php echo esc_attr( tribe_get_request_var( 'page' ) ); ?>"
		/>
		<input
				type="hidden" name="<?php echo esc_attr( is_admin() ? 'event_id' : 'tribe[post_id]' ); ?>"
				id="post_id"
				value="<?php echo esc_attr( $post_id ); ?>"
		/>
		<input
				type="hidden" name="<?php echo esc_attr( is_admin() ? 'post_type' : 'tribe[post_type]' ); ?>"
				value="<?php echo esc_attr( $post->post_type ); ?>"
		/>
		<?php
		$table->search_box( __( 'Search Orders', 'event-tickets' ), 'tc-attendees' );
		$table->display();
		?>
	</form>
</div>