kreta/KretaWeb/Areas/Intezmeny/Views/Eszkozok/EszkozModify_Csop.cshtml
2024-03-13 00:33:46 +01:00

63 lines
3.3 KiB
Text

@using Kreta.Web.Areas.Intezmeny.Models
@using Kreta.Web.Helpers
@model EszkozCsopModModel
@using (Html.KretaForm("EszkozCsopModForm"))
{
@Html.HiddenFor(x => x.EszkozId);
@Html.HiddenFor(x => x.EszkozNev);
@Html.HiddenFor(x => x.EszkozIdArray);
@Html.HiddenFor(X => X.EszkozNevArray);
<div class="container-fluid details">
@Html.KretaValidationSummary()
@if (string.IsNullOrWhiteSpace(Model.EszkozIdArray))
{
<div class="row">
@Html.KretaLabelFor(x => x.EszkozNev, 3, 9)
</div>
}
else
{
<div class="row">
@Html.KretaLabelFor(x => x.EszkozNevArray, 3, 9)
</div>
}
<div class="row">
@Html.KretaComboBoxFor(x => x.TeremID, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetTeremList" }), "Text", "Value", onChangeFunction: "EszkozHelper.TeremValidacioTobbes()", useGroup: false).AutoBind(true).RenderWithName(3, 3)
</div>
<div class="row">
@Html.KretaComboBoxFor(x => x.Tipus, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "EszkozokApi", action = "GetTipusList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.Kategoria, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "EszkozokApi", action = "GetKategoriaList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
</div>
<div class="row">
@Html.KretaDatePickerFor(x => x.BeszerzesDatum).RenderWithName(3, 3)
@Html.KretaNumericFor(x => x.Darabszam).Min(0).Max(99999).RenderWithName(3, 3)
</div>
<div class="row">
@Html.KretaMaskedTextBoxFor(x => x.GyartasiEv, "0000").RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.SzemelyiFelelos, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "ComboBoxHelperApi", action = "GetTanar" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3)
</div>
<div class="row">
@Html.KretaComboBoxFor(x => x.PedagogusHozzaferhet, Model.IgenNemList).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.Celja, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "EszkozokApi", action = "GetFelhasznalasList" }), "Text", "Value").AutoBind(true).RenderWithName(3, 3);
</div>
<div class="row">
@Html.KretaComboBoxFor(x => x.TanuloHozzaferhet, Model.IgenNemList).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.Berelt, Model.IgenNemList).RenderWithName(3, 3)
</div>
<div class="row">
@Html.KretaComboBoxFor(x => x.Multimedias, Model.IgenNemList).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.InternetKapcsolat, Model.IgenNemList).RenderWithName(3, 3)
</div>
<div class="row">
@Html.KretaComboBoxFor(x => x.Hordozhato, Model.IgenNemList).RenderWithName(3, 3)
@Html.KretaComboBoxFor(x => x.HalozatiKapcsolat, Model.IgenNemList).RenderWithName(3, 3)
</div>
<div class="row">
@Html.KretaComboBoxFor(x => x.NemMukodik, Model.IgenNemList).RenderWithName(3, 3)
</div>
</div>
}