@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.SeatsCosts, new {@class = "control-label"})
@Html.DropDownListFor(model => model.SeatsCosts, Utils.GetListboxItems().OrderBy(x=>x.Text), new {@class = "form-control disabled", @onchange = "updateHidden(this.name, $(this).val());", @data_key = "filterSeatsCosts" })
@Html.LabelFor(model => model.StartDate, new {@class = "control-label"}) @Html.EditorFor(model => model.StartDate, new { @data_key = "filterStartDate" }) @Html.ValidationMessageFor(model => model.StartDate)
@Html.LabelFor(model => model.EndDate, new {@class = "control-label"}) @Html.EditorFor(model => model.EndDate, new { @data_key = "filterEndDate" }) @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());", @data_key = "filterSysAttribute1" })
@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());", @data_key = "filterSysAttribute2" })