@model Guid @using Microsoft.AspNet.Identity @{ var currentUser = (new EnVisage.Code.Cache.UsersCache()).Value.FirstOrDefault(x => x.Id == new Guid(User.Identity.GetID())); var json = Newtonsoft.Json.JsonConvert.SerializeObject(new { ProjectId = Model, DataSection = "masterScenarioGrid", IsUOMHours = !currentUser.PreferredResourceAllocation, PagePreferences = currentUser.GetPreferences(Url.Action("Edit", "Project").Substring(0, Url.Action("Edit", "Project").LastIndexOf("/")), "masterScenarioGrid"), }); }
Master Scenario
Name Grand Totals {{header.Title}}
{{ header.IsMonth ? '' : header.Title}}
{{ row.ExpCatName || 'empty' }} {{ calendarFilters.IsTableModeQuantity ? (row.GrandTotalQuantity || 0 | number:2) : (row.GrandTotalCost || 0 | currency) }} {{ calendarFilters.IsTableModeQuantity ? (col || 0 | number:2) : (col || 0 | currency) }}
 
{{res.Name}}
{{ calendarFilters.IsTableModeQuantity ? (res.GrandTotalQuantity || 0 | number:2) : (res.GrandTotalCost || 0 | currency) }} {{ calendarFilters.IsTableModeQuantity ? (col || 0 | number:2) : "N/A" }}
  There are no resources in this category
{{data.ScenarioCalendar[0].ExpCatName}} {{calendarFilters.IsTableModeQuantity ? (data.ScenarioCalendar[0].GrandTotalQuantity || 0 | number:2) : (data.ScenarioCalendar[0].GrandTotalCost || 0 | currency)}} {{ calendarFilters.IsTableModeQuantity ? (col || 0 | number:2) : (col || 0 | currency) }}