Final update
This commit is contained in:
parent
cfc6971cb4
commit
465bd51ff2
4 changed files with 18 additions and 26 deletions
|
|
@ -301,6 +301,13 @@ models:
|
|||
data_type: text
|
||||
description: "List of items that were damaged."
|
||||
|
||||
- name: calculation_at_utc
|
||||
data_type: timestamp without time zone
|
||||
description: "Timestamp of the calculation."
|
||||
data_tests:
|
||||
- not_null:
|
||||
where: "calculated_payout_amount_in_txn_currency > 0"
|
||||
|
||||
- name: protection_name
|
||||
data_type: text
|
||||
description: "Indicates the selected booking protection plan,
|
||||
|
|
|
|||
|
|
@ -194,6 +194,9 @@ select
|
|||
-- Calculator
|
||||
{{ adapter.quote("documents") }}
|
||||
-> 'SavedCalculation'
|
||||
->> 'CalculationDate' as calculation_at_utc,
|
||||
{{ adapter.quote("documents") }}
|
||||
-> 'SavedCalculation'
|
||||
->> 'ProtectionName' as protection_name,
|
||||
({{ adapter.quote("documents") }} -> 'SavedCalculation' ->> 'WasOverriden')::boolean
|
||||
as was_overriden,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue