remove variable that doesn't make sense anymore

This commit is contained in:
Pablo Martin 2024-09-25 16:12:55 +02:00
parent bea2e0d926
commit 0cd8f71889

View file

@ -1,7 +1,5 @@
{{ config(materialized="table") }} {{ config(materialized="table") }}
{% set vat_applicable_services = "('Waiver', 'Fee', 'CheckInCover')" %}
with with
stg_core__verification_to_payment as ( stg_core__verification_to_payment as (
select * from {{ ref("stg_core__verification_to_payment") }} select * from {{ ref("stg_core__verification_to_payment") }}
@ -37,7 +35,9 @@ with
else false else false
end as is_service_subject_to_vat, end as is_service_subject_to_vat,
case case
when vpt.verification_payment_type not in {{ vat_applicable_services }} when
vpt.verification_payment_type
not in ('Waiver', 'Fee', 'CheckInCover')
then false then false
when when
vpt.verification_payment_type = 'Waiver' vpt.verification_payment_type = 'Waiver'