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

Panda Multi Resorts - 7.4.0 (Jan 31, 2020)

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

NEW FEATURES/IMPROVEMENTS

Possibility to show/hide calendars on booking page

/admin/settings.php
/admin/includes/langs/*.ini
>> New entry "SHOW_CALENDAR"
/common/config(-tmp).php
>> New entry "SHOW_CALENDAR"
/templates/default/models/booking.php

One time coupon code

/common/db.sql
>> new column "once" in table pm_coupon:

ALTER TABLE pm_coupon ADD once INT NULL AFTER rooms;

>> new column "id_coupon" in table pm_booking:

ALTER TABLE pm_booking ADD id_coupon INT NULL AFTER discount;

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

INSERT INTO pm_text (id, lang, name, value) VALUES
(187, 1, 'COUPON_CODE_FAILURE', 'Erreur : ce code est invalide ou a déjà été utilisé'),
(187, 2, 'COUPON_CODE_FAILURE', 'Error: this code is invalid or already used'),
(187, 3, 'COUPON_CODE_FAILURE', 'Error: this code is invalid or already used');

/admin/modules/booking/coupon/config.xml
/admin/includes/langs/*.ini
>> new entry "ONE_TIME"
/templates/default/models/payment.php
/templates/default/common/update_booking.php

New payment option: Razorpay

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

INSERT INTO pm_text (id, lang, name, value) VALUES
(188, 1, 'PAYMENT_RAZORPAY_NOTICE', 'Cliquez sur "Payer", puis remplissez le formulaire avec les informations de votre carte de crédit.'),
(188, 2, 'PAYMENT_RAZORPAY_NOTICE', 'Click on "Check Out", then fill in the form with your credit card information.'),
(188, 3, 'PAYMENT_RAZORPAY_NOTICE', 'Click on "Check Out", then fill in the form with your credit card information.');

/common/config(-tmp).php
>> new entries "RAZORPAY_KEY_ID" and "RAZORPAY_KEY_SECRET"
/admin/settings.php
/admin/modules/booking/booking/config.xml
/includes/payments/razorpay_notify.php
/templates/default/models/payment.php
/templates/default/images/razorpay-cards.jpg
/templates/default/css/main.css
/admin/includes/langs/*.ini
>> new entries "KEY_ID" and "KEY_SECRET"

FIXED ISSUES

Wrong constant name ENABLE_BOOKING_REQUEST

/templates/default/models/booking.php

Date error on saving in the admin panel

/admin/modules/default/form.php

Payment entry on booking (Braintree + 2Checkout) in admin

/includes/payments/2checkout_notify.php
/includes/payments/braintree/checkout.php