Fixed rate now submitted correctly.

This commit is contained in:
Clinton Alexander 2016-07-08 10:26:59 +01:00
parent 742200d781
commit ef4273e0d0

View File

@ -145,10 +145,10 @@ let Deal = function(dealViewModel) {
_.assign(fixedLeg, dealViewModel.fixedLeg);
_.assign(floatingLeg, dealViewModel.floatingLeg);
_.assign(common, dealViewModel.common);
fixedRateViewModel.fixedRate = Number(fixedLeg.fixedRate) / 100;
_.assign(fixedLeg.fixedRate, fixedRateViewModel);
fixedLeg.fixedRate = Number(fixedLeg.fixedRate) / 100;
common.tradeID = tradeId;
fixedLeg.effectiveDate = formatDateForNode(fixedLeg.effectiveDate);
fixedLeg.terminationDate = formatDateForNode(fixedLeg.terminationDate);