diff --git a/models/reporting/core/core__vr_check_in_cover.sql b/models/reporting/core/core__vr_check_in_cover.sql index 3d01669..d137d9d 100644 --- a/models/reporting/core/core__vr_check_in_cover.sql +++ b/models/reporting/core/core__vr_check_in_cover.sql @@ -34,9 +34,6 @@ select amount_without_taxes_in_txn_currency as amount_without_taxes_in_txn_currency, total_amount_in_gbp as total_amount_in_gbp, amount_without_taxes_in_gbp as amount_without_taxes_in_gbp, - total_amount_in_txn_currency as amount_in_txn_currency, -- LEGACY - total_amount_in_gbp as amount_in_gbp, -- LEGACY - checkin_cover_limit_amount_local_curr as checkin_cover_limit_amount_local_curr, checkin_cover_limit_amount_in_gbp as checkin_cover_limit_amount_in_gbp from core__vr_check_in_cover diff --git a/models/reporting/core/schema.yml b/models/reporting/core/schema.yml index 1b48715..b67e6fa 100644 --- a/models/reporting/core/schema.yml +++ b/models/reporting/core/schema.yml @@ -323,19 +323,29 @@ models: description: | The date at which the guest finished the guest journey. - - name: amount_in_txn_currency + - name: total_amount_in_txn_currency data_type: numeric description: | The amount paid by the guest for the check-in cover, in the currency - in which the payment actually took place. + in which the payment actually took place. Tax inclusive. + + - name: amount_without_taxes_in_txn_currency + data_type: numeric + description: | + The equivalent amount paid by the guest for the check-in cover, in the currency + in which the payment actually took place, without taxes. - name: currency data_type: character varying description: The currency used by the guest for the payment. - - name: amount_in_gbp + - name: total_amount_in_gbp data_type: numeric - description: The amount paid by the guest, converted into GBP. + description: The amount paid by the guest, converted into GBP. Tax inclusive. + + - name: amount_without_taxes_in_gbp + data_type: numeric + description: The equivalent amount paid by the guest, converted into GBP and without taxes. - name: payment_status data_type: character varying