fix typos
This commit is contained in:
parent
d4b797c741
commit
1974da99f7
1 changed files with 6 additions and 6 deletions
|
|
@ -61,10 +61,10 @@ select
|
|||
amount without tax = ( ------------- )
|
||||
1 + VAT Rate
|
||||
*/
|
||||
(p.amount - (p.amount / (1 + vat.vat_rates))) as tax_amount_in_txn_currency,
|
||||
(p.amount - (p.amount / (1 + vat.vat_rates))) * r.rate as tax_amount_in_gbp,
|
||||
(p.amount / (1 + vat.vat_rates)) as amount_without_taxes_in_txn_currency,
|
||||
(p.amount / (1 + vat.vat_rates)) * r.rate as amount_without_taxes_in_gbp,
|
||||
(p.amount - (p.amount / (1 + vat.vat_rate))) as tax_amount_in_txn_currency,
|
||||
(p.amount - (p.amount / (1 + vat.vat_rate))) * r.rate as tax_amount_in_gbp,
|
||||
(p.amount / (1 + vat.vat_rate)) as amount_without_taxes_in_txn_currency,
|
||||
(p.amount / (1 + vat.vat_rate)) * r.rate as amount_without_taxes_in_gbp,
|
||||
vat.vat_rate as applicable_vat_tax_rate,
|
||||
case
|
||||
when vat.vat_rate = 0
|
||||
|
|
@ -89,7 +89,7 @@ left join
|
|||
left join
|
||||
stg_core__verification_request vr
|
||||
on v.id_verification_request = vr.id_verification_request
|
||||
left join int_core__unified_user uu on vtp.id_guest_user == uu.id_user
|
||||
left join int_core__unified_user uu on vtp.id_guest_user = uu.id_user
|
||||
left join
|
||||
stg_seed__guest_services_vat_rates_by_country vat
|
||||
on uu.billing_country_iso_3 == vat.alpha_3
|
||||
on uu.billing_country_iso_3 = vat.alpha_3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue