diff --git a/MoneyMap/Pages/AccountDetails.cshtml b/MoneyMap/Pages/AccountDetails.cshtml new file mode 100644 index 0000000..5979047 --- /dev/null +++ b/MoneyMap/Pages/AccountDetails.cshtml @@ -0,0 +1,136 @@ +@page "{id:int}" +@model MoneyMap.Pages.AccountDetailsModel +@{ + ViewData["Title"] = $"Account - {Model.Account.DisplayLabel}"; +} + +
@Model.Account.Last4| Card | +Owner | +Transactions | +Actions | +
|---|---|---|---|
|
+
+ @item.Card.Issuer •••• @item.Card.Last4
+ @if (!string.IsNullOrEmpty(item.Card.Nickname))
+ {
+
+ + @item.Card.Nickname + } + |
+ @item.Card.Owner | +@item.TransactionCount | +
+
+
+ Edit
+
+ @if (item.TransactionCount == 0)
+ {
+
+ }
+ else
+ {
+
+ }
+
+ |
+
No cards linked to this account yet.
+ Add First Card +