aboutsummaryrefslogtreecommitdiffstats
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/dawn.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/dawn.sql b/sql/dawn.sql
index 44f77ee6..cd6059ec 100644
--- a/sql/dawn.sql
+++ b/sql/dawn.sql
@@ -3060,7 +3060,7 @@ CREATE OR REPLACE VIEW bond_settlements AS SELECT bt.id::text AS id,
bt.fund::fund,
bt.cp_code::text,
'BOND' AS asset_class,
- bt.account::text,
+ a.name::text as account,
'USD'::currency AS currency,
CASE
WHEN bt.buysell THEN - bt.net_amount::numeric(11,2)