reorder case for readability

This commit is contained in:
Pablo Martin 2024-09-13 13:07:26 +02:00
parent 0312a1ccd8
commit ec8490527d

View file

@ -33,10 +33,10 @@ with
then false then false
when vat.vat_rate = 0 when vat.vat_rate = 0
then false then false
when vat.vat_rate < 1 and vat.vat_rate > 0
then true
when uu.billing_country_iso_3 is null when uu.billing_country_iso_3 is null
then false then false
when vat.vat_rate < 1 and vat.vat_rate > 0
then true
else false else false
end as is_vat_taxed, end as is_vat_taxed,
(uu.billing_country_iso_3 is null) as is_missing_user_country, (uu.billing_country_iso_3 is null) as is_missing_user_country,