@using Kreta.Web.Areas.OsztalyCsoport.Models;
@using Kreta.Resources;
@using Kreta.Web.Security;
@model ModOsztalyModel
@Scripts.Render("~/bundles/OsztalyBevitelVisibilityHelper")
@Html.HiddenFor(x => x.FeladatellatasiHelyIsSzakkepzesesJSON)
@Html.HiddenFor(x => x.FeladatellatasiHelyIsNktJSON)
@Html.HiddenFor(x => x.GimnaziumIdsJSON)
@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 = "ComboBoxHelperApi", action = "GetEvfolyamList" }), "Text", "Value").Events(e => e.Change("NaplosorszamEsTorzslapszamBeallitasaiHelper.IsSzakkepzo")).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.VegzosEvf, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName(3, 3, labelMsg: (ClaimData.IsSelectedTanev20_21OrLater && ClaimData.IsSzakkepzoIntezmeny) ? OsztalyCsoportResource.VegzosEvfolyamuOsztalyKozepfokuOktatasiIntezmenyben2021OrLater : null)
@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 = "ComboBoxHelperApi", action = "GetTantervList" })).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.FeladatellatasiHely, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "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.GimnaziumiEvfolyamTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetGimnaziumiEvfolyamTipus" }), "Text", "Value").RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.Keresztfeleves, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.TechnikaiOsztaly, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.Nemzetisegi, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.IsGyogypedagogiaiLogopediai, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName(3, 3)
@if (!Model.IsNszfhUjSzkt)
{
@Html.KretaComboBoxFor(x => x.Kettannyelvu, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.NyelviElokeszito, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName(3, 3)
}
@Html.KretaEmpty()
@Html.KretaComboBoxFor(x => x.Sport, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.AJProgram, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName(3, 3)
@Html.KretaTextBoxFor(x => x.SpecialisJellemzo).RenderWithName(3, 3)
@*Html.KretaComboBoxFor(x => x.AJTehettseggondozoProgram, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetIgenNemEnumList" })).RenderWithName(3, 3)*@
@Html.KretaComboBoxFor(x => x.AJAlProgram, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperEnumApi", action = "GetAranyJanosAlprogramList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
@if (Model.IsIntezmenySzakkepzo)
{
@Html.KretaComboBoxFor(x => x.JogviszonyTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboboxHelperApi", action = "GetJogviszonyList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
}
@OsztalyCsoportResource.UjSzkt
@Html.KretaComboBoxFor(x => x.AgazatUjSzktTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetAgazatUjSzktTipusList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.SzakmaTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetSzakmaTipusList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.SzakmairanyTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetSzakmairanyTipusList" }), "Text", "Value").AutoBind(true).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.RegiSzkt
@Html.KretaComboBoxFor(x => x.SzakmacsoportId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetSzakmacsoportTipusList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.AgazatId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetAgazatTipusList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.SzakkepesitesId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetSzakkepesitesTipusList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.ReszSzakkepesitesId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetReszSzakkepesitesTipusList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)