PluginProbe ʕ •ᴥ•ʔ
LatePoint – Calendar Booking Plugin for Appointments and Events / 5.1.3
LatePoint – Calendar Booking Plugin for Appointments and Events v5.1.3
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 / orders / _transaction_box.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 1 year ago _transaction_box.php 1 year ago index.php 1 year ago quick_edit.php 1 year ago reload_balance_and_payments.php 1 year ago reload_price_breakdown.php 1 year ago view_order_log.php 1 year ago
_transaction_box.php
37 lines
1 <?php
2 /*
3 * Copyright (c) 2024 LatePoint LLC. All rights reserved.
4 */
5
6 /* @var $transaction OsTransactionModel */
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit; // Exit if accessed directly
10 }
11
12
13 ?>
14 <div class="quick-transaction-info-w"
15 data-os-action="<?php echo esc_attr(OsRouterHelper::build_route_name('transactions', 'edit_form')); ?>"
16 data-os-params="<?php echo esc_attr(OsUtilHelper::build_os_params(['id' => $transaction->id])); ?>"
17 data-os-after-call="latepoint_init_quick_transaction_form"
18 data-os-before-after="replace">
19 <?php if($transaction->get_refunds()){ ?>
20 <?php
21 foreach($transaction->get_refunds() as $refund) {
22 echo '<div class="quick-transaction-refunds-info">';
23 echo sprintf(esc_html__('Refunded %s on %s', 'latepoint'), OsMoneyHelper::format_price($refund->amount, true, false), $refund->readable_created_date());
24 echo '</div>';
25 }
26 ?>
27 <?php } ?>
28 <div class="quick-transaction-head">
29 <div class="quick-transaction-amount"><?php echo esc_html(OsMoneyHelper::format_price($transaction->amount, true, false)); ?></div>
30 <div class="lp-processor-logo lp-processor-logo-<?php echo esc_attr($transaction->processor); ?>"><?php echo esc_html($transaction->processor); ?></div>
31 <div class="lp-transaction-status lp-transaction-status-<?php echo esc_attr($transaction->status); ?>"><?php echo esc_html($transaction->status); ?></div>
32 </div>
33 <div class="quick-transaction-sub">
34 <div><?php echo esc_html($transaction->readable_created_date()); ?></div>
35 <div><?php echo esc_html($transaction->token); ?></div>
36 </div>
37 </div>