| 1 |
<?php defined( 'ABSPATH' ) || exit; ?> |
| 2 |
|
| 3 |
<?php if ($items) : ?> |
| 4 |
<h4><?php esc_html_e('Customer Details', 'fluent-booking'); ?></h4> |
| 5 |
<table class="table fluent_booking_table input_items_table table_bordered"> |
| 6 |
<tbody> |
| 7 |
<?php foreach ($items as $item) : ?> |
| 8 |
<?php if ((isset($item['value']) && $item['value'] !== '' && isset($item['label']))) : ?> |
| 9 |
<tr> |
| 10 |
<th><?php echo wp_kses_post($item['label']); ?></th> |
| 11 |
<td><?php |
| 12 |
if (is_array($item['value'])) { |
| 13 |
echo wp_kses_post(implode(', ', $item['value'])); |
| 14 |
} else { |
| 15 |
echo wp_kses_post($item['value']); |
| 16 |
}; ?> |
| 17 |
</td> |
| 18 |
</tr> |
| 19 |
<?php endif; ?> |
| 20 |
<?php endforeach; ?> |
| 21 |
</tbody> |
| 22 |
</table> |
| 23 |
<?php endif; ?> |
| 24 |
|