Version Description
Download this release
Release Info
Developer | Ladela |
Plugin | WordPress Online Booking and Scheduling Plugin – Bookly |
Version | 14.5.1 |
Comparing to | |
See all releases |
Code changes from version 14.5 to 14.5.1
- backend/modules/payments/templates/details.php +4 -4
- main.php +1 -1
- readme.txt +1 -1
backend/modules/payments/templates/details.php
CHANGED
@@ -18,7 +18,7 @@ $subtotal_deposit = 0;
|
|
18 |
</thead>
|
19 |
<tbody>
|
20 |
<tr>
|
21 |
-
<td><?php echo $payment['customer'] ?></td>
|
22 |
<td>
|
23 |
<div><?php _e( 'Date', 'bookly' ) ?>: <?php echo DateTime::formatDateTime( $payment['created'] ) ?></div>
|
24 |
<div><?php _e( 'Type', 'bookly' ) ?>: <?php echo Entities\Payment::typeToString( $payment['type'] ) ?></div>
|
@@ -47,18 +47,18 @@ $subtotal_deposit = 0;
|
|
47 |
$extras_price = 0; ?>
|
48 |
<tr>
|
49 |
<td>
|
50 |
-
<?php if ( $item['number_of_persons'] > 1 ) echo $item['number_of_persons'] . ' × ' ?><?php echo $item['service_name'] ?>
|
51 |
<?php if ( ! empty ( $item['extras'] ) ) : ?>
|
52 |
<ul class="bookly-list list-dots">
|
53 |
<?php foreach ( $item['extras'] as $extra ) : ?>
|
54 |
-
<li><?php if ( $extra['quantity'] > 1 ) echo $extra['quantity'] . ' × ' ?><?php echo $extra['title'] ?></li>
|
55 |
<?php $extras_price += $extra['price'] * $extra['quantity'] ?>
|
56 |
<?php endforeach ?>
|
57 |
</ul>
|
58 |
<?php endif ?>
|
59 |
</td>
|
60 |
<td><?php echo DateTime::formatDateTime( $item['appointment_date'] ) ?></td>
|
61 |
-
<td><?php echo $item['staff_name'] ?></td>
|
62 |
<?php $deposit = Proxy\DepositPayments::prepareAmount( $item['number_of_persons'] * ( $item['service_price'] + $extras_price ), $item['deposit'], $item['number_of_persons'] ) ?>
|
63 |
<?php if ( $deposit_enabled ) : ?>
|
64 |
<td class="text-right"><?php echo Proxy\DepositPayments::formatDeposit( $deposit, $item['deposit'] ) ?></td>
|
18 |
</thead>
|
19 |
<tbody>
|
20 |
<tr>
|
21 |
+
<td><?php echo esc_html( $payment['customer'] ) ?></td>
|
22 |
<td>
|
23 |
<div><?php _e( 'Date', 'bookly' ) ?>: <?php echo DateTime::formatDateTime( $payment['created'] ) ?></div>
|
24 |
<div><?php _e( 'Type', 'bookly' ) ?>: <?php echo Entities\Payment::typeToString( $payment['type'] ) ?></div>
|
47 |
$extras_price = 0; ?>
|
48 |
<tr>
|
49 |
<td>
|
50 |
+
<?php if ( $item['number_of_persons'] > 1 ) echo $item['number_of_persons'] . ' × ' ?><?php echo esc_html( $item['service_name'] ) ?>
|
51 |
<?php if ( ! empty ( $item['extras'] ) ) : ?>
|
52 |
<ul class="bookly-list list-dots">
|
53 |
<?php foreach ( $item['extras'] as $extra ) : ?>
|
54 |
+
<li><?php if ( $extra['quantity'] > 1 ) echo $extra['quantity'] . ' × ' ?><?php echo esc_html( $extra['title'] ) ?></li>
|
55 |
<?php $extras_price += $extra['price'] * $extra['quantity'] ?>
|
56 |
<?php endforeach ?>
|
57 |
</ul>
|
58 |
<?php endif ?>
|
59 |
</td>
|
60 |
<td><?php echo DateTime::formatDateTime( $item['appointment_date'] ) ?></td>
|
61 |
+
<td><?php echo esc_html( $item['staff_name'] ) ?></td>
|
62 |
<?php $deposit = Proxy\DepositPayments::prepareAmount( $item['number_of_persons'] * ( $item['service_price'] + $extras_price ), $item['deposit'], $item['number_of_persons'] ) ?>
|
63 |
<?php if ( $deposit_enabled ) : ?>
|
64 |
<td class="text-right"><?php echo Proxy\DepositPayments::formatDeposit( $deposit, $item['deposit'] ) ?></td>
|
main.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Bookly Lite
|
4 |
Plugin URI: http://booking-wp-plugin.com
|
5 |
Description: Bookly Plugin – is a great easy-to-use and easy-to-manage booking tool for service providers who think about their customers. The plugin supports a wide range of services provided by business and individuals who offer reservations through websites. Set up any reservation quickly, pleasantly and easily with Bookly!
|
6 |
-
Version: 14.5
|
7 |
Author: Ladela Interactive
|
8 |
Author URI: http://booking-wp-plugin.com
|
9 |
Text Domain: bookly
|
3 |
Plugin Name: Bookly Lite
|
4 |
Plugin URI: http://booking-wp-plugin.com
|
5 |
Description: Bookly Plugin – is a great easy-to-use and easy-to-manage booking tool for service providers who think about their customers. The plugin supports a wide range of services provided by business and individuals who offer reservations through websites. Set up any reservation quickly, pleasantly and easily with Bookly!
|
6 |
+
Version: 14.5.1
|
7 |
Author: Ladela Interactive
|
8 |
Author URI: http://booking-wp-plugin.com
|
9 |
Text Domain: bookly
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.booking-wp-plugin.com/
|
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.9.2
|
7 |
Requires PHP: 5.3.7
|
8 |
-
Stable tag: 14.5
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.9.2
|
7 |
Requires PHP: 5.3.7
|
8 |
+
Stable tag: 14.5.1
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|