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

Panda Resort - 4.1.0 (Nov 17, 2016)

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

NEW FEATURES/IMPROVEMENTS

Fixed amount for discount (rooms and activities)

/common/db.sql
>> new column "discount_type" in the tables pm_rate and pm_activity_session:

ALTER TABLE pm_rate ADD discount_type varchar(10);
UPDATE pm_rate SET discount_type = 'rate' WHERE discount != '' AND discount > 0;
ALTER TABLE pm_activity_session ADD discount_type varchar(10);
UPDATE pm_activity_session SET discount_type = 'rate' WHERE discount != '' AND discount > 0;

/admin/includes/fn_form.php
/admin/modules/booking/rate/config.xml
/templates/default/models/booking.php
/templates/default/common/get_activity_sessions.php

Linked combobox fields to generate relative content

/common/lib.php
/admin/includes/fn_list.php
/admin/includes/fn_form.php
/admin/includes/Filter.class.php
/admin/includes/Field.class.php
/admin/includes/config.xsd
/admin/includes/inc_header_common.php
/admin/includes/inc_header_form.php

Multi user selection in the admin panel

/common/db.sql
>> column "id_user" (int) becomes "users" (text) in tables pm_article
>> remove column "id_user" from tables pm_activity and pm_activity_session:

ALTER TABLE pm_article CHANGE id_user users TEXT;
ALTER TABLE pm_activity DROP COLUMN id_user;
ALTER TABLE pm_activity_session DROP COLUMN id_user;

/admin/index.php
/admin/includes/lang.ini (USER)
/admin/includes/fn_form.php
/admin/modules/article/config.xml
/admin/modules/default/list.php
/admin/modules/default/form.php
/templates/default/models/article.php

New duration for activity (week) + translation

/common/db.sql
>> new entries in table pm_text (!replace with your translation and lang ids):

INSERT INTO pm_text (id, lang, name, value) VALUES
(138, 1, 'MINUTES', 'minute(s)'),
(138, 2, 'MINUTES', 'minute(s)'),
(138, 3, 'MINUTES', 'minute(s)'),
(139, 1, 'HOURS', 'heure(s)'),
(139, 2, 'HOURS', 'hour(s)'),
(139, 3, 'HOURS', 'hour(s)'),
(140, 1, 'DAYS', 'jour(s)'),
(140, 2, 'DAYS', 'day(s)'),
(140, 3, 'DAYS', 'day(s)'),
(141, 1, 'WEEKS', 'semaine(s)'),
(141, 2, 'WEEKS', 'week(s)'),
(141, 3, 'WEEKS', 'week(s)');
UPDATE pm_activity SET duration_unit = 'hours' WHERE duration_unit = 'hour(s)';
UPDATE pm_activity SET duration_unit = 'minutes' WHERE duration_unit = 'minute(s)';
UPDATE pm_activity SET duration_unit = 'days' WHERE duration_unit = 'day(s)';"

/admin/modules/booking/activity/config.xml
/templates/default/models/activity.php
/templates/default/models/booking-activities.php

Search engine crawler

/common/db.sql
>> new entries in table pm_text (!replace with your translation and lang ids):

INSERT INTO pm_text (id, lang, name, value) VALUES
(142, 1, 'RESULTS', 'RĂ©sultats'),
(142, 2, 'RESULTS', 'Results'),
(142, 3, 'RESULTS', 'Results');

/common/lib.php
/includes/pdftotext/
/templates/default/models/search.php

FIXED ISSUES

Wrong restriction on a non-required field (contact > email)

/admin/settings.php

Booking results order

/templates/default/models/booking.php