@using Kreta.Framework
@using Kreta.Web.Classes
@using Kreta.Web.Areas.Orarend.Models
@using Kreta.Web.Helpers
@model FoglalkozasModel
@using (Html.KretaForm("FoglalkozasForm"))
{
@Html.KretaValidationSummary()
@Html.HiddenFor(x => x.ID)
@Html.HiddenFor(x => x.KezdeteDatum)
@Html.HiddenFor(x => x.VegeDatum)
@Html.HiddenFor(x => x.UseFoglalkozas)
@if (Model.UseFoglalkozas)
{
@Html.KretaComboBoxFor(x => x.TanoranKivuliFoglalkozas, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanariOrarendApi", action = "GetTanoranKivuliFoglalkozasok" }), "Text", "Value", useGroup: true).AutoBind(true).Events(e => { e.Change("Foglalkozasok.OnTanoranKivuliFoglalkozasChange"); e.DataBound("Foglalkozasok.OnTanoranKivuliFoglalkozasChange"); }).RenderWithName(3, 3)
}
else
{
@Html.KretaComboBoxFor(x => x.OsztalyCsoportId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanariOrarendApi", action = "GetTanoranKivuliFoglalkozasokOsztalyList" })).AutoBind(true).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.TantargyId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanariOrarendApi", action = "GetTantargyak" })).AutoBind(true).RenderWithName(3, 3)
}
@if (Model.UseFoglalkozas)
{
}
else
{
@Html.KretaEmpty()
}
@Html.KretaComboBoxFor(x => x.TeremID, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetTeremList" }), "Text", "Value", useGroup: false).AutoBind(true).RenderWithName(3, 3)
@Html.KretaLabelFor(x => x.KezdeteLabel, 3, 3)
@Html.KretaLabelFor(x => x.VegeLabel, 3, 3)
@Html.KretaTimePickerFor(x => x.Kezdete).RenderWithName(3, 3)
@Html.KretaTimePickerFor(x => x.Vege).RenderWithName(3, 3)
@StringResourcesUtil.GetString(2491)
@Html.KretaCheckBoxFor(x => x.Sorszamozando).RenderWithName(3, 3)
@Html.KretaCheckBoxFor(x => x.ParhuzamosOra).RenderWithName(3, 3)
@StringResourcesUtil.GetString(2492)
@Html.KretaCheckBoxFor(x => x.Tulora).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.TAMOPOra).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.NemSzakrendszeruOra).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.KAPOra).Enable(false).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.VEKOP73317).Enable(false).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.KIPOra).Enable(false).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.IKTTanora).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.NemzetisegiOra).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.MindennaposTestneveles).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.IPRTanora).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.Differencialt).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.Kooperativ).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.Meres).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.Drama).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.Tiop).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.Bontott).RenderWithName(2, 1)
@Html.KretaCheckBoxFor(x => x.IsFelnottoktatasiSzerzodes).RenderWithName(2, 1)
}