Calculator changes
This commit is contained in:
parent
eeb47cf6d8
commit
b20cb44779
6 changed files with 176 additions and 52 deletions
|
|
@ -189,20 +189,27 @@ select
|
|||
|
||||
-- Resolutions calculator
|
||||
i.protection_name,
|
||||
i.was_overriden,
|
||||
i.waiver_or_deposit_name,
|
||||
i.guest_verification_status,
|
||||
i.lower_protection_limit_usd,
|
||||
i.upper_protection_limit_usd,
|
||||
i.calculated_payout_amount_in_txn_currency,
|
||||
i.calculated_payout_currency,
|
||||
i.calculated_payout_amount_in_usd,
|
||||
(i.calculated_payout_amount_in_usd * cer.rate)::decimal(
|
||||
19, 4
|
||||
) as calculated_payout_amount_in_gbp,
|
||||
i.submitted_payout_amount_in_txn_currency,
|
||||
i.submitted_payout_currency,
|
||||
(i.submitted_payout_amount_in_usd * cer.rate)::decimal(
|
||||
19, 4
|
||||
) as submitted_payout_amount_in_gbp,
|
||||
i.calculated_guest_charge_amount_in_txn_currency,
|
||||
i.calculated_guest_charge_currency,
|
||||
(i.calculated_guest_charge_amount_in_usd * cer.rate)::decimal(
|
||||
19, 4
|
||||
) as calculated_guest_charge_amount_in_gbp,
|
||||
i.submitted_guest_charge_amount_in_txn_currency,
|
||||
i.submitted_guest_charge_currency,
|
||||
i.submitted_guest_charge_amount_in_usd,
|
||||
(i.submitted_guest_charge_amount_in_usd * cer.rate)::decimal(
|
||||
19, 4
|
||||
) as submitted_guest_charge_amount_in_gbp,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue