PluginProbe ʕ •ᴥ•ʔ
LatePoint – Calendar Booking Plugin for Appointments and Events / 5.4.2
LatePoint – Calendar Booking Plugin for Appointments and Events v5.4.2
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 / orders / _table_body.php
latepoint / lib / views / orders Last commit date
_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
_table_body.php
39 lines
1 <?php
2 /*
3 * Copyright (c) 2023 LatePoint LLC. All rights reserved.
4 */
5
6 /* @var $orders OsOrderModel[] */
7 /* @var $customer_name_query string */
8
9
10 if ( ! defined( 'ABSPATH' ) ) {
11 exit; // Exit if accessed directly
12 }
13
14
15 if ($orders) {
16 foreach ($orders as $order) { ?>
17 <tr class="os-clickable-row" <?php echo OsOrdersHelper::quick_order_btn_html($order->id); ?>>
18 <td class="text-center os-column-faded"><?php echo esc_html($order->id); ?></td>
19 <td>
20 <?php if ($order->customer_id) { ?>
21 <a class="os-with-avatar" target="_blank" <?php echo OsCustomerHelper::quick_customer_btn_html($order->customer->id); ?> href="#">
22 <span class="os-avatar" style="background-image: url(<?php echo esc_url($order->customer->get_avatar_url()); ?>)"></span>
23 <span class="os-name"><?php echo esc_html($order->customer->full_name); ?></span>
24 <i class="latepoint-icon latepoint-icon-external-link"></i>
25 </a>
26 <?php } else {
27 echo 'n/a';
28 } ?>
29 </td>
30 <td><?php echo esc_html(OsMoneyHelper::format_price($order->total, true, false)); ?></td>
31 <td><span class="lp-order-status lp-order-status-<?php echo esc_attr($order->status); ?>"><?php echo esc_html(OsOrdersHelper::get_nice_order_status_name($order->status)); ?></span>
32 <td><span class="lp-order-status lp-order-status-<?php echo esc_attr($order->payment_status); ?>"><?php echo esc_html(OsOrdersHelper::get_nice_order_payment_status_name($order->payment_status)); ?></span>
33 <td><span class="lp-order-status lp-order-status-<?php echo esc_attr($order->fulfillment_status); ?>"><?php echo esc_html(OsOrdersHelper::get_nice_order_fulfillment_status_name($order->fulfillment_status)); ?></span>
34 <td><?php echo esc_html($order->confirmation_code); ?></td>
35 <td><?php echo esc_html($order->readable_created_date()); ?></td>
36 </tr>
37 <?php
38 }
39 } ?>