Small changes
This commit is contained in:
parent
ed707849e7
commit
0fd8c21e38
2 changed files with 2 additions and 2 deletions
|
|
@ -125,7 +125,7 @@ with
|
||||||
int_daily_currency_exchange_rates cer_gbp
|
int_daily_currency_exchange_rates cer_gbp
|
||||||
on dri.created_date_utc = cer_gbp.rate_date_utc
|
on dri.created_date_utc = cer_gbp.rate_date_utc
|
||||||
and (cm.corrective_measure ->> 'Currency') = cer_gbp.from_currency
|
and (cm.corrective_measure ->> 'Currency') = cer_gbp.from_currency
|
||||||
and cer.to_currency = 'GBP'
|
and cer_gbp.to_currency = 'GBP'
|
||||||
group by dri.id_incident, dri.host_currency
|
group by dri.id_incident, dri.host_currency
|
||||||
),
|
),
|
||||||
guest_amounts_in_gbp as (
|
guest_amounts_in_gbp as (
|
||||||
|
|
|
||||||
|
|
@ -240,7 +240,7 @@ select
|
||||||
(
|
(
|
||||||
{{ adapter.quote("documents") }}
|
{{ adapter.quote("documents") }}
|
||||||
-> 'SavedCalculation'
|
-> 'SavedCalculation'
|
||||||
->> 'CalculatedGuestChargeAmountInUsd'
|
->> 'SubmittedGuestChargeAmountInUsd'
|
||||||
)::numeric as calculated_guest_charge_amount_in_usd,
|
)::numeric as calculated_guest_charge_amount_in_usd,
|
||||||
|
|
||||||
-- Third Party Compensation Claim
|
-- Third Party Compensation Claim
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue