Updating the Web UI to support the SIM exchange.

This commit is contained in:
Pedro Pinto committed 2018-07-13 17:15:38 +00:00
1 parent 02a867f8a4
commit 442fbd2888
3 files changed
+8 -5

No files matched your search

+3 -4
View File
@@ -88,12 +88,11 @@ module Accounts =
executionDecisionId=""
clientId=""
mfidId="" }
simAccountData =
{ cti = CTICode.CtiCodeUndefined
simAccountData =
{ cti = CTICode.CtiCodeUndefined
origin = CustomerOrFirm.CustomerOrFirmCustomer
takeupMemberCode = ""
clearingAccount = ""
}
}
}
}
+1 -1
View File
@@ -161,7 +161,7 @@ let update msg (model:Model) : Model * Cmd<Msg> =
// Exchange data
| UpdateCME field ->
let newCme = applyCMEUpdate model.scratch.exchangeAccountData.cmeAccountData field
let scratch = { model.scratch with exchangeAccountData = { cmeAccountData = newCme; iceAccountData = model.scratch.exchangeAccountData.iceAccountData } }
let scratch = { model.scratch with exchangeAccountData = { cmeAccountData = newCme; simAccountData = newSim ; iceAccountData = model.scratch.exchangeAccountData.iceAccountData } }
{ model with scratch = scratch }, Cmd.Empty
| RequestProducts ->
model, Cmd.ofExistingPromise (requestProducts model.mdRelay) id (box>>ErrorOccured)
+4
View File
@@ -57,6 +57,10 @@ let defaultScratchUser = {
maxOrderRatePerConnection = ""
location = ""
}
simData = {
operatorId = ""
location = ""
}
iceData = {
authorizedTrader = ""
memoField = ""