diff options
Diffstat (limited to 'python/Dawn')
| -rw-r--r-- | python/Dawn/static/dawn.js | 2 | ||||
| -rw-r--r-- | python/Dawn/templates/swaption_blotter.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/python/Dawn/static/dawn.js b/python/Dawn/static/dawn.js index 9bad1b18..a753bc70 100644 --- a/python/Dawn/static/dawn.js +++ b/python/Dawn/static/dawn.js @@ -17,7 +17,7 @@ for(var begin_index in bbg_map){ $(function() { $('#security_desc').attr('list', 'index_list'); $('#security_desc').change(function(){ - $.getJSON('../_ajax', {bbg_id: $(this).val(), + $.getJSON('../../_ajax', {bbg_id: $(this).val(), trade_date: $('#trade_date').val()}). done(function(data) { $('#fixed_rate').val(data['coupon']/100); diff --git a/python/Dawn/templates/swaption_blotter.html b/python/Dawn/templates/swaption_blotter.html index 6057ffe1..592a026a 100644 --- a/python/Dawn/templates/swaption_blotter.html +++ b/python/Dawn/templates/swaption_blotter.html @@ -21,7 +21,7 @@ <tr> <td><a href="{{url_for('trade_manage', tradeid=trade.id, kind='cds')}}">{{trade.dealid}}</a></td> <td>{{trade.trade_date}}</td> - <td>{{trade.premium_settle_date}}</td> + <td>{{trade.settle_date}}</td> <td>{% if trade.buysell %}Buy{% else %}Sell{% endif %}</td> <td>{{"{0:,.2f}".format(trade.notional)}}</td> <td>{{trade.swaption_type}}</td> |
