propagating renames

This commit is contained in:
Pablo Martin 2024-05-08 12:03:44 +02:00
parent a719aa2331
commit 9c338a31ce
4 changed files with 10 additions and 10 deletions

View file

@ -5,9 +5,9 @@ with
select
pvttoc.local_currency_iso_4217,
pvttoc.checkin_cover_guest_fee_local_curr,
pvttoc.checkin_cover_cover_amount_local_curr
pvttoc.checkin_cover_limit_amount_local_curr
from stg_core__payment_validation_set_to_currency pvttoc
group by
pvttoc.local_currency_iso_4217,
pvttoc.checkin_cover_guest_fee_local_curr,
pvttoc.checkin_cover_cover_amount_local_curr
pvttoc.checkin_cover_limit_amount_local_curr

View file

@ -87,9 +87,9 @@ select
p.amount_in_gbp,
p.payment_status,
p.payment_paid_date_utc,
ccp.checkin_cover_cover_amount_local_curr,
ccp.checkin_cover_cover_amount_local_curr
* (p.amount_in_gbp / p.amount_in_txn_currency) as checkin_cover_cover_amount_in_gbp
ccp.checkin_cover_limit_amount_local_curr,
ccp.checkin_cover_limit_amount_local_curr
* (p.amount_in_gbp / p.amount_in_txn_currency) as checkin_cover_limit_amount_in_gbp
from int_core__verification_requests vr
left join int_core__bookings b on vr.id_verification_request = b.id_verification_request
left join