WordPress Online Booking and Scheduling Plugin – Bookly - Version 20.3.1

Version Description

Download this release

Release Info

Developer Ladela
Plugin Icon 128x128 WordPress Online Booking and Scheduling Plugin – Bookly
Version 20.3.1
Comparing to
See all releases

Code changes from version 20.3 to 20.3.1

backend/components/dialogs/staff/order/Dialog.php CHANGED
@@ -32,9 +32,16 @@ class Dialog extends Lib\Base\Component
32
  if ( ! Lib\Utils\Common::isCurrentUserAdmin() ) {
33
  $query->where( 's.wp_user_id', get_current_user_id() );
34
  }
 
 
 
 
 
 
 
35
 
36
  wp_localize_script( 'bookly-staff-order-dialog.js', 'BooklyStaffOrderDialogL10n', array(
37
- 'staff' => $query->sortBy( 'position' )->fetchArray()
38
  ) );
39
 
40
  self::renderTemplate( 'dialog' );
32
  if ( ! Lib\Utils\Common::isCurrentUserAdmin() ) {
33
  $query->where( 's.wp_user_id', get_current_user_id() );
34
  }
35
+ $staff = array();
36
+ foreach ( $query->sortBy( 'position' )->fetchArray() as $_staff ) {
37
+ $staff[] = array(
38
+ 'id' => $_staff['id'],
39
+ 'full_name' => esc_html( $_staff['full_name'] ),
40
+ );
41
+ }
42
 
43
  wp_localize_script( 'bookly-staff-order-dialog.js', 'BooklyStaffOrderDialogL10n', array(
44
+ 'staff' => $staff,
45
  ) );
46
 
47
  self::renderTemplate( 'dialog' );
backend/modules/appointments/resources/js/appointments.js CHANGED
@@ -130,6 +130,7 @@ jQuery(function($) {
130
  columns.push({
131
  data: 'service.title',
132
  render: function ( data, type, row, meta ) {
 
133
  if (row.service.extras.length) {
134
  var extras = '<ul class="bookly-list list-dots">';
135
  $.each(row.service.extras, function (key, item) {
130
  columns.push({
131
  data: 'service.title',
132
  render: function ( data, type, row, meta ) {
133
+ data = $.fn.dataTable.render.text().display(data);
134
  if (row.service.extras.length) {
135
  var extras = '<ul class="bookly-list list-dots">';
136
  $.each(row.service.extras, function (key, item) {
backend/modules/cloud_sms/resources/js/notifications-list.js CHANGED
@@ -35,7 +35,7 @@ jQuery(function ($) {
35
  });
36
  break;
37
  default:
38
- columns.push({data: column});
39
  break;
40
  }
41
  }
35
  });
36
  break;
37
  default:
38
+ columns.push({data: column, render: $.fn.dataTable.render.text()});
39
  break;
40
  }
41
  }
backend/modules/services/Page.php CHANGED
@@ -64,6 +64,7 @@ class Page extends Lib\Base\Ajax
64
  ) );
65
 
66
  foreach ( $services as &$service ) {
 
67
  $service['colors'] = Proxy\Shared::prepareServiceColors( array_fill( 0, 3, $service['color'] ), $service['id'], $service['type'] );
68
  $service['sub_services'] = Lib\Entities\SubService::query()
69
  ->where( 'service_id', $service['id'] )
64
  ) );
65
 
66
  foreach ( $services as &$service ) {
67
+ $service['title'] = esc_html( $service['title'] );
68
  $service['colors'] = Proxy\Shared::prepareServiceColors( array_fill( 0, 3, $service['color'] ), $service['id'], $service['type'] );
69
  $service['sub_services'] = Lib\Entities\SubService::query()
70
  ->where( 'service_id', $service['id'] )
main.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Bookly
4
  Plugin URI: https://www.booking-wp-plugin.com/?utm_source=bookly_admin&utm_medium=plugins_page&utm_campaign=plugins_page
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: 20.3
7
  Author: Bookly
8
  Author URI: https://www.booking-wp-plugin.com/?utm_source=bookly_admin&utm_medium=plugins_page&utm_campaign=plugins_page
9
  Text Domain: bookly
3
  Plugin Name: Bookly
4
  Plugin URI: https://www.booking-wp-plugin.com/?utm_source=bookly_admin&utm_medium=plugins_page&utm_campaign=plugins_page
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: 20.3.1
7
  Author: Bookly
8
  Author URI: https://www.booking-wp-plugin.com/?utm_source=bookly_admin&utm_medium=plugins_page&utm_campaign=plugins_page
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: 5.8.1
7
  Requires PHP: 5.3.7
8
- Stable tag: 20.3
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: 5.8.1
7
  Requires PHP: 5.3.7
8
+ Stable tag: 20.3.1
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11