mirror of
https://github.com/corda/corda.git
synced 2025-01-20 11:39:09 +00:00
Fixed rate now submitted correctly.
This commit is contained in:
parent
742200d781
commit
ef4273e0d0
@ -145,10 +145,10 @@ let Deal = function(dealViewModel) {
|
|||||||
_.assign(fixedLeg, dealViewModel.fixedLeg);
|
_.assign(fixedLeg, dealViewModel.fixedLeg);
|
||||||
_.assign(floatingLeg, dealViewModel.floatingLeg);
|
_.assign(floatingLeg, dealViewModel.floatingLeg);
|
||||||
_.assign(common, dealViewModel.common);
|
_.assign(common, dealViewModel.common);
|
||||||
|
|
||||||
fixedRateViewModel.fixedRate = Number(fixedLeg.fixedRate) / 100;
|
|
||||||
_.assign(fixedLeg.fixedRate, fixedRateViewModel);
|
_.assign(fixedLeg.fixedRate, fixedRateViewModel);
|
||||||
|
|
||||||
|
fixedLeg.fixedRate = Number(fixedLeg.fixedRate) / 100;
|
||||||
|
|
||||||
common.tradeID = tradeId;
|
common.tradeID = tradeId;
|
||||||
fixedLeg.effectiveDate = formatDateForNode(fixedLeg.effectiveDate);
|
fixedLeg.effectiveDate = formatDateForNode(fixedLeg.effectiveDate);
|
||||||
fixedLeg.terminationDate = formatDateForNode(fixedLeg.terminationDate);
|
fixedLeg.terminationDate = formatDateForNode(fixedLeg.terminationDate);
|
||||||
|
Loading…
Reference in New Issue
Block a user