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

Panda Resort - 7.5.0 (Jan 31, 2020)

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

NEW FEATURES/IMPROVEMENTS

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
(183, 1, 'COUPON_CODE_FAILURE', 'Erreur : ce code est invalide ou a déjà été utilisé'),
(183, 2, 'COUPON_CODE_FAILURE', 'Error: this code is invalid or already used'),
(183, 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
(184, 1, 'PAYMENT_RAZORPAY_NOTICE', 'Cliquez sur "Payer", puis remplissez le formulaire avec les informations de votre carte de crédit.'),
(184, 2, 'PAYMENT_RAZORPAY_NOTICE', 'Click on "Check Out", then fill in the form with your credit card information.'),
(184, 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

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