diff --git a/Pages/AccountView.razor b/Pages/AccountView.razor index b2cc714..103f3b8 100644 --- a/Pages/AccountView.razor +++ b/Pages/AccountView.razor @@ -302,7 +302,12 @@ + @if (account.Custodian?.ToLowerInvariant() == "treasury direct" || account.Custodian?.ToLowerInvariant() == "treasurydirect") + { + + } + @@ -1011,6 +1016,22 @@ appData.ImportResult = null; } + private void addIBOND(MouseEventArgs e, int accountIndex) + { + if (appData.FamilyData is not null) { + var account = appData.FamilyData.Accounts[accountIndex]; + if (account.SelectedInvestment != null) + { + account.SelectedInvestment.Selected = false; + } + + account.SelectedInvestment = new Investment(appData.FamilyData.PIN) { funds = Funds, Selected = true, Ticker = "IBOND" }; + account.Investments.Add(account.SelectedInvestment); + + account.SelectedInvestment.SelectedTransaction = new Transaction() { Type = "Edit" }; + } + } + private void addInvestment2(MouseEventArgs e, int accountIndex) { if (appData.FamilyData is not null) { var account = appData.FamilyData.Accounts[accountIndex]; diff --git a/wwwroot/cache.manifest b/wwwroot/cache.manifest index ba4ad25..34fa248 100644 --- a/wwwroot/cache.manifest +++ b/wwwroot/cache.manifest @@ -1,6 +1,6 @@ CACHE MANIFEST -# Version 1.0115 +# Version 1.0116 NETWORK: * \ No newline at end of file