init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,35 @@
|
|||
@using Kreta.Resources;
|
||||
@using Kreta.Web.Helpers.Grid;
|
||||
@using Kreta.Web.Areas.Alkalmazott.Models
|
||||
@using Kreta.Web.Security
|
||||
|
||||
@model AlkalmazottModel
|
||||
|
||||
<div class="container-fluid">
|
||||
@(
|
||||
Html.KretaGrid<AlkalmazottInfoModel.TovabbiMunkaugyiAdatokGridModel>(
|
||||
name: "TovabbiMunkaugyiAdatokGrid",
|
||||
getUrl: new GridApiUrl("AlkalmazottApi", "GetTovabbiMunkaugyiAdatokGrid", new Dictionary<string, string> { { "Id", Model.AlkalmazottId.ToString() } })
|
||||
)
|
||||
.Columns(columns =>
|
||||
{
|
||||
columns.Bound(c => c.MunkaKor_DNAME);
|
||||
columns.Bound(c => c.PedagogusFokozat_DNAME);
|
||||
columns.Bound(c => c.KotelezoOraszam);
|
||||
columns.Bound(c => c.MunkaidoKedvezmenyOka_DNAME).Title(ClaimData.IsSelectedTanev20_21OrLater && ClaimData.IsSzakkepzoIntezmeny ? AlkalmazottResource.Egyebtevekenysegek : AlkalmazottResource.FeladattalTerheltOraszamOka);
|
||||
})
|
||||
.RowFunction(Html, new List<RowFunction> {
|
||||
new RowFunction { Name=CommonResource.Modositas, ClientAction = "TovabbiMunkaugyiAdatokHelper.modifyTovabbiMunkaugyiAdatok", IconEnum = Kreta.Enums.ManualEnums.GridRowFunctionIconEnum.Modositas },
|
||||
new RowFunction { Name=CommonResource.Torles, ClientAction = "TovabbiMunkaugyiAdatokHelper.deleteTovabbiMunkaugyiAdatokConfirmWindow", IconEnum = Kreta.Enums.ManualEnums.GridRowFunctionIconEnum.Torles }
|
||||
})
|
||||
.FunctionCommand(Html, new List<FunctionCommand> {
|
||||
new FunctionCommand { Name = CommonResource.Uj, ClientAction = string.Format("function(){{ TovabbiMunkaugyiAdatokHelper.newTovabbiMunkaugyiAdatok({0}); }}", Model.AlkalmazottId) },
|
||||
})
|
||||
.Sortable(sortable => sortable
|
||||
.AllowUnsort(true)
|
||||
.SortMode(GridSortMode.MultipleColumn))
|
||||
)
|
||||
@Html.KretaEmpty()
|
||||
@Html.KretaEmpty()
|
||||
@Html.KretaEmpty()
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue