@using EnVisage.Models @model ScenarioDetailModel @{ var isUOMHoursChecked = "checked"; if (ViewBag.IsUOMHours != null) { isUOMHoursChecked = ViewBag.IsUOMHours ? "checked" : string.Empty; } }
@Html.ValidationSummary("The following errors occurred:")
@*
*@
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) }} @* {{ calendarFilters.IsTableModeQuantity ? (col || 0 | number:2) : (col || 0 | currency) }} *@
{{ 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" }} @* {{ calendarFilters.IsTableModeQuantity ? (col || 0 | number:2) : "N/A" }} *@
 
Assign a person:

{{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) }}
@using (Ajax.BeginForm("UpdateTeamsAllocation", "Scenarios", new AjaxOptions { HttpMethod = "Post", OnSuccess = "onTeamsAllocSuccess", OnFailure = "onTeamsAllocFailure", UpdateTargetId = "teamsAllocation" }, new { @id = "teamsAllocationForm" })) { @Html.HiddenFor(model => model.TeamAllocationsJson) @Html.HiddenFor(model => model.Id) @Html.HiddenFor(model => model.ParentId) @Html.HiddenFor(model => model.TeamAllocations) }