more features into reporting
This commit is contained in:
parent
bf01360fba
commit
aab6155b67
4 changed files with 144 additions and 12 deletions
|
|
@ -82,7 +82,17 @@ with
|
|||
select
|
||||
v.id_verification,
|
||||
v.id_booking,
|
||||
v.id_user_partner,
|
||||
v.id_accommodation,
|
||||
v.listing_town,
|
||||
v.listing_country,
|
||||
v.verification_status,
|
||||
v.channel,
|
||||
v.company_name,
|
||||
v.is_cancelled,
|
||||
er.currency,
|
||||
v.nightly_fee_local,
|
||||
v.number_nights,
|
||||
er.ok_status_fee_in_txn_currency,
|
||||
er.ok_status_fee_in_gbp,
|
||||
er.rejected_fee_in_txn_currency,
|
||||
|
|
@ -98,6 +108,8 @@ select
|
|||
else 0
|
||||
end as cancelled_fee_in_gbp,
|
||||
v.created_date_utc,
|
||||
v.cancelled_date_utc,
|
||||
v.checkin_date_utc,
|
||||
v.checkout_date_utc
|
||||
from int_edeposit__verifications v
|
||||
inner join edeposit_records er on er.id_verification = v.id_verification
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue