@using EnVisage.Code @model EnVisage.Models.FiscalCalendarModel @using EnVisage.Code.HtmlHelpers @using Microsoft.AspNet.Identity @{ 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 Date Working Day Non Working Week Effective Date of Change Valid To