@using Kreta.Enums.ManualEnums
@using Kreta.Resources
@using Kreta.Web.Areas.Tantargy.Models;
@model TantargyFelosztasModositasaModel
@{
using (Html.KretaForm("tantargyFelosztasModositasForm"))
{
@Html.KretaValidationSummary()
@Html.KretaComboBoxFor(x => x.TanarId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetTanar", IsFromSzervezet = Model.IsFromSzervezet, tanarId = Model.TanarId })).AutoBind(true).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.TantargyId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetTantargy" })).AutoBind(true).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.CsoportID, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetOsztalyCsoportListByEvfolyam", isDualisKepzohelyiCsoport = Model.IsFromSzervezet, tanarId = Model.TanarId, szervezetAdatokHalmaza = (int)SzervezetAdatokHalmazaEnum.SzervezetEsAlSzervezetek }), useGroup: true).AutoBind(true).RenderWithName(3, 3)
if (!Model.IsFromSzervezet)
{
@Html.KretaNumericFor(x => x.Oraszam).Min(0).Max(50).Value(Model.Oraszam).Step(0.25).RenderWithName(3, 3)
@Html.KretaNumericFor(x => x.TuloraSzam).Min(0).Max(50).Value(Model.TuloraSzam).Step(0.25).RenderWithName(3, 3)
@Html.KretaCheckBoxFor(x => x.OsszevontOra).RenderWithName(3, 3)
@Html.KretaCheckBoxFor(x => x.NemzetisegiOra).RenderWithName(3, 3)
@Html.KretaNumericFor(x => x.MegbizasiOraszam).Min(0).Max(50).Value(Model.MegbizasiOraszam).Step(0.25).RenderWithName(3, 3)
}
else
{
@Html.Hidden("Oraszam", Model.Oraszam.ToString("F2", System.Globalization.CultureInfo.GetCultureInfo("hu-HU")))
}
@Html.KretaCheckBoxFor(x => x.VisszamenolegesModositas).RenderWithName(3, 3)
@TantargyResource.VisszamenolegesModositasDescription
@TantargyResource.DiakokSzama: @Html.Raw(Model.DiakokSzama)
@TantargyResource.TanorakSzama: @Html.Raw(Model.TanorakSzama)
@TantargyResource.ErtekelesekSzama: @Html.Raw(Model.ErtekelesekSzama)
@Html.KretaCheckBoxFor(x => x.KapcsolodoOrarendiOrakModositasa).RenderWithName(3, 3)
@Html.HiddenFor(x => x.Id)
@Html.HiddenFor(x => x.TipusId)
@Html.HiddenFor(x => x.TanorakSzama)
@Html.HiddenFor(x => x.ErtekelesekSzama)
@Html.HiddenFor(x => x.MulasztasokSzama)
}
}