From 08ff92b3e9ad7af82612684e2248526555dd158e Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Tue, 25 Jun 2024 11:39:37 +0200 Subject: [PATCH] make stg naming coherent with other xero models --- models/staging/xero/stg_xero__bank_transactions.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/staging/xero/stg_xero__bank_transactions.sql b/models/staging/xero/stg_xero__bank_transactions.sql index 75d9f42..f2e4832 100644 --- a/models/staging/xero/stg_xero__bank_transactions.sql +++ b/models/staging/xero/stg_xero__bank_transactions.sql @@ -14,7 +14,7 @@ with {{ adapter.quote("DateString") }} as date_string, {{ adapter.quote("Total") }} as total_amount_local_curr, - {{ adapter.quote("SubTotal") }} as subtotal_local_curr, + {{ adapter.quote("SubTotal") }} as total_amount_wo_tax_local_curr, {{ adapter.quote("TotalTax") }} as total_tax_local_curr, {{ adapter.quote("CurrencyCode") }} as transaction_currency_iso_4217, 1 / {{ adapter.quote("CurrencyRate") }} as exchange_rate_to_gbp,