PluginProbe ʕ •ᴥ•ʔ
LatePoint – Calendar Booking Plugin for Appointments and Events / 5.5.2
LatePoint – Calendar Booking Plugin for Appointments and Events v5.5.2
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 / lib / views / customers / view_customer_log.php
latepoint / lib / views / customers Last commit date
import_steps 9 months ago _table_body.php 9 months ago edit_form.php 1 year ago import_csv_modal.php 9 months ago import_load_step.php 3 months ago index.php 4 months 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 4 months ago view_customer_log.php 1 year ago
view_customer_log.php
36 lines
1 <?php
2 /*
3 * Copyright (c) 2024 LatePoint LLC. All rights reserved.
4 */
5
6 /* @var $activities OsActivityModel[] */
7 /* @var $customer OsCustomerModel */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit; // Exit if accessed directly
11 }
12 ?>
13 <div class="booking-activity-log-panel-w side-sub-panel-wrapper">
14 <div class="side-sub-panel-header os-form-header">
15 <h2><?php esc_html_e('Activity Log', 'latepoint'); ?></h2>
16 <a href="#" class="booking-activity-log-panel-close latepoint-side-sub-panel-close latepoint-side-sub-panel-close-trigger"><i class="latepoint-icon latepoint-icon-x"></i></a>
17 </div>
18 <div class="side-sub-panel-content booking-activity-log-panel-i">
19 <div class="booking-activities-list">
20 <div class="quick-booking-info">
21 <?php if($customer->created_at) echo '<span>'.esc_html__('Registered On: ', 'latepoint').'</span><strong>'.esc_html(OsTimeHelper::get_readable_date(new OsWpDateTime($customer->created_at, new DateTimeZone('UTC')))).'</strong>'; ?>
22 </div>
23 <?php
24 foreach ($activities as $activity) {
25 echo '<div class="booking-activity-row">';
26 echo '<div class="booking-activity-name">' . esc_html($activity->name) . '</div>';
27 echo '<div class="spacer"></div>';
28 echo '<div class="booking-activity-date">' . esc_html($activity->nice_created_at) . '</div>';
29 echo $activity->get_link_to_object('<i class="latepoint-icon latepoint-icon-file-text"></i>');
30 echo '</div>';
31 }
32 ?>
33 </div>
34 </div>
35 </div>
36