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

Panda Resort - 7.1.0 (Dec 8, 2018)

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

NEW FEATURES/IMPROVEMENTS

Braintree payment option

/common/config.php
>> New entries BRAINTREE_MERCHANT_ID, BRAINTREE_PUBLIC_KEY, BRAINTREE_PRIVATE_KEY
/admin/settings.php
/includes/payments/braintree/
/templates/default/models/payment.php

Select children age ranges

/admin/includes/langs/*
>> New entries CHILDREN_RATES, MIN_AGE and MAX_AGE
/admin/modules/booking/rate/config.xml
/common/db.sql
>> New table pm_rate_child

-- ============== CREATION OF THE TABLE pm_rate_child ============

CREATE TABLE pm_rate_child(
    id int NOT NULL AUTO_INCREMENT,
    id_rate int NOT NULL,
    min_age int,
    max_age int,
    price double DEFAULT 0,
    PRIMARY KEY(id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

ALTER TABLE pm_rate_child ADD CONSTRAINT rate_child_fkey FOREIGN KEY (id_rate) REFERENCES pm_rate(id) ON DELETE CASCADE ON UPDATE NO ACTION;

>> New entries in the table pm_text

INSERT INTO pm_text (id, lang, name, value) VALUES
(179, 1, 'CHILDREN_AGE', 'Age des enfants'),
(179, 2, 'CHILDREN_AGE', 'Age of children'),
(179, 3, 'CHILDREN_AGE', 'Age of children');

/templates/default/models/booking.php
/templates/default/common/change_num_rooms.php
/templates/default/common/change_num_people.php
/templates/default/common/functions.php

FIXED ISSUES

Bug on booking request

/templates/default/models/booking.php

Bug in the alerts on submitting booking details

/templates/default/common/footer.php
/js/custom.js

Issue on filling fields with GET values

/admin/modules/default/form.php