Cookies help us provide better user experience. By using our website, you agree to the use of cookies.

Panda Resort - 6.2.0 (Oct 8, 2018)

Replace the following files and execute the queries in your SQL manager to perform the updates.

NEW FEATURES/IMPROVEMENTS

Mandatory services and extra services per periode

/common/db.sql
>> New columns mandatory, start_date, end_date in the table pm_service

ALTER TABLE pm_service
ADD mandatory INT DEFAULT 0 AFTER taxes,
ADD start_date INT NULL AFTER mandatory,
ADD end_date INT NULL AFTER start_date;

/admin/includes/langs/*
>> New entry MANDATORY
/admin/modules/booking/service/config.xml
/js/custom.js
/templates/default/models/details.php
/templates/default/common/update_booking.php

View only permission

/admin/includes/config.xsd
/admin/modules/default/list.php
/admin/modules/default/form.php
/admin/modules/booking/booking/config.xml (editor/manager permissions)

reCaptcha languages

/templates/default/common/header.php

Room blocked during the booking process
+ Booking reminder

/common/db.sql
>> New table pm_room_lock:

-- ============== CREATION OF THE TABLE pm_room_lock =============

CREATE TABLE pm_room_lock(
    id int NOT NULL AUTO_INCREMENT,
    id_room int,
    from_date int,
    to_date int,
    add_date int,
    sessid varchar(50),
    PRIMARY KEY(id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

ALTER TABLE pm_room_lock ADD CONSTRAINT room_lock_fkey FOREIGN KEY (id_room) REFERENCES pm_room(id) ON DELETE CASCADE ON UPDATE NO ACTION;

>> New entries in the table pm_text (! as usual, replace with your translation and lang ids):

INSERT INTO pm_text (id, lang, name, value) VALUES
(177, 1, 'COMPLETE_YOUR_BOOKING', 'Terminez votre réservation !'),
(177, 2, 'COMPLETE_YOUR_BOOKING', 'Complete your booking!'),
(177, 3, 'COMPLETE_YOUR_BOOKING', 'Complete your booking!');

/js/custom.js
/templates/default/models/booking.php
/templates/default/models/booking-activities.php
/templates/default/models/details.php
/templates/default/models/summary.php
/templates/default/models/payment.php
/templates/default/common/cancel_booking.php
/templates/default/common/functions.php
/templates/default/common/get_days.php
/templates/default/common/footer.php
/templates/default/css/main.css

FIXED ISSUES

Special characters in emails headers

/common/lib.php

RTL issue when foreign languages disabled

/common/define.php

Wrong dates manually entered blocked

/templates/default/models/booking.php