mirror of
https://github.com/corda/corda.git
synced 2025-05-06 02:28:28 +00:00
Fixed issues arising from API changes.
This commit is contained in:
parent
f3e0a0c0be
commit
742200d781
@ -55,7 +55,7 @@ let floatingLegModel = {
|
|||||||
paymentDelay: 0,
|
paymentDelay: 0,
|
||||||
paymentCalendar: [ "London" ],
|
paymentCalendar: [ "London" ],
|
||||||
interestPeriodAdjustment: "Adjusted",
|
interestPeriodAdjustment: "Adjusted",
|
||||||
fixingPeriod: "TWODAYS",
|
fixingPeriodOffset: 2,
|
||||||
resetRule: "InAdvance",
|
resetRule: "InAdvance",
|
||||||
fixingsPerPayment: "Quarterly",
|
fixingsPerPayment: "Quarterly",
|
||||||
fixingCalendar: [ "NewYork" ],
|
fixingCalendar: [ "NewYork" ],
|
||||||
@ -123,8 +123,7 @@ let commonViewModel = {
|
|||||||
let dealViewModel = {
|
let dealViewModel = {
|
||||||
fixedLeg: fixedLegModel,
|
fixedLeg: fixedLegModel,
|
||||||
floatingLeg: floatingLegModel,
|
floatingLeg: floatingLegModel,
|
||||||
common: commonViewModel,
|
common: commonViewModel
|
||||||
notary: "Bank A"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// TODO: Fill out this lookup table and use it to inject into the view.
|
// TODO: Fill out this lookup table and use it to inject into the view.
|
||||||
@ -168,8 +167,7 @@ let Deal = function(dealViewModel) {
|
|||||||
fixedLeg: fixedLeg,
|
fixedLeg: fixedLeg,
|
||||||
floatingLeg: floatingLeg,
|
floatingLeg: floatingLeg,
|
||||||
calculation: calculationModel,
|
calculation: calculationModel,
|
||||||
common: common,
|
common: common
|
||||||
notary: dealViewModel.notary
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return json;
|
return json;
|
||||||
|
@ -250,8 +250,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label>Fixing Period</label>
|
<label>Fixing Period Offset</label>
|
||||||
<input type="text" name="fixingPeriod" ng-model="deal.floatingLeg.fixingPeriod"/>
|
<input type="number" name="fixingPeriodOffset" ng-model="deal.floatingLeg.fixingPeriodOffset"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label>Reset Rule</label>
|
<label>Reset Rule</label>
|
||||||
@ -272,7 +272,7 @@
|
|||||||
<input type="text" name="index" ng-model="deal.floatingLeg.index"/>
|
<input type="text" name="index" ng-model="deal.floatingLeg.index"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label>IndexSource</label>
|
<label>Index Source</label>
|
||||||
<input type="text" name="indexSource" ng-model="deal.floatingLeg.indexSource"/>
|
<input type="text" name="indexSource" ng-model="deal.floatingLeg.indexSource"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui container">
|
<div class="ui container">
|
||||||
@ -285,10 +285,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="sixteen wide column">
|
<div class="sixteen wide column">
|
||||||
<h3>Common</h3>
|
<h3>Common</h3>
|
||||||
<div class="field">
|
|
||||||
<label>Notary</label>
|
|
||||||
<input type="text" name="notary" ng-model="deal.notary"/>
|
|
||||||
</div>
|
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label>Base Currency</label>
|
<label>Base Currency</label>
|
||||||
<input type="text" name="baseCurrency" ng-model="deal.common.baseCurrency"/>
|
<input type="text" name="baseCurrency" ng-model="deal.common.baseCurrency"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user