From bf9652f258a00b4820b669e1f35406e2d3896279 Mon Sep 17 00:00:00 2001 From: Joaquin Ossa Date: Tue, 20 Aug 2024 14:11:21 +0200 Subject: [PATCH] Finished adding address_validation to reporting --- models/reporting/core/core__vr_check_in_cover.sql | 2 ++ models/reporting/core/schema.yaml | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/models/reporting/core/core__vr_check_in_cover.sql b/models/reporting/core/core__vr_check_in_cover.sql index 7276f3f..b978fb2 100644 --- a/models/reporting/core/core__vr_check_in_cover.sql +++ b/models/reporting/core/core__vr_check_in_cover.sql @@ -10,6 +10,8 @@ select is_past_check_in as is_past_check_in, is_awaiting_check_in as is_awaiting_check_in, cover_was_purchased as cover_was_purchased, + address_validation_passed as address_validation_passed, + address_validation_notes as address_validation_notes, cover_was_rejected as cover_was_rejected, guest_email as guest_email, last_name as last_name, diff --git a/models/reporting/core/schema.yaml b/models/reporting/core/schema.yaml index 67987f1..dd59f09 100644 --- a/models/reporting/core/schema.yaml +++ b/models/reporting/core/schema.yaml @@ -244,6 +244,16 @@ models: This is identified by the fact that there is a payment of type check-in cover associated with this guest journey. + - name: address_validation_passed + data_type: boolean + description: + "Boolean to indicate if the validation was approved or not. + In case there was a problem with the validation it will be Null" + + - name: address_validation_notes + data_type: character varying + description: "Notes in case there was some problem with the validation." + - name: cover_was_rejected data_type: boolean description: |