@model EnVisage.Models.SingleResQtiesOrCostByTimeModel @using EnVisage.Code; @using EnVisage.Code.HtmlHelpers; @using EnVisage.Models; @using Microsoft.AspNet.Identity; @{ ViewBag.Title = "Single Resource Quantities or Cost by Time"; var isUOMHoursChecked = "checked"; if (ViewBag.IsUOMHours != null) { isUOMHoursChecked = ViewBag.IsUOMHours ? "checked" : string.Empty; } } @section scripts { } @section pagemenu { }
@Html.Partial("_filter", Model)
@Html.LabelFor(model => model.SelectedCapacity, new {@class = "control-label"})
@Html.DropDownListFor(model => model.SelectedCapacity, Utils.GetCapacityDropdown(), new {@class = "form-control disabled", @onchange = "updateHidden(this.name, $(this).val());"})
@Html.LabelFor(model => model.SeatsCosts, new {@class = "control-label"})
@Html.DropDownListFor(model => model.SeatsCosts, Utils.GetListboxItems(), new {@class = "form-control disabled", @onchange = "updateHidden(this.name, $(this).val());"})
@Html.LabelFor(model => model.StartDate, new {@class = "control-label"}) @Html.EditorFor(model => model.StartDate) @Html.ValidationMessageFor(model => model.StartDate)
@Html.LabelFor(model => model.EndDate, new {@class = "control-label"}) @Html.EditorFor(model => model.EndDate) @Html.ValidationMessageFor(model => model.EndDate)
@Html.LabelFor(model => model.SystemAttribute1, new {@class = "control-label"})
@Html.DropDownListFor(model => model.SystemAttribute1, Utils.GetSystemAttributeOne(), new {@class = "form-control disabled", @onchange = "updateHidden(this.name, $(this).val());"})
@Html.LabelFor(model => model.SystemAttribute2, new {@class = "control-label"})
@Html.DropDownListFor(model => model.SystemAttribute2, Utils.GetSystemAttributeTwo(), new {@class = "form-control disabled", @onchange = "updateHidden(this.name, $(this).val());"})