@using EnVisage.Code.HtmlHelpers @using EnVisage.Code @using Microsoft.AspNet.Identity @model EnVisage.Models.ViewBoardModel
Teams
@if (Model.Teams.Any()) { @**@ @foreach (var team in Model.Teams) { if (team.PeopleResources.Any()) { foreach (var resource in team.PeopleResources) { @* SA. ENV-756 *@ @if (resource.ExpenditureCategory == null) { } else { @* SA. ENV-756. ENV-839 *@ } @**@ } } else { } }
Name Active Employee Start Date End Date Expenditure
@team.Name
@(resource.FirstName + " " + resource.LastName) @(resource.IsActiveEmployee ? "Active" : "Inactive") @resource.StartDate.ToShortDateString() @(!resource.PermanentResource && resource.EndDate.HasValue ? resource.EndDate.Value.ToShortDateString() : "")No expenditure@resource.ExpenditureCategory.GetView().ExpCategoryWithCcName @if (SecurityManager.CheckSecurityObjectPermission(Areas.Resources, AccessLevel.Write)) { Edit Delete }
No resources in the team.
} else { No teams in the department. }