init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,161 @@
|
|||
@using Kreta.Enums;
|
||||
@using Kreta.BusinessLogic.Security;
|
||||
@using Kreta.Web.Areas.Adminisztracio.Models;
|
||||
@using Kreta.Web.Security
|
||||
@model TippModel
|
||||
|
||||
<style>
|
||||
#fogadooraEmailDiv .windowInputLabel {
|
||||
margin-left: 2em;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
var TippModositasHelper = (function () {
|
||||
var tippModositasHelper = function () { };
|
||||
|
||||
var formName = "TippModositasForm";
|
||||
|
||||
tippModositasHelper.tippMentes = function () {
|
||||
if ($("#TippekElrejtese").is(':checked')) {
|
||||
$('#tippekFul').addClass('disabled');
|
||||
$('#tippekFul').removeAttr('onclick');
|
||||
var tipp = $('#tippPopupNotification').data('kendoNotification');
|
||||
if (tipp) {
|
||||
tipp.hide();
|
||||
}
|
||||
}
|
||||
else {
|
||||
$('#tippekFul').removeClass('disabled');
|
||||
$('#tippekFul').attr('onclick', 'showTip();');
|
||||
}
|
||||
var url = "@Url.Action("TippBeallitasokMentese", "Profil", new { area = "Adminisztracio" })";
|
||||
AjaxHelper.DoPostElement(url, formName, newSaveFeedBackOk);
|
||||
}
|
||||
|
||||
function newSaveFeedBackOk() {
|
||||
KretaWindowHelper.successFeedBackWindow();
|
||||
}
|
||||
|
||||
return tippModositasHelper;
|
||||
})();
|
||||
</script>
|
||||
|
||||
@using (Html.KretaForm("TippModositasForm"))
|
||||
{
|
||||
<div class="container-fluid details">
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.TippekElrejtese).RenderWithName()
|
||||
</div>
|
||||
@if (ClaimData.FelhasznaloSzerepkor == SzerepkorTipusEnum.Naplo)
|
||||
{
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.EmailHelyettesites).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.HianyzokAutoKitoltes).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.HetirendMegjeleniteseBelepeskor).RenderWithName(tooltipResource: AdminisztracioResource.HetirendMegjeleniteseBelepeskorToolTip)
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaDropdownListFor(x => x.AtlagMegjelenitesTipusa, Model.AtlagMegjelenitesTipusaList, addOptionLabel: false).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaDropdownListFor(x => x.AtlagbaBeleszamitoOsztalyTipusa, Model.AtlagbaBeleszamitoOsztalyTipusaList, addOptionLabel: false).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaDropdownListFor(x => x.HaladasiNaploFulTipusa, Model.HaladasiNaploFulTipusaList, addOptionLabel: false).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaDropdownListFor(x => x.HaladasiNaploNezetTipusa, Model.HaladasiNaploNezetTipusaList, addOptionLabel: false).RenderWithName()
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (ClaimData.FelhasznaloSzerepkor == SzerepkorTipusEnum.Naplo || ClaimData.FelhasznaloSzerepCsomagok.Contains(KretaClaimPackages.Gondviselo.ClaimValue))
|
||||
{
|
||||
<div style="margin-left:10px; margin-bottom:10px;"><h3>@FogadooraResource.Fogadoora</h3></div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.FogadooraEmail).RenderWithName()
|
||||
</div>
|
||||
<div id="fogadooraEmailDiv">
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.FogadooraEmailUj).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.FogadooraEmailTorles).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.FogadooraEmailJelentkezes).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.FogadooraEmailJelentkezesLemondas).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.FogadooraEmlekeztetoEmailJelentkezes).RenderWithName()
|
||||
</div>
|
||||
@*@if (ClaimData.FelhasznaloSzerepkor == SzerepkorTipusEnum.Ellenorzo)
|
||||
{
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.FogadooraEmailTorles).RenderWithName()
|
||||
</div>
|
||||
}*@
|
||||
@*<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.FogadooraEmail3Nappal).RenderWithName()
|
||||
</div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.FogadooraEmail1Nappal).RenderWithName()
|
||||
</div>*@
|
||||
</div>
|
||||
}
|
||||
|
||||
@if (ClaimData.FelhasznaloSzerepkor == SzerepkorTipusEnum.Naplo)
|
||||
{
|
||||
<div style="margin-left:10px; margin-bottom:10px;"><h3>@NemNaplozottTanorakResource.NemNaplozottTanorak</h3></div>
|
||||
<div class="row">
|
||||
@Html.KretaCheckBoxFor(x => x.NemNaplozottTanorakEmail).RenderWithName()
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
<div style="display:flex;justify-content:space-between;align-items:center;">
|
||||
@Html.KretaSaveButton("TippSaveBtn", "TippModositasHelper.tippMentes")
|
||||
@Html.Label(CommonResource.ProfilMentesLabel, htmlAttributes: new Dictionary<string, object> { { "style", "margin-left:10px;" } })
|
||||
</div>
|
||||
}
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
$("#DiakHazifeladat").change(function () {
|
||||
if (!$(this).prop('checked')) {
|
||||
$("#DiakHazifeladatEmail").prop('checked', false).attr('disabled', true);
|
||||
}
|
||||
else {
|
||||
$("#DiakHazifeladatEmail").attr('disabled', false);
|
||||
}
|
||||
});
|
||||
|
||||
if (!$("#DiakHazifeladat").prop('checked')) {
|
||||
$("#DiakHazifeladatEmail").prop('checked', false).attr('disabled', true);
|
||||
}
|
||||
|
||||
$("#FogadooraEmail").change(function () {
|
||||
if (!$(this).prop('checked')) {
|
||||
$("#fogadooraEmailDiv").hide();
|
||||
|
||||
$("#FogadooraEmailUj").prop('checked', false);
|
||||
$("#FogadooraEmailJelentkezes").prop('checked', false);
|
||||
$("#FogadooraEmailJelentkezesLemondas").prop('checked', false);
|
||||
$("#FogadooraEmailTorles").prop('checked', false);
|
||||
//$("#FogadooraEmail3Nappal").prop('checked', false);
|
||||
//$("#FogadooraEmail1Nappal").prop('checked', false);
|
||||
}
|
||||
else {
|
||||
$("#fogadooraEmailDiv").show();
|
||||
}
|
||||
});
|
||||
|
||||
if (!$("#FogadooraEmail").prop('checked')) {
|
||||
$("#fogadooraEmailDiv").hide();
|
||||
}
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue