mirror of
https://gitlab.com/cief-data/dbt_cloud.git
synced 2026-08-19 04:14:00 +00:00
Fix total_value_rm formula
This commit is contained in:
@@ -240,7 +240,7 @@ transaction_orders_lists AS (
|
||||
transaction_orders.base_service_charge,
|
||||
-9999999999) AS service_charge_rm,
|
||||
|
||||
(value_rm + service_charge_rm + tax_rm) AS total_value_rm,
|
||||
(value_rm - service_charge_rm - tax_rm) AS total_value_rm,
|
||||
|
||||
transaction_orders.expired_datetime AS order_expected_expired_datetime,
|
||||
transaction_orders.deleted_datetime AS order_deleted_datetime,
|
||||
@@ -318,7 +318,7 @@ transaction_costs_lists AS (
|
||||
base_service_charge,
|
||||
-9999999999) AS service_charge_rm,
|
||||
|
||||
(value_rm + service_charge_rm + tax_rm) AS total_value_rm,
|
||||
(value_rm - service_charge_rm - tax_rm) AS total_value_rm,
|
||||
|
||||
expired_datetime,
|
||||
deleted_datetime,
|
||||
|
||||
Reference in New Issue
Block a user