From b84baec07a4e12105d1c026e258db21c9dfb6ff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Lodeiros?= Date: Mon, 30 Oct 2023 13:12:35 +0100 Subject: [PATCH] [ADD]pms_civitfun: supportDocumentNumber --- pms_civitfun/services/pms_checkin_partner_service.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pms_civitfun/services/pms_checkin_partner_service.py b/pms_civitfun/services/pms_checkin_partner_service.py index 755dad4e56..bd335ac4ea 100644 --- a/pms_civitfun/services/pms_checkin_partner_service.py +++ b/pms_civitfun/services/pms_checkin_partner_service.py @@ -139,6 +139,10 @@ def _mapped_hosts_info(self, guest): checkin_vals["support_number"] = guest.customFields.get( "document_support_number" ) + if guest.customFields.get("documentSupportNumber"): + checkin_vals["support_number"] = guest.customFields.get( + "documentSupportNumber" + ) if guest.customFields.get("address"): checkin_vals["residence_street"] = guest.customFields.get( "address"