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 |