PluginProbe
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution / 2.5.0
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution v2.5.0
2.5.0 2.4.0 2.3.0 2.2.5 2.2.0 2.1.2 2.1.1 trunk 1.10.0 1.10.01 1.10.02 1.5.0 1.5.01 1.5.02 1.5.1 1.5.10 1.5.20 1.5.21 1.5.22 1.5.23 1.5.24 1.5.25 1.6.0 1.7.0 1.7.1 All 34 releases
← All changes | app/Views/public/receipt/input-fields.php +13 -7 1.5.02 → 2.5.0 View file →
@@ -1,19 +1,25 @@
1 -<?php defined( 'ABSPATH' ) || exit; ?>
1 +<?php
2 +defined( 'ABSPATH' ) || exit;
2 3
4 +/**
5 + * @var array $items
6 + */
7 +?>
8 +
3 9 <?php if ($items) : ?>
4 10 <h4><?php esc_html_e('Customer Details', 'fluent-booking'); ?></h4>
5 11 <table class="table fluent_booking_table input_items_table table_bordered">
6 12 <tbody>
7 - <?php foreach ($items as $item) : ?>
8 - <?php if ((isset($item['value']) && $item['value'] !== '' && isset($item['label']))) : ?>
13 + <?php foreach ($items as $fluentBookingItem) : ?>
14 + <?php if ((isset($fluentBookingItem['value']) && $fluentBookingItem['value'] !== '' && isset($fluentBookingItem['label']))) : ?>
9 15 <tr>
10 - <th><?php echo wp_kses_post($item['label']); ?></th>
16 + <th><?php echo wp_kses_post($fluentBookingItem['label']); ?></th>
11 17 <td><?php
12 - if (is_array($item['value'])) {
13 - echo wp_kses_post(implode(', ', $item['value']));
18 + if (is_array($fluentBookingItem['value'])) {
19 + echo wp_kses_post(implode(', ', $fluentBookingItem['value']));
14 20 } else {
15 - echo wp_kses_post($item['value']);
21 + echo wp_kses_post($fluentBookingItem['value']);
16 22 }; ?>
17 23 </td>
18 24 </tr>
19 25 <?php endif; ?>