Updating the Web UI to support the SIM exchange.
This commit is contained in:
1 parent
02a867f8a4
commit
442fbd2888
3 files changed
+8
-5
No files matched your search
@@ -88,12 +88,11 @@ module Accounts =
|
||||
executionDecisionId=""
|
||||
clientId=""
|
||||
mfidId="" }
|
||||
simAccountData =
|
||||
{ cti = CTICode.CtiCodeUndefined
|
||||
simAccountData =
|
||||
{ cti = CTICode.CtiCodeUndefined
|
||||
origin = CustomerOrFirm.CustomerOrFirmCustomer
|
||||
takeupMemberCode = ""
|
||||
clearingAccount = ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -57,6 +57,10 @@ let defaultScratchUser = {
|
||||
maxOrderRatePerConnection = ""
|
||||
location = ""
|
||||
}
|
||||
simData = {
|
||||
operatorId = ""
|
||||
location = ""
|
||||
}
|
||||
iceData = {
|
||||
authorizedTrader = ""
|
||||
memoField = ""
|
||||
|
||||
Reference in new issue
Block a user