PluginProbe ʕ •ᴥ•ʔ
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress / 5.1.3
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress v5.1.3
5.6.8 5.6.7 5.6.6 5.6.5 5.6.4 5.6.3 5.6.2 5.6.1 5.6.0 5.5.2 5.5.1 5.5.0 5.4.2 trunk 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.1.91 5.1.92 5.1.93 5.1.94 5.2.0 5.2.1 5.2.10 5.2.11 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.3.0 5.3.1 5.3.2 5.4.0 5.4.1
latepoint / trunk / lib / views / customers / query_for_booking_form.php
latepoint / trunk / lib / views / customers Last commit date
_table_body.php 1 year ago edit_form.php 1 year ago index.php 1 year ago inline_edit_form.php 1 year ago mini_profile.php 1 year ago new_form.php 1 year ago query_for_booking_form.php 1 year ago quick_edit.php 1 year ago view_customer_log.php 1 year ago
query_for_booking_form.php
31 lines
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly
4 }
5 ?>
6 <?php if($customers){
7 foreach($customers as $customer){ ?>
8 <div class="customer-option" data-os-params="<?php echo esc_attr(OsUtilHelper::build_os_params(['customer_id' => $customer->id])); ?>"
9 data-os-after-call="latepoint_quick_order_customer_selected"
10 data-os-output-target=".customer-quick-edit-form-w"
11 data-os-action="<?php echo esc_attr(OsRouterHelper::build_route_name('customers', 'inline_edit_form')); ?>">
12 <div class="customer-option-avatar" style="background-image: url(<?php echo esc_url(OsCustomerHelper::get_avatar_url($customer)); ?>)"></div>
13 <div class="customer-option-info">
14 <h4 class="customer-option-info-name"><span><?php echo preg_replace("/($query)/i", "<span class='os-query-match'>$1</span>", esc_html($customer->full_name)); ?></span></h4>
15 <ul>
16 <li>
17 <?php esc_html_e('Email: ','latepoint'); ?>
18 <strong><?php echo preg_replace("/($query)/i", "<span class='os-query-match'>$1</span>", esc_html($customer->email)); ?></strong>
19 </li>
20 <li>
21 <?php esc_html_e('Phone: ','latepoint'); ?>
22 <strong><?php echo preg_replace("/($query)/i", "<span class='os-query-match'>$1</span>", esc_html($customer->phone)); ?></strong>
23 </li>
24 </ul>
25 </div>
26 </div>
27 <?php
28 }
29 }else{
30 echo '<div class="os-no-matched-customers">'.esc_html__('No matches found.', 'latepoint').'</div>';
31 } ?>