Plugin Directory

Changeset 3347229


Ignore:
Timestamp:
08/19/2025 08:10:43 PM (6 months ago)
Author:
automaticbnb
Message:

Rilascio versione 1.19.0 di SyncBooking

Location:
syncbooking
Files:
152 added
3 edited

Legend:

Unmodified
Added
Removed
  • syncbooking/trunk/php/theme-sync/page/website/include/js/next.js

    r3315503 r3347229  
    66  room_price,
    77  topay_percentuale,
    8   checkout
     8  checkout,
     9  split_date // <- opzionale
    910) {
    1011  console.log("===== START NEXT() =====");
     
    1516  console.log("Topay Percentuale:", topay_percentuale);
    1617  console.log("Checkout:", checkout);
     18  console.log("split_date (raw):", split_date);
    1719
    1820  const index = parseInt(actualtab);
     
    125127      }
    126128
    127       const url = `https://booking.syncbooking.com/cart/?add-to-cart=25&arrive=${arriveTimestamp}&departure=${departureTimestamp}&room_id=${room_id_param}&totalreal=${totalprice}&totaltopay=${topay}`;
     129      let url = `https://booking.syncbooking.com/cart/?add-to-cart=25&arrive=${arriveTimestamp}&departure=${departureTimestamp}&room_id=${room_id_param}&totalreal=${totalprice}&totaltopay=${topay}`;
     130
     131      if (typeof split_date !== "undefined" && split_date !== null && String(split_date).trim() !== "") {
     132        url += `&split_date=${encodeURIComponent(split_date)}`;
     133        console.log("🧩 Parametro split_date aggiunto all'URL.");
     134      } else {
     135        console.log("🧩 Nessun split_date aggiunto all'URL.");
     136      }
     137
    128138      if (
    129139        arriveTimestamp &&
  • syncbooking/trunk/readme.txt

    r3335396 r3347229  
    33Requires at least: 5.0 
    44Tested up to: 6.8 
    5 Stable tag: 1.18.0 
     5Stable tag: 1.19.0 
    66Requires PHP: 7.2 
    77Contributors: automaticbnb 
  • syncbooking/trunk/sync-booking.php

    r3335396 r3347229  
    44Plugin URI: http://syncbooking.com/plugin
    55Description: Sync All Booking of your Hotel or BnB, and get new bookings!.
    6 Version: 1.18.0
     6Version: 1.19.0
    77Author: SyncBooking.com
    88Author URI: http://syncbooking.com/
     
    1717define( 'syncbooking_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    1818define( 'syncbooking_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    19 define( 'syncbooking_PLUGIN_VERSION', "1.18.0" );
     19define( 'syncbooking_PLUGIN_VERSION', "1.19.0" );
    2020
    2121global $syncbooking_structure_data;
Note: See TracChangeset for help on using the changeset viewer.