add missing condition in where
This commit is contained in:
parent
8ddb695947
commit
fa97027aa4
1 changed files with 3 additions and 1 deletions
|
|
@ -58,7 +58,9 @@ with
|
|||
left join
|
||||
stg_seed__guest_services_vat_rates_by_country vat
|
||||
on gu.billing_country_iso_3 = vat.alpha_3
|
||||
where vpt.verification_payment_type not in ('Waiver', 'CheckInCover', 'Fee')
|
||||
where
|
||||
vpt.verification_payment_type not in ('Waiver', 'CheckInCover', 'Fee')
|
||||
or vpt.verification_payment_type is null
|
||||
-- Current logic is anything that's not in the list above is not taxed.
|
||||
),
|
||||
guest_driven_vat_details as (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue