Plugin Directory

Changeset 2337392


Ignore:
Timestamp:
07/08/2020 01:09:27 PM (6 years ago)
Author:
shellbeezy
Message:

Tagging version 1.1.18

Location:
woocommerce-accommodation-bookings
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • woocommerce-accommodation-bookings/tags/1.1.18/changelog.txt

    r2321555 r2337392  
    11*** Changelog ***
     2
     3= 1.1.18 - 2020-07-08 =
     4* Fix - Existing booking checkout date showed as fully booked and not selectable.
    25
    36= 1.1.17 - 2020-06-10 =
  • woocommerce-accommodation-bookings/tags/1.1.18/includes/class-wc-accommodation-booking-date-picker.php

    r2250680 r2337392  
    8989     */
    9090    public function add_partially_booked_dates( $booked_data_array, $product ) {
    91         // This function makes sesne only for duration type: night.
     91        // This function makes sense only for duration type: night.
    9292        if ( 'night' !== $product->get_duration_unit() ) {
    9393            return $booked_data_array;
     
    9898
    9999        // Go through each checkin and checkout days and mark them as partially booked.
    100         foreach ( array( 'out' ) as $which ) {
     100        foreach ( array( 'in', 'out' ) as $which ) {
    101101            foreach ( $check_in_out_times[ $which ] as $resource_id => $times ) {
    102102                foreach ( $times as $time ) {
    103103                    $day = date( 'Y-n-j', $time );
    104104                    if ( ! empty( $booked_data_array['partially_booked_days'][ $day ][ $resource_id ] ) ) {
    105                         // The day is already partially booked so lets skipp to the next day.
     105                        // The day is already partially booked so lets skip to the next day.
    106106                        continue;
    107107                    }
     
    114114                    }
    115115                    $check = date("F j, Y, g:i a", $check_time );
    116                     // Check freele available blocks for resource. If some are available that means that the day is not fully booked.
     116                    // Check available blocks for resource. If some are available that means that the day is not fully booked.
    117117                    $not_fully_booked = $this->get_product_resource_available_blocks_on_time( $product, $resource_id, $check_time );
    118118                    if( $not_fully_booked ) {
  • woocommerce-accommodation-bookings/tags/1.1.18/languages/woocommerce-accommodation-bookings.pot

    r2321555 r2337392  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WooCommerce Accommodation Bookings 1.1.17\n"
     5"Project-Id-Version: WooCommerce Accommodation Bookings 1.1.18\n"
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/woocommerce-accommodation-bookings\n"
    8 "POT-Creation-Date: 2020-06-10 12:24:40+00:00\n"
     8"POT-Creation-Date: 2020-07-08 12:56:23+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
  • woocommerce-accommodation-bookings/tags/1.1.18/readme.txt

    r2321555 r2337392  
    44Requires at least: 4.1
    55Tested up to: 5.4
    6 Stable tag: 1.1.17
     6Stable tag: 1.1.18
    77License: GNU General Public License v3.0
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3737== Changelog ==
    3838
     39= 1.1.18 - 2020-07-08 =
     40* Fix - Existing booking checkout date showed as fully booked and not selectable.
     41
    3942= 1.1.17 - 2020-06-10 =
    4043* Tweak - WC tested up to 4.2.
  • woocommerce-accommodation-bookings/tags/1.1.18/woocommerce-accommodation-bookings.php

    r2321555 r2337392  
    44 * Plugin URI: https://woocommerce.com/products/woocommerce-accommodation-bookings/
    55 * Description: An accommodations add-on for the WooCommerce Bookings extension.
    6  * Version: 1.1.17
     6 * Version: 1.1.18
    77 * Author: WooCommerce
    88 * Author URI: https://woocommerce.com
     
    2121}
    2222
    23 define( 'WC_ACCOMMODATION_BOOKINGS_VERSION', '1.1.17' ); // WRCS: DEFINED_VERSION.
     23define( 'WC_ACCOMMODATION_BOOKINGS_VERSION', '1.1.18' ); // WRCS: DEFINED_VERSION.
    2424
    2525require_once( 'includes/class-wc-accommodation-bookings-plugin.php' );
  • woocommerce-accommodation-bookings/trunk/changelog.txt

    r2321555 r2337392  
    11*** Changelog ***
     2
     3= 1.1.18 - 2020-07-08 =
     4* Fix - Existing booking checkout date showed as fully booked and not selectable.
    25
    36= 1.1.17 - 2020-06-10 =
  • woocommerce-accommodation-bookings/trunk/includes/class-wc-accommodation-booking-date-picker.php

    r2250680 r2337392  
    8989     */
    9090    public function add_partially_booked_dates( $booked_data_array, $product ) {
    91         // This function makes sesne only for duration type: night.
     91        // This function makes sense only for duration type: night.
    9292        if ( 'night' !== $product->get_duration_unit() ) {
    9393            return $booked_data_array;
     
    9898
    9999        // Go through each checkin and checkout days and mark them as partially booked.
    100         foreach ( array( 'out' ) as $which ) {
     100        foreach ( array( 'in', 'out' ) as $which ) {
    101101            foreach ( $check_in_out_times[ $which ] as $resource_id => $times ) {
    102102                foreach ( $times as $time ) {
    103103                    $day = date( 'Y-n-j', $time );
    104104                    if ( ! empty( $booked_data_array['partially_booked_days'][ $day ][ $resource_id ] ) ) {
    105                         // The day is already partially booked so lets skipp to the next day.
     105                        // The day is already partially booked so lets skip to the next day.
    106106                        continue;
    107107                    }
     
    114114                    }
    115115                    $check = date("F j, Y, g:i a", $check_time );
    116                     // Check freele available blocks for resource. If some are available that means that the day is not fully booked.
     116                    // Check available blocks for resource. If some are available that means that the day is not fully booked.
    117117                    $not_fully_booked = $this->get_product_resource_available_blocks_on_time( $product, $resource_id, $check_time );
    118118                    if( $not_fully_booked ) {
  • woocommerce-accommodation-bookings/trunk/languages/woocommerce-accommodation-bookings.pot

    r2321555 r2337392  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WooCommerce Accommodation Bookings 1.1.17\n"
     5"Project-Id-Version: WooCommerce Accommodation Bookings 1.1.18\n"
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/woocommerce-accommodation-bookings\n"
    8 "POT-Creation-Date: 2020-06-10 12:24:40+00:00\n"
     8"POT-Creation-Date: 2020-07-08 12:56:23+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
  • woocommerce-accommodation-bookings/trunk/readme.txt

    r2321555 r2337392  
    44Requires at least: 4.1
    55Tested up to: 5.4
    6 Stable tag: 1.1.17
     6Stable tag: 1.1.18
    77License: GNU General Public License v3.0
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3737== Changelog ==
    3838
     39= 1.1.18 - 2020-07-08 =
     40* Fix - Existing booking checkout date showed as fully booked and not selectable.
     41
    3942= 1.1.17 - 2020-06-10 =
    4043* Tweak - WC tested up to 4.2.
  • woocommerce-accommodation-bookings/trunk/woocommerce-accommodation-bookings.php

    r2321555 r2337392  
    44 * Plugin URI: https://woocommerce.com/products/woocommerce-accommodation-bookings/
    55 * Description: An accommodations add-on for the WooCommerce Bookings extension.
    6  * Version: 1.1.17
     6 * Version: 1.1.18
    77 * Author: WooCommerce
    88 * Author URI: https://woocommerce.com
     
    2121}
    2222
    23 define( 'WC_ACCOMMODATION_BOOKINGS_VERSION', '1.1.17' ); // WRCS: DEFINED_VERSION.
     23define( 'WC_ACCOMMODATION_BOOKINGS_VERSION', '1.1.18' ); // WRCS: DEFINED_VERSION.
    2424
    2525require_once( 'includes/class-wc-accommodation-bookings-plugin.php' );
Note: See TracChangeset for help on using the changeset viewer.