Files
woocommerce-subscriptions/includes/admin/meta-boxes/views/html-related-orders-table.php
Prospress Inc 69c6993fcf 2.3.4
2018-08-14 10:18:40 +02:00

29 lines
887 B
PHP

<?php
/**
* Display the related orders for a subscription or order
*
* @var object $post The primitive post object that is being displayed (as an order or subscription)
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?>
<div class="woocommerce_subscriptions_related_orders">
<table>
<thead>
<tr>
<th><?php esc_html_e( 'Order Number', 'woocommerce-subscriptions' ); ?></th>
<th><?php esc_html_e( 'Relationship', 'woocommerce-subscriptions' ); ?></th>
<th><?php esc_html_e( 'Date', 'woocommerce-subscriptions' ); ?></th>
<th><?php esc_html_e( 'Status', 'woocommerce-subscriptions' ); ?></th>
<th><?php echo esc_html_x( 'Total', 'table heading', 'woocommerce-subscriptions' ); ?></th>
</tr>
</thead>
<tbody>
<?php do_action( 'woocommerce_subscriptions_related_orders_meta_box_rows', $post ); ?>
</tbody>
</table>
</div>