diff --git a/EnotaryoPH/EnotaryoPH.Web/Pages/Principal/Dashboard/Dashboard.cshtml b/EnotaryoPH/EnotaryoPH.Web/Pages/Principal/Dashboard/Dashboard.cshtml index 7877af9..5101fd9 100644 --- a/EnotaryoPH/EnotaryoPH.Web/Pages/Principal/Dashboard/Dashboard.cshtml +++ b/EnotaryoPH/EnotaryoPH.Web/Pages/Principal/Dashboard/Dashboard.cshtml @@ -69,8 +69,8 @@ - @if(Model.CompletedDocuments.Count > 0){ - @foreach (var item in Model.CompletedDocuments) + @if(Model.IncompleteDocuments.Count > 0){ + @foreach (var item in Model.IncompleteDocuments) { @item.Type @@ -104,9 +104,9 @@ - @if (Model.CompletedDocuments.Count > 0) + @if (Model.IdentificationDocuments.Count > 0) { - @foreach (var item in Model.CompletedDocuments) + @foreach (var item in Model.IdentificationDocuments) { @item.Type @@ -127,10 +127,10 @@
- +
diff --git a/EnotaryoPH/EnotaryoPH.Web/Pages/Principal/Dashboard/Dashboard.cshtml.cs b/EnotaryoPH/EnotaryoPH.Web/Pages/Principal/Dashboard/Dashboard.cshtml.cs index e3034c5..2efe50c 100644 --- a/EnotaryoPH/EnotaryoPH.Web/Pages/Principal/Dashboard/Dashboard.cshtml.cs +++ b/EnotaryoPH/EnotaryoPH.Web/Pages/Principal/Dashboard/Dashboard.cshtml.cs @@ -8,8 +8,8 @@ namespace EnotaryoPH.Web.Pages.Principal.Dashboard { public class DashboardModel : PageModel { - private readonly NotaryoDBContext _notaryoDBContext; private readonly ICurrentUserService _currentUserService; + private readonly NotaryoDBContext _notaryoDBContext; public DashboardModel(NotaryoDBContext notaryoDBContext, ICurrentUserService currentUserService) { @@ -49,13 +49,13 @@ namespace EnotaryoPH.Web.Pages.Principal.Dashboard { Date = id.UploadedOn, Type = id.Type, - Link = "#" + Link = $"/Principal/IdentificationDocument/IdentificationDocument/{id.IdentificationDocument_UID}" }) .ToList(); } public List CompletedDocuments { get; set; } - public List IncompleteDocuments { get; set; } public List IdentificationDocuments { get; set; } + public List IncompleteDocuments { get; set; } } } \ No newline at end of file