{{define "content"}}

Заявка {{slice .Claim.ID 0 8}} · {{ruState .Claim.Status}}

{{if .Claim.IIAAgreement}} {{end}}
Создана{{.Claim.CreatedAt.Format "02.01.2006 15:04:05"}}
Обновлена{{.Claim.UpdatedAt.Format "02.01.2006 15:04:05"}}
M2M GUID{{.Claim.M2MGUID}}
Инвестор{{.Claim.Investor.LastName}} {{.Claim.Investor.FirstName}} {{.Claim.Investor.MiddleName}}
Документтип {{.Claim.Investor.Document.DocumentType}}, серия {{.Claim.Investor.Document.Series}}, номер {{.Claim.Investor.Document.Number}}
Передающий депозитарийИНН {{.Claim.TransferringDepositoryINN}}
Принимающий депозитарийИНН {{.Claim.ReceivingDepositoryINN}}
ИИС{{.Claim.IIAAgreement.AgreementType}} № {{.Claim.IIAAgreement.AgreementNumber}} от {{.Claim.IIAAgreement.AgreementDate}}, брокер ИНН {{.Claim.IIAAgreement.BrokerINN}}

Ценные бумаги ({{len .Claim.Securities}})

{{range .Claim.Securities}} {{end}}
КодISIN / описаниеКоличествоСчетов депо
{{.SecurityCode}} {{if .SecurityDetails.ISIN}}{{.SecurityDetails.ISIN}}{{else if .SecurityDetails.SecurityInfo}}{{.SecurityDetails.SecurityInfo.Classification}} / {{.SecurityDetails.SecurityInfo.Category}}{{if .SecurityDetails.SecurityInfo.IdentificationDetails.FundShares}} · ПИФ {{.SecurityDetails.SecurityInfo.IdentificationDetails.FundShares.RegNumber}} класс {{.SecurityDetails.SecurityInfo.IdentificationDetails.FundShares.Class}}{{end}}{{end}} {{if .Quantity.Whole}}{{.Quantity.Whole}}{{else}}{{.Quantity.Fractional}}{{end}} {{len .SettlementAccounts}}

История FSM

{{range .Claim.Stages}} {{end}}
СостояниеВошлиВышлиПричина
{{ruState .State}} {{.EnteredAt.Format "15:04:05.000"}} {{if .LeftAt}}{{.LeftAt.Format "15:04:05.000"}}{{else}}сейчас{{end}} {{.Reason}}
{{if .Claim.M2MResponse}}

Ответ НРД (M2MTransferResponse)

GUID {{.Claim.M2MResponse.GUID}} · Status {{.Claim.M2MResponse.StatusCode}}

{{range .Claim.M2MResponse.Responses}} {{end}}
ReferenceIDКодТекст
{{.ReferenceID}}{{.Code}}{{.Text}}
{{end}} {{if .Claim.M2MDecision}}

Решение принимающей стороны (M2MTransferDecision)

GUID {{.Claim.M2MDecision.GUID}}

{{range .Claim.M2MDecision.Securities}} {{end}}
ReferenceIDРешениеКоды отказа
{{.ReferenceID}} {{ruOutcome .Outcome}} {{range .RejectCodes}}{{.}} {{end}}
{{end}} {{if .Claim.LastCallback}}

Последний callback в ЛК

{{if .Claim.LastCallback.ReasonCode}} {{end}}
Статус{{ruState .Claim.LastCallback.NewStatus}}
Код причины{{.Claim.LastCallback.ReasonCode}} {{.Claim.LastCallback.ReasonText}}
Время{{.Claim.LastCallback.UpdatedAt.Format "02.01.2006 15:04:05"}}
{{end}} {{end}}