@using Kreta.Web.Areas.OsztalyCsoport.Models
@using Kreta.Web.Security
@using Kreta.Resources;
@model ModOsztalyModel
@Scripts.Render("~/bundles/OsztalyBevitelVisibilityHelper")
@Scripts.Render("~/bundles/AmiKepzesiJellemzokHelper")
@Html.HiddenFor(x => x.FeladatellatasiHelyIsNktJSON)
@Html.HiddenFor(x => x.AmiFelhelyIdsJSON)
@if (string.IsNullOrWhiteSpace(Model.OsztalyIDArrayString))
{
@Html.KretaTextBoxFor(x => x.Nev).Enable(false).RenderWithName(3, 3)
@Html.KretaEmpty(6)
@Html.HiddenFor(x => x.ID)
}
else
{
@Html.KretaLabelFor(x => x.OsztalyNevArray, 3, 9)
}
@Html.HiddenFor(x => x.OsztalyIDArrayString)
@Html.KretaComboBoxFor(x => x.Evfolyam, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = "GetAmiEvfolyamList" }), "Text", "Value").RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.OsztalyFonok, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetOsztalyFonokList" }), "Text", "Value").RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.OsztalyFonokHelyettes, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetOsztalyFonokList" })).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.Terem, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetTeremList" })).RenderWithName(3, 3)
@{if (!(ClaimData.IsSzakkepzoIntezmeny && ClaimData.IsSelectedTanev21_22OrLater))
{
@Html.KretaComboBoxFor(x => x.KepzesiForma, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetKepzesListS" }), "Text", "Value").RenderWithName(3, 3)
}
}
@Html.KretaComboBoxFor(x => x.Tanterv, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = "GetTantervList" })).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.FeladatellatasiHely, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = "GetFeladatellatasiHelyek" }), "Text", "Value").Events(e => e.Change("function(e) { OsztalyBevitelHelper.feladatellatasiHelyChange(e); }")).RenderWithName(3, 3)
@Html.KretaNumericFor(x => x.TervezettLetszam).Min(0).Max(40).RenderWithName(3, 3)
@Html.KretaDatePickerFor(x => x.OsztalynaploMegnyitasa).RenderWithName(3, 3)
@Html.KretaDatePickerFor(x => x.OsztalynaploLezarasa).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.TechnikaiOsztaly, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName(3, 3)
@OsztalyCsoportResource.NKTCim
@Html.KretaComboBoxFor(x => x.TanulmanyiTeruletNktTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetTanulmanyiTeruletNktTipusList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.SzakkepesitesNktTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetSzakkepesitesNktTipusList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.SzakiranyNktTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetSzakiranyNktTipusList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
@OsztalyCsoportResource.AmiKepzesiJellemzok
@Html.Partial("_AmiKepzesiJellemzok_Partial", Model.AmiKepzesiJellemzokModel)