Version Description
(2020-05-26) = - Correcting calculation error for "per guest" deposits in ultimate version.
Download this release
Release Info
Developer | Rustaurius |
Plugin | Restaurant Reservations |
Version | 2.1.4 |
Comparing to | |
See all releases |
Code changes from version 2.1.3 to 2.1.4
- includes/Booking.class.php +1 -1
- readme.txt +3 -0
- restaurant-reservations.php +1 -1
includes/Booking.class.php
CHANGED
@@ -154,7 +154,7 @@ class rtbBooking {
|
|
154 |
|
155 |
$deposit = $rtb_controller->settings->get_setting( 'rtb-deposit-amount' );
|
156 |
|
157 |
-
if ( $rtb_controller->settings->get_setting( 'rtb-deposit-type' == 'guest' )
|
158 |
|
159 |
return $deposit;
|
160 |
}
|
154 |
|
155 |
$deposit = $rtb_controller->settings->get_setting( 'rtb-deposit-amount' );
|
156 |
|
157 |
+
if ( $rtb_controller->settings->get_setting( 'rtb-deposit-type' ) == 'guest' ) { $deposit = $deposit * $this->party; }
|
158 |
|
159 |
return $deposit;
|
160 |
}
|
readme.txt
CHANGED
@@ -184,6 +184,9 @@ Find answers to even more questions in the [FAQ](http://doc.fivestarplugins.com/
|
|
184 |
|
185 |
== Changelog ==
|
186 |
|
|
|
|
|
|
|
187 |
= 2.1.3 (2020-05-20) =
|
188 |
- Corrected an issue that was causing an error when trying to create or edit a booking in the admin when reCAPTCHA was enabled.
|
189 |
|
184 |
|
185 |
== Changelog ==
|
186 |
|
187 |
+
= 2.1.4 (2020-05-26) =
|
188 |
+
- Correcting calculation error for "per guest" deposits in ultimate version.
|
189 |
+
|
190 |
= 2.1.3 (2020-05-20) =
|
191 |
- Corrected an issue that was causing an error when trying to create or edit a booking in the admin when reCAPTCHA was enabled.
|
192 |
|
restaurant-reservations.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Five Star Restaurant Reservations
|
4 |
* Plugin URI: http://www.fivestarplugins.com/plugins/five-star-restaurant-reservations/
|
5 |
* Description: Restaurant reservations made easy. Accept bookings online. Quickly confirm or reject reservations, send email notifications, set booking times and more.
|
6 |
-
* Version: 2.1.
|
7 |
* Author: FiveStarPlugins
|
8 |
* Author URI: https://profiles.wordpress.org/fivestarplugins/
|
9 |
* Text Domain: restaurant-reservations
|
3 |
* Plugin Name: Five Star Restaurant Reservations
|
4 |
* Plugin URI: http://www.fivestarplugins.com/plugins/five-star-restaurant-reservations/
|
5 |
* Description: Restaurant reservations made easy. Accept bookings online. Quickly confirm or reject reservations, send email notifications, set booking times and more.
|
6 |
+
* Version: 2.1.4
|
7 |
* Author: FiveStarPlugins
|
8 |
* Author URI: https://profiles.wordpress.org/fivestarplugins/
|
9 |
* Text Domain: restaurant-reservations
|