@using Kreta.Resources; @using Kreta.Web.Helpers; @using Kreta.Web.Models; @using Kreta.Web.Security; @model TanuloBankszamlaModel @if (!string.IsNullOrWhiteSpace(Model.Cimsor)) {

@Model.Cimsor

}
@Html.KretaMaskedTextBoxFor(x => x.BankszamlaSzam, "00000000-00000000-00000000", htmlAttributes: new Dictionary { { "id", Model.BankszamlaSzamId } }).ClearPromptChar(true).UnmaskOnPost(true).Enable(false).RenderWithName(!Model.IsReadonly ? 2 : 3, 3, tooltipResource: !Model.IsReadonly ? Model.BankszamlaSzamTooltip : Model.BankszamlaSzamReadonlyTooltip) @Html.KretaTextBoxFor(x => x.SzamlavezetoBank, htmlAttributes: new Dictionary { { "id", Model.SzamlavezetoBankId } }).Enable(false).RenderWithName(!Model.IsReadonly ? 2 : 3, !Model.IsReadonly ? 4 : 3, tooltipResource: string.IsNullOrWhiteSpace(Model.BankszamlaSzam) ? "" : "-", tooltipOnControl: true) @if (!Model.IsReadonly) { @Html.KretaButton("btnEdit" + Model.IdPostfix, "", spriteCssClass: "fa fa-pencil", clickEventName: "BankszamlaEditorHelper.szerkesztesClick").HtmlAttributes(new { style = "padding-top: 5px; padding-bottom: 5px;" }) @Html.KretaButton("btnDelete" + Model.IdPostfix, "", spriteCssClass: "fa fa-trash-o", clickEventName: "BankszamlaEditorHelper.torlesClick").HtmlAttributes(new { style = "padding-top: 5px; padding-bottom: 5px; margin-left: 5px;" }) @Html.KretaButton("btnSave" + Model.IdPostfix, CommonResource.Mentes, clickEventName: "BankszamlaEditorHelper.mentesClick").HtmlAttributes(new { style = "display:none;" }) } @if (!Model.IsReadonly && Model.IsSzakkepzo) {
@TanuloResource.SzakkepzoBankszamlaTooltip
}
@Html.KretaComboBoxFor(x => x.BankszamlaTulajdonos, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = Constants.ApiControllers.ComboBoxHelperApi, action = "GetBankszamlaTulajdonosEnumList" }), htmlAttributes: new Dictionary { { "id", Model.BankszamlaTulajdonosId } }).AutoBind(true).Enable(false).RenderWithName(!Model.IsReadonly ? 2 : 3, 3) @Html.KretaTextBoxFor(x => x.BankszamlaTulajdonosNeve, htmlAttributes: new Dictionary { { "id", Model.BankszamlaTulajdonosNeveId } }).Enable(false).RenderWithName(!Model.IsReadonly ? 2 : 3, !Model.IsReadonly ? 4 : 3) @if (!Model.IsReadonly) { @Html.KretaButton("btnCancel" + Model.IdPostfix, CommonResource.Megse, clickEventName: "BankszamlaEditorHelper.megsemClick").HtmlAttributes(new { style = "display:none;" }) }