@using EnVisage.Code @using EnVisage.Models @model FiscalCalendarModel @{ ViewBag.Title = "Fiscal Calendar"; } @section scripts { }
Fiscal Calendar Settings
@Html.HiddenFor(t => t.Id) @Html.LabelFor(t => t.CalendarType, new { @class = "col-sm-2 control-label" })
@Model.CalendarType.ToDisplayValue()
@Html.LabelFor(t => t.StartingPoint, new { @class = "col-sm-2 control-label" })
@(Model.StartingPoint.HasValue ? Model.StartingPoint.Value.ToShortDateString() : "")
@Html.LabelFor(t => t.WeekendingDay, new { @class = "col-sm-2 control-label" })
@Model.WeekendingDay.ToDisplayValue()
@Html.LabelFor(t => t.YearType, new { @class = "col-sm-2 control-label" })
@Model.YearTypeAsText
@Html.LabelFor(t => t.EffectiveChangeDate, new { @class = "col-sm-2 control-label" })
@(Model.EffectiveChangeDate.HasValue ? Model.EffectiveChangeDate.Value.ToShortDateString() : "")
@if (Model.ValidTo.HasValue) { @Html.LabelFor(t => t.ValidTo, new { @class = "col-sm-2 control-label accented" })
@(Model.ValidTo.HasValue ? Model.ValidTo.Value.ToShortDateString() : "")
}
@if (SecurityManager.CheckSecurityObjectPermission(Areas.FiscalCalendar, AccessLevel.Write)) {
}
Name Start Date End Date Working Day Recurrences Effective Date of Change Valid To
@**@