@using EnVisage.Code @using Prevu.Core.Main @model Guid @{ var userId = SecurityManager.GetUserPrincipal(); var userManager = DependencyResolver.Current.GetService(); var user = userManager.GetUser(userId); var pagePreferences = userManager.GetPagePreferences(Url.Action("Edit", "Project").Substring(0, Url.Action("Edit", "Project").LastIndexOf("/")), "masterScenarioGrid", userId); var json = Newtonsoft.Json.JsonConvert.SerializeObject(new { ProjectId = Model, DataSection = "masterScenarioGrid", IsUOMHours = !user.PreferredResourceAllocation, PagePreferences = pagePreferences, }); }
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) }}