aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/Dawn/templates/swaption_blotter.html2
-rw-r--r--sql/dawn.sql2
2 files changed, 4 insertions, 0 deletions
diff --git a/python/Dawn/templates/swaption_blotter.html b/python/Dawn/templates/swaption_blotter.html
index b4e04979..5f62b556 100644
--- a/python/Dawn/templates/swaption_blotter.html
+++ b/python/Dawn/templates/swaption_blotter.html
@@ -17,6 +17,7 @@
<td>Counterparty</td>
<td>Trade Type</td>
<td>Strategy</td>
+ <td>Fund</td>
<td>Termination</td>
</tr>
</thead>
@@ -37,6 +38,7 @@
cpcode=trade.cp_code)}}">{{trade.name}}</a></td>
<td>{{trade.trade_type}}</td>
<td>{{trade.folder}}</td>
+ <td>{{trade.fund}}</td>
<td>{% if trade.trade_type == "New" %}<a href="{{url_for('terminate', dealid=trade.dealid, kind='swaption')}}">x</a>{% endif %}</td>
</tr>
{% endfor %}
diff --git a/sql/dawn.sql b/sql/dawn.sql
index 52d10548..3c8f0f63 100644
--- a/sql/dawn.sql
+++ b/sql/dawn.sql
@@ -1944,6 +1944,7 @@ SELECT swaptions.id,
'Assignment'
END AS trade_type,
folder,
+ fund,
termination_cp AS cp_code,
name,
option_type,
@@ -1963,6 +1964,7 @@ SELECT id,
security_id,
'New' AS trade_type,
folder,
+ fund,
cp_code,
name,
option_type,