diff --git a/pms/controllers/pms_portal.py b/pms/controllers/pms_portal.py index 72d0c590d..c08a6f20a 100644 --- a/pms/controllers/pms_portal.py +++ b/pms/controllers/pms_portal.py @@ -752,6 +752,6 @@ class PortalPrecheckin(CustomerPortal): ) firstname = kw["firstname"] email = kw["email"] - checkin_partner.write({"firstname": firstname, "email": email}) - checkin_partner.send_portal_invitation_email(firstname, email) - # request.portal_my_folio_precheckin(kw) + if firstname and email: + checkin_partner.write({"firstname": firstname, "email": email}) + checkin_partner.send_portal_invitation_email(firstname, email) diff --git a/pms/data/pms_confirmed_reservation_email_template.xml b/pms/data/pms_confirmed_reservation_email_template.xml index aedc5d3fc..b4de65eac 100644 --- a/pms/data/pms_confirmed_reservation_email_template.xml +++ b/pms/data/pms_confirmed_reservation_email_template.xml @@ -163,6 +163,7 @@ +
% if object.pms_property_id.mail_information @@ -179,6 +180,52 @@ % endif
+ + +
+
+ Do your check-in now and save time. +
+ Access our quick registration system. In a few steps you will be able to register your data in an agile, simple and secure way, avoiding queues at reception. + If you register your data in our system, your passage through reception will be much faster, being able to enjoy the comfort of your room right away. + + + + +
+ +
Check-in +
+
Hacer check-in
+
+
+ +
- Precheckin
- -
-
-
+
+
+
-
+
-
+
-
- - - - - -
-
- - - - - -
-
- - - - - - -
-
- - - - - -
-
- - - - - -
-
- - - - - -
-
+
-
+
+ + + + + +
+
+ + + + + +
+
+ + + + + + +
+
+ + + + + +
+
-
+
+
+ + + + + +
+
+ + + + + +
+
+ +
-
- -
- -