_balance_and_payments.php
1 year ago
_full_summary.php
1 year ago
_price_breakdown.php
1 year ago
_table_body.php
3 months ago
_transaction_box.php
1 year ago
index.php
1 year ago
quick_edit.php
9 months ago
reload_balance_and_payments.php
1 year ago
reload_price_breakdown.php
1 year ago
view_order_log.php
1 year ago
view_order_log.php
41 lines
| 1 | <?php |
| 2 | /* |
| 3 | * Copyright (c) 2024 LatePoint LLC. All rights reserved. |
| 4 | */ |
| 5 | |
| 6 | /* @var $activities OsActivityModel[] */ |
| 7 | /* @var $order OsOrderModel */ |
| 8 | |
| 9 | |
| 10 | if ( ! defined( 'ABSPATH' ) ) { |
| 11 | exit; // Exit if accessed directly |
| 12 | } |
| 13 | |
| 14 | |
| 15 | ?> |
| 16 | <div class="booking-activity-log-panel-w side-sub-panel-wrapper"> |
| 17 | <div class="side-sub-panel-header os-form-header"> |
| 18 | <h2><?php esc_html_e('Activity Log', 'latepoint'); ?></h2> |
| 19 | <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> |
| 20 | </div> |
| 21 | <div class="side-sub-panel-content booking-activity-log-panel-i"> |
| 22 | <div class="booking-activities-list"> |
| 23 | <div class="quick-booking-info"> |
| 24 | <?php if($order->ip_address) echo '<span>'.esc_html__('IP Address: ', 'latepoint').'</span><strong>'.esc_html($order->ip_address).'</strong>'; ?> |
| 25 | <?php if($order->source_id) echo '<span>'.esc_html__('Source ID: ', 'latepoint').'</span><strong>'.esc_html($order->source_id).'</strong>'; ?> |
| 26 | <?php echo '<a href="'.esc_url($order->source_url).'" target="_blank"><i class="latepoint-icon latepoint-icon-external-link"></i>'.esc_html__('Booking Page', 'latepoint').'</a>'; ?> |
| 27 | </div> |
| 28 | <?php |
| 29 | foreach ($activities as $activity) { |
| 30 | echo '<div class="booking-activity-row">'; |
| 31 | echo '<div class="booking-activity-name">' . esc_html($activity->name) . '</div>'; |
| 32 | echo '<div class="spacer"></div>'; |
| 33 | echo '<div class="booking-activity-date">' . esc_html($activity->nice_created_at) . '</div>'; |
| 34 | echo $activity->get_link_to_object('<i class="latepoint-icon latepoint-icon-file-text"></i>'); |
| 35 | echo '</div>'; |
| 36 | } |
| 37 | ?> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 |