edeposit_verifications_fees to reporting, this would be the model to use in the business overview report

This commit is contained in:
Joaquin Ossa 2024-09-04 09:27:13 +02:00
parent 470e5c7990
commit f8131d9111
2 changed files with 117 additions and 0 deletions

View file

@ -0,0 +1,18 @@
with
int_edeposit__verification_fees as (
select * from {{ ref("int_edeposit__verification_fees") }}
)
select
vf.id_verification as id_verification,
vf.id_booking as id_booking,
vf.currency as currency,
vf.ok_status_fee_in_txn_currency as ok_status_fee_in_txn_currency,
vf.ok_status_fee_in_gbp as ok_status_fee_in_gbp,
vf.rejected_fee_in_txn_currency as rejected_fee_in_txn_currency,
vf.rejected_fee_in_gbp as rejected_fee_in_gbp,
vf.cancelled_fee_in_gbp as cancelled_fee_in_gbp,
vf.cancelled_fee_in_txn_currency as cancelled_fee_in_txn_currency,
vf.created_date_utc as created_date_utc,
vf.checkout_date_utc as checkout_date_utc
from int_edeposit__verification_fees vf