| 1 |
<div style="overflow: auto;"> |
| 2 |
<table class="booking-customer-details" style="width: 100%;"> |
| 3 |
<tbody> |
| 4 |
<tr> |
| 5 |
<th>Name:</th> |
| 6 |
<td><?php echo wp_kses_post( $order->get_formatted_billing_full_name() ); ?></td> |
| 7 |
</tr> |
| 8 |
<tr> |
| 9 |
<th>Email:</th> |
| 10 |
<td><a href="mailto:<?php echo esc_html( $order->get_billing_email() ); ?>"><?php echo esc_html( $order->get_billing_email() ); ?></a></td> |
| 11 |
</tr> |
| 12 |
<tr> |
| 13 |
<th>Address:</th> |
| 14 |
<td><?php echo wp_kses_post( $order->get_formatted_billing_address() ); ?></td> |
| 15 |
</tr> |
| 16 |
<?php if ( ! empty( $order->get_billing_phone() ) ) : ?> |
| 17 |
<tr> |
| 18 |
<th>Phone:</th> |
| 19 |
<td><?php echo esc_html( $order->get_billing_phone() ); ?></td> |
| 20 |
</tr> |
| 21 |
<?php endif; ?> |
| 22 |
<tr class="view"> |
| 23 |
<th> </th> |
| 24 |
<td><a class="button button-small" target="_blank" href="<?php echo esc_html( $order->get_edit_order_url() ); ?>">View Order</a></td> |
| 25 |
</tr> |
| 26 |
</tbody> |
| 27 |
</table> |
| 28 |
</div> |
| 29 |
|