PluginProbe ʕ •ᴥ•ʔ
LatePoint – Calendar Booking Plugin for Appointments and Events / 5.2.11
LatePoint – Calendar Booking Plugin for Appointments and Events v5.2.11
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 / _price_breakdown.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 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
_price_breakdown.php
28 lines
1 <?php
2 /*
3 * Copyright (c) 2024 LatePoint LLC. All rights reserved.
4 */
5
6 /* @var $order OsOrderModel */
7 /* @var $price_breakdown_rows array */
8
9
10 if ( ! defined( 'ABSPATH' ) ) {
11 exit; // Exit if accessed directly
12 }
13
14
15 ?>
16
17 <?php
18 do_action('latepoint_order_quick_form_price_before_subtotal', $order);
19 foreach($price_breakdown_rows['before_subtotal'] as $row){
20 OsBookingHelper::output_price_breakdown_row_as_input_field($row, 'price_breakdown[before_subtotal]');
21 }
22 echo OsFormHelper::money_field('order[subtotal]', __('Sub Total', 'latepoint'), $order->get_subtotal() ?? 0, ['theme' => 'right-aligned'], [], ['class' => 'os-subtotal']);
23 foreach($price_breakdown_rows['after_subtotal'] as $row){
24 OsBookingHelper::output_price_breakdown_row_as_input_field($row, 'price_breakdown[after_subtotal]');
25 }
26 echo OsFormHelper::money_field('order[total]', __('Total Price', 'latepoint'), $order->get_total() ?? 0, ['theme' => 'right-aligned', 'class' => 'os-affects-balance'], [], ['class' => 'os-total']);
27 do_action('latepoint_order_quick_form_price_after_total', $order);
28