init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,41 @@
|
|||
@using Kreta.Web.Helpers
|
||||
@using Kreta.Web.Areas.Orarend.Models
|
||||
@model WizardModel
|
||||
@{ Layout = null; }
|
||||
|
||||
<script type="text/javascript">
|
||||
function ChangeHelyettesitettTanar() {
|
||||
var data = window.CalendarModel;
|
||||
|
||||
if (!isNaN($("#HelyettesitettId").val())) {
|
||||
data.helyettesitettId = $("#HelyettesitettId").val();
|
||||
AjaxHelper.DoPost("@Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanariOrarendApi", action = "IsHelyettesitesTulora" })", data, changeHelyettesitettTanarSuccess);
|
||||
}
|
||||
}
|
||||
|
||||
function changeHelyettesitettTanarSuccess(data) {
|
||||
$("#IsKeziTulora").prop('checked', data);
|
||||
window.EgyediHelyettesitesTuloraDefault = data;
|
||||
}
|
||||
|
||||
$("#IsKeziTulora").change(function () {
|
||||
window.EgyediHelyettesitesTuloraDefault = $(this).prop('checked');
|
||||
});
|
||||
</script>
|
||||
|
||||
<div style="padding-top: 15px;">
|
||||
<div class="row">
|
||||
@Html.KretaComboBoxFor(m => m.HelyettesitettId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanariOrarendApi", action = "GetHelyettesitoTanarok" })).AutoBind(true).Events(e => e.Change("ChangeHelyettesitettTanar")).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaComboBoxFor(m => m.HelyettesitesTipusId, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanariOrarendApi", action = "GetHelyettesitesTipus" })).AutoBind(true).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaTextAreaFor(m => m.HelyettesitesOka).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(m => m.IsKeziTulora).RenderWithName()
|
||||
</div>
|
||||
@Html.HiddenFor(m => m.IsEgyediHelyettesites)
|
||||
@Html.HiddenFor(m => m.WizardOrarendMegtartott)
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue