init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
840
Kreta.BusinessLogic/Helpers/AdminHelper.cs
Normal file
840
Kreta.BusinessLogic/Helpers/AdminHelper.cs
Normal file
|
@ -0,0 +1,840 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Aspose.Cells;
|
||||
using Kreta.BusinessLogic.Classes;
|
||||
using Kreta.BusinessLogic.Classes.ExcelHelpers;
|
||||
using Kreta.BusinessLogic.HelperClasses;
|
||||
using Kreta.BusinessLogic.Helpers.SystemSettings;
|
||||
using Kreta.BusinessLogic.Logic;
|
||||
using Kreta.Core.ConnectionType;
|
||||
using Kreta.DataAccessManual;
|
||||
using Kreta.DataAccessManual.Interfaces;
|
||||
using Kreta.DataAccessManual.ParameterClasses;
|
||||
using Kreta.DataAccessManual.Util;
|
||||
using Kreta.Enums;
|
||||
using Kreta.Enums.ManualEnums;
|
||||
using Kreta.Framework;
|
||||
using Kreta.Resources;
|
||||
|
||||
namespace Kreta.BusinessLogic.Helpers
|
||||
{
|
||||
public class AdminHelper : LogicBase
|
||||
{
|
||||
public AdminHelper(IConnectionType connectionType) : base(connectionType) { }
|
||||
|
||||
public DataSet GetAdminDashboardUzenet()
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
IDashboardUzenetDal dal = h.DashboardUzenet();
|
||||
return dal.GetAdminDashboardUzenetDataSet(FelhasznaloId);
|
||||
});
|
||||
}
|
||||
|
||||
public DataSet GetDashboardUzenetByIntezmeny()
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
IDashboardUzenetDal dal = h.DashboardUzenet();
|
||||
return dal.GetDashboardEgyediAzonositokByIntezmeny(IntezmenyId);
|
||||
});
|
||||
}
|
||||
|
||||
public DataSet GetFeatureMaintenanceDashboardUzenet(string featureName)
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
IDashboardUzenetDal dal = h.DashboardUzenet();
|
||||
return dal.GetFeatureMaintenanceDashboardUzenet(featureName);
|
||||
});
|
||||
}
|
||||
|
||||
#region DashboardPopup
|
||||
|
||||
public DataSet GetDashboardPopupUzenet(int? gondviseloId, int popupId, string egyediAzonosito)
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
IDashboardUzenetDal dal = h.DashboardUzenet();
|
||||
return dal.GetDashboardUzenetForPopup(FelhasznaloId, gondviseloId, popupId, egyediAzonosito);
|
||||
});
|
||||
}
|
||||
|
||||
public DataSet GetNextDashboardPopupAzonosito(int? gondviseloId, string[] displayedPopups)
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
IDashboardUzenetDal dal = h.DashboardUzenet();
|
||||
return dal.GetNextDashboardPopup(FelhasznaloId, gondviseloId, displayedPopups);
|
||||
});
|
||||
}
|
||||
|
||||
public void UpdateDashboardPopupClose(int popupId)
|
||||
{
|
||||
Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
IDashboardUzenetDal dal = h.DashboardUzenet();
|
||||
dal.UpdateDashboardPopupClose(popupId);
|
||||
});
|
||||
}
|
||||
|
||||
public void UpdateDashboardPopupConfirm(int popupId)
|
||||
{
|
||||
Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
IDashboardUzenetDal dal = h.DashboardUzenet();
|
||||
dal.UpdateDashboardPopupConfirm(popupId);
|
||||
});
|
||||
}
|
||||
|
||||
public string UpdateDashboardPopupNext(int popupId)
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
IDashboardUzenetDal dal = h.DashboardUzenet();
|
||||
return dal.UpdateDashboardPopupNext(popupId);
|
||||
});
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public DataSet GetAdminDashboardAdminisztracio()
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
IAdminDAL dal = h.Admin();
|
||||
return dal.GetAdminDashboardAdminisztracio(TanevId);
|
||||
});
|
||||
}
|
||||
|
||||
public DataSet GetAdminDashboardNaplo()
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
IAdminDAL dal = h.Admin();
|
||||
return dal.GetAdminDashboardNaplo(TanevId);
|
||||
});
|
||||
}
|
||||
|
||||
public DataSet GetAdminDashboardStatisztika()
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
var tanevHelper = new TanevHelper(new DalHandlerConnectionType(ConnectionType, h));
|
||||
var tanev = tanevHelper.GetTanevInfo();
|
||||
|
||||
IAdminDAL dal = h.Admin();
|
||||
return dal.GetAdminDashboardStatisztika(TanevId, tanev.UtolsoTanitasiNap);
|
||||
});
|
||||
}
|
||||
|
||||
public DataSet GetAdminDashboardAdattisztitasAlkalmazott()
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
IAdminDAL dal = h.Admin();
|
||||
return dal.GetAdminDashboardAdattisztitasAlkalmazott(IntezmenyId, TanevId, true);
|
||||
});
|
||||
}
|
||||
|
||||
public DataSet GetAktivTanevValtasaModel(int kovTanevId)
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
DateTime? szakGyakKezdDatum, szakGyakVegDatum;
|
||||
var sysSettingsHelper = new SystemSettingsHelper(new DalHandlerConnectionType(ConnectionType, h));
|
||||
szakGyakKezdDatum = sysSettingsHelper.GetSystemSettingValue<DateTime?>(RendszerBeallitasTipusEnum.Osszefuggo_gyakorlat_kezd_datum);
|
||||
szakGyakVegDatum = sysSettingsHelper.GetSystemSettingValue<DateTime?>(RendszerBeallitasTipusEnum.Osszefuggo_gyakorlat_veg_datum);
|
||||
|
||||
return h.Admin().GetAktivTanevValtasaModel(TanevId, kovTanevId, IntezmenyId, szakGyakKezdDatum, szakGyakVegDatum);
|
||||
});
|
||||
}
|
||||
|
||||
public DataSet GetAlkalmazottakAlapErtekekkel(bool isDualis)
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
IAlkalmazottDal dal = h.Alkalmazott();
|
||||
return dal.GetAlkalmazottakAlapErtekekkel(TanevId, AlkalmazottResource.Ismeretlen, new DateTime(1950, 01, 01),
|
||||
string.Format("{0} {1}", AlkalmazottResource.KulsosCsaladNev, AlkalmazottResource.KulsosUtoNev),
|
||||
string.Format("{0} {1}", isDualis ? AlkalmazottResource.DualisCsaladNev : AlkalmazottResource.KulsoGyakorlatiCsaladNev, AlkalmazottResource.KulsoGyakorlatiUtoNev),
|
||||
string.Format("{0} {1}", AlkalmazottResource.Hittan, AlkalmazottResource.Oktato),
|
||||
string.Format("{0} {1}", AlkalmazottResource.Betoltetlen, AlkalmazottResource.Allashely));
|
||||
});
|
||||
}
|
||||
|
||||
public void AktivTanevValtasa(int tanevId, int kovTanevId)
|
||||
{
|
||||
Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
h.Admin().AktivTanevValtasa(TanevId, kovTanevId, IntezmenyId, FelhasznaloId);
|
||||
var isSzakkepzoJuttatas = new IntezmenyHelper(new DalHandlerConnectionType(ConnectionType, h)).GetIntezmenyiAdatok().IsSzakkepzoJuttatas;
|
||||
if (isSzakkepzoJuttatas)
|
||||
{
|
||||
var juttatasDal = h.JuttatasDAL();
|
||||
juttatasDal.UpdateOsszesTanuloAtlag(FelhasznaloId, AtlagTipusEnum.Evvegi, tanevId, kovTanevId);
|
||||
juttatasDal.UpdateTanulokSzakkepzesiJuttatasok(tanevId, FelhasznaloId, (int)JuttatasTipusEnum.szakkepzesi_juttatas);
|
||||
juttatasDal.UpdateTanulokSzakkepzesiJuttatasok(tanevId, FelhasznaloId, (int)JuttatasTipusEnum.apaczaiosztondij);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void ElozoTanevesViewokTorlese(int kovTanevId)
|
||||
{
|
||||
Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
h.Admin().ElozoTanevesViewokTorlese(IntezmenyId, IntezmenyAzonosito, kovTanevId);
|
||||
});
|
||||
}
|
||||
|
||||
public void RefreshUserContextSelectedTanev()
|
||||
{
|
||||
Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
UserContext.Instance.SetSelectedTanevId(TanevId);
|
||||
});
|
||||
}
|
||||
|
||||
public KretaTipusEnum GetKretaTipus()
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
var dal = h.Admin();
|
||||
int result = dal.GetKretaVerzio(IntezmenyId, TanevId);
|
||||
|
||||
return (KretaTipusEnum)result;
|
||||
});
|
||||
}
|
||||
|
||||
public MemoryStream GetKIRAdattisztitasExcel()
|
||||
{
|
||||
DataSet ds = Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
return h.Admin().GetKIRAdattisztitas(IntezmenyAzonosito);
|
||||
});
|
||||
|
||||
var exportFile = new ExcelExportItem();
|
||||
|
||||
int columnIndex = 0;
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.KretaAzonosito);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.Tanev);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.OktatasiAzonosito);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.RegiOktatasiAzonosito);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.UjOktatasiAzonosito);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.RegiElotag);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.UjElotag);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.RegiVezeteknev);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.UjVezeteknev);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.RegiUtonev);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.UjUtonev);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.RegiSzuletesiNev);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.UjSzuletesiNev);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.RegiAnyjaNeve);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.UjAnyjaNeve);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.RegiSzuletesiDatum);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.UjSzuletesiDatum);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.RegiSzuletesiHely);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.UjSzuletesiHely);
|
||||
|
||||
DataTable dt = ds.Tables[0];
|
||||
int rowIndex = 2;
|
||||
|
||||
if (dt.Rows.Count == 0)
|
||||
{
|
||||
exportFile.AddCell(rowIndex, 0, RendszerErtesitesResource.NemTortentAdatmodositas);
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (DataRow item in dt.AsEnumerable())
|
||||
{
|
||||
columnIndex = 0;
|
||||
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("C_AZONOSITO"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("C_NEV"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("C_OKTATASIAZONOSITO"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("OldOktAzon"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("NewOktAzon"));
|
||||
|
||||
var newVezeteknev = item.Field<string>("NewVezeteknev");
|
||||
if (string.IsNullOrWhiteSpace(newVezeteknev))
|
||||
{
|
||||
exportFile.AddCell(rowIndex, columnIndex++, RendszerErtesitesResource.SzemelyesAdatNemValtozott);
|
||||
}
|
||||
else
|
||||
{
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("OldElotag"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("NewElotag"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("OldVezeteknev"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, newVezeteknev);
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("OldUtonev"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("NewUtonev"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("OldSzuletesiNev"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("NewSzuletesiNev"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("OldAnyjaNeve"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("NewAnyjaNeve"));
|
||||
var oldSzuletesiDatum = item.Field<DateTime?>("OldSzuletesiDatum");
|
||||
exportFile.AddCell(rowIndex, columnIndex++, oldSzuletesiDatum.HasValue ? oldSzuletesiDatum.Value.ToShortDateString() : string.Empty);
|
||||
var newSzuletesiDatum = item.Field<DateTime?>("NewSzuletesiDatum");
|
||||
exportFile.AddCell(rowIndex, columnIndex++, newSzuletesiDatum.HasValue ? newSzuletesiDatum.Value.ToShortDateString() : string.Empty);
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("OldSzuletesiHely"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("NewSzuletesiHely"));
|
||||
}
|
||||
|
||||
rowIndex++;
|
||||
}
|
||||
}
|
||||
|
||||
return new ExcelExportManager().CreateExcelExport(new List<ExcelExportItem> { exportFile });
|
||||
}
|
||||
|
||||
public MemoryStream GetHibasOKtAzonExcel()
|
||||
{
|
||||
DataSet ds = Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
return h.Admin().GetNemValidOktAzon(IntezmenyAzonosito, TanevId);
|
||||
});
|
||||
|
||||
var exportFile = new ExcelExportItem();
|
||||
|
||||
int columnIndex = 0;
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.OktatasiAzonosito);
|
||||
|
||||
DataTable dt = ds.Tables[0];
|
||||
int rowIndex = 2;
|
||||
|
||||
if (dt.Rows.Count == 0)
|
||||
{
|
||||
exportFile.AddCell(rowIndex, 0, RendszerErtesitesResource.ExcelExportUresNincsInkonzisztencia);
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (DataRow item in dt.AsEnumerable())
|
||||
{
|
||||
columnIndex = 0;
|
||||
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("OktAzonosito"));
|
||||
|
||||
rowIndex++;
|
||||
}
|
||||
}
|
||||
|
||||
return new ExcelExportManager().CreateExcelExport(new List<ExcelExportItem> { exportFile });
|
||||
|
||||
}
|
||||
|
||||
public MemoryStream GetAdattisztitasAlkalmazottExcel()
|
||||
{
|
||||
DataSet ds = Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
return h.Admin().GetAdminDashboardAdattisztitasAlkalmazott(IntezmenyId, TanevId, false);
|
||||
});
|
||||
|
||||
var exportFile = new ExcelExportItem();
|
||||
|
||||
int columnIndex = 0;
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.AdattisztitasAlkalmazottExcelAlkalmazottOktatasiAzonosito);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.AdattisztitasAlkalmazottExcelAlkalmazottAlkalmazottNev);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.AdattisztitasAlkalmazottExcelAlkalmazottHibasAdatmezo);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.AdattisztitasAlkalmazottExcelAlkalmazottHibasErtek);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.AdattisztitasAlkalmazottExcelAlkalmazottLeiras);
|
||||
|
||||
DataTable dt = ds.Tables[0];
|
||||
int rowIndex = 2;
|
||||
|
||||
if (dt.Rows.Count == 0)
|
||||
{
|
||||
exportFile.AddCell(rowIndex, 0, RendszerErtesitesResource.AdattisztitasAlkalmazottExcelAdattisztasagiMutatoRendben);
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (DataRow item in dt.AsEnumerable())
|
||||
{
|
||||
columnIndex = 0;
|
||||
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("OktatasiAzonosito"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("AlkalmazottNev"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("HibasAdat"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("HibasErtek"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("Leiras"));
|
||||
|
||||
rowIndex++;
|
||||
}
|
||||
}
|
||||
|
||||
return new ExcelExportManager().CreateExcelExport(new List<ExcelExportItem> { exportFile });
|
||||
}
|
||||
|
||||
public MemoryStream GetDirtyEmailExcel()
|
||||
{
|
||||
DataSet ds = Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
return h.Email().GetEmailDataSet(new EmailSearchPco() { TanevId = TanevId, IsHibasanMegadva = true });
|
||||
});
|
||||
|
||||
var exportFile = new ExcelExportItem();
|
||||
|
||||
int columnIndex = 0;
|
||||
exportFile.AddColumn(columnIndex++, FelhasznalokResource.FelhasznaloNeve);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.OktatasiAzonosito);
|
||||
exportFile.AddColumn(columnIndex++, FelhasznalokResource.FelhasznaloTipusa);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.DirtyEmailHibasEmailCim);
|
||||
exportFile.AddColumn(columnIndex++, TanuloResource.TanuloNeve);
|
||||
exportFile.AddColumn(columnIndex++, TanuloResource.TanuloOktatasiAzonosito);
|
||||
|
||||
DataTable dt = ds.Tables[0];
|
||||
int rowIndex = 2;
|
||||
|
||||
if (dt.Rows.Count == 0)
|
||||
{
|
||||
exportFile.AddCell(rowIndex, 0, RendszerErtesitesResource.DirtyEmailNincsHibasEmailCim);
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (DataRow row in dt.AsEnumerable())
|
||||
{
|
||||
columnIndex = 0;
|
||||
|
||||
exportFile.AddCell(rowIndex, columnIndex++, row.Field<string>("FelhasznaloNev"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, row.Field<string>("OktatasiAzonosito"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, ReplaceFelhasznaloTipus(row.Field<int>("FelhasznaloTipus")));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, row.Field<string>("EmailCim"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, row.Field<string>("TanuloNev"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, row.Field<string>("TanuloOktatasiAzonosito"));
|
||||
|
||||
rowIndex++;
|
||||
}
|
||||
}
|
||||
|
||||
return new ExcelExportManager().CreateExcelExport(new List<ExcelExportItem> { exportFile });
|
||||
}
|
||||
|
||||
public MemoryStream GetCovidFertozottekExcel(int? tanarId)
|
||||
{
|
||||
DataSet ds = Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
return tanarId == null
|
||||
? h.Felhasznalo().GetCovidFertozottekDataSet(TanevId)
|
||||
: h.Felhasznalo().GetCovidFertozottekByTanarDataSet(TanevId, tanarId.Value);
|
||||
});
|
||||
|
||||
var exportFile = new ExcelExportItem();
|
||||
|
||||
int columnIndex = 0;
|
||||
exportFile.AddColumn(columnIndex++, FelhasznalokResource.FelhasznaloNyomtatasiNeve);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.OktatasiAzonosito);
|
||||
exportFile.AddColumn(columnIndex++, FelhasznalokResource.FelhasznaloTipusa);
|
||||
exportFile.AddColumn(columnIndex++, FelhasznalokResource.Osztaly);
|
||||
|
||||
DataTable dt = ds.Tables[0];
|
||||
int rowIndex = 2;
|
||||
|
||||
if (dt.Rows.Count > 0)
|
||||
{
|
||||
foreach (DataRow row in dt.AsEnumerable())
|
||||
{
|
||||
columnIndex = 0;
|
||||
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row["FelhasznaloNev"]));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row["OktatasiAzonosito"]));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, ReplaceFelhasznaloTipus(SDAConvert.ToNullableInt32(row["FelhasznaloTipus"])));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row["TanuloOsztalya"]));
|
||||
|
||||
rowIndex++;
|
||||
}
|
||||
}
|
||||
|
||||
return new ExcelExportManager().CreateExcelExport(new List<ExcelExportItem> { exportFile });
|
||||
}
|
||||
|
||||
public MemoryStream GetCovidBejelentettekExcel()
|
||||
{
|
||||
var ds = GetCovidBejelentettekDS();
|
||||
|
||||
var exportFile = new ExcelExportItem();
|
||||
|
||||
int columnIndex = 0;
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.BejelentoGondviseloNeve);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.DiakNeve);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.DiakOktatasiAzonositoja);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.BejelentesIdeje);
|
||||
|
||||
DataTable dt = ds.Tables[0];
|
||||
int rowIndex = 2;
|
||||
|
||||
if (dt.Rows.Count > 0)
|
||||
{
|
||||
foreach (DataRow row in dt.AsEnumerable())
|
||||
{
|
||||
columnIndex = 0;
|
||||
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row["GondviseloNev"]));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row["TanuloNev"]));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row["TanuloOktatasiAzonosito"]));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToDateTime(row["BejelentesDatuma"]));
|
||||
|
||||
rowIndex++;
|
||||
}
|
||||
}
|
||||
|
||||
return new ExcelExportManager().CreateExcelExport(new List<ExcelExportItem> { exportFile });
|
||||
}
|
||||
|
||||
public DataSet GetCovidBejelentettekDS()
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
return h.Gondviselo().GetCovidBejelentettekDataSet(TanevId);
|
||||
});
|
||||
}
|
||||
|
||||
public MemoryStream GetNemRendelkezikOsztondijAlapAdattalExcel()
|
||||
{
|
||||
int nemRendelkezikOsztondijAlapAdattal = 0;
|
||||
DataSet ds = Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
var tanuloHelper = new TanuloHelper(new DalHandlerConnectionType(ConnectionType, h));
|
||||
var (NemRendelkezikOsztondijAlapAdattal, NemRendelkezikOsztondijUtalasAdattal) = tanuloHelper.GetSzakkepzesiJuttatasokTanulokDashboardAdatok();
|
||||
nemRendelkezikOsztondijAlapAdattal = NemRendelkezikOsztondijAlapAdattal;
|
||||
|
||||
return h.Tanulo().GetSzakkepzesiJuttatasokTanulokDashboardAdatok(TanevId);
|
||||
});
|
||||
|
||||
var exportFile = new ExcelExportItem();
|
||||
exportFile.SheetCaption = RendszerErtesitesResource.SzakkepzesiJuttatasokOsztondijAlapAdatok;
|
||||
|
||||
int columnIndex = 0;
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.TanuloNev);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.OktatasiAzonosito);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.Osztaly);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.Evfolyam);
|
||||
|
||||
DataTable dt = ds.Tables[0];
|
||||
int rowIndex = 2;
|
||||
|
||||
if (dt.Rows.Count == 0 || nemRendelkezikOsztondijAlapAdattal == 0)
|
||||
{
|
||||
exportFile.AddCell(rowIndex, 0, RendszerErtesitesResource.SzakkepzesiJuttatasokOsztondijAlapAdatokRendben);
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (DataRow item in dt.AsEnumerable())
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(item.Field<string>("TanuloNeve")) || string.IsNullOrWhiteSpace(item.Field<string>("AnyjaNeve")) || string.IsNullOrWhiteSpace(item.Field<string>("SzuletesiHely")) ||
|
||||
!item.Field<DateTime?>("SzuletesiIdo").HasValue || string.IsNullOrWhiteSpace(item.Field<string>("OktatasiAzonosito")) || string.IsNullOrWhiteSpace(item.Field<string>("Osztaly")) ||
|
||||
!item.Field<int?>("Evfolyam").HasValue)
|
||||
{
|
||||
columnIndex = 0;
|
||||
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("TanuloNeve"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("OktatasiAzonosito"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("Osztaly"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("Evfolyam_DNAME"));
|
||||
|
||||
rowIndex++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return new ExcelExportManager().CreateExcelExport(new List<ExcelExportItem> { exportFile });
|
||||
}
|
||||
|
||||
public MemoryStream GetNemRendelkezikOsztondijUtalasAdattalExcel()
|
||||
{
|
||||
int nemRendelkezikOsztondijUtalasAdattal = 0;
|
||||
DataSet ds = Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
var tanuloHelper = new TanuloHelper(new DalHandlerConnectionType(ConnectionType, h));
|
||||
var (NemRendelkezikOsztondijAlapAdattal, NemRendelkezikOsztondijUtalasAdattal) = tanuloHelper.GetSzakkepzesiJuttatasokTanulokDashboardAdatok();
|
||||
nemRendelkezikOsztondijUtalasAdattal = NemRendelkezikOsztondijUtalasAdattal;
|
||||
|
||||
return h.Tanulo().GetSzakkepzesiJuttatasokTanulokDashboardAdatok(TanevId);
|
||||
});
|
||||
|
||||
var exportFile = new ExcelExportItem();
|
||||
exportFile.SheetCaption = RendszerErtesitesResource.SzakkepzesiJuttatasokOsztondijUtalasAdatok;
|
||||
|
||||
int columnIndex = 0;
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.TanuloNev);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.OktatasiAzonosito);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.Osztaly);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.Evfolyam);
|
||||
|
||||
DataTable dt = ds.Tables[0];
|
||||
int rowIndex = 2;
|
||||
|
||||
if (dt.Rows.Count == 0 || nemRendelkezikOsztondijUtalasAdattal == 0)
|
||||
{
|
||||
exportFile.AddCell(rowIndex, 0, RendszerErtesitesResource.SzakkepzesiJuttatasokOsztondijUtalasAdatokRendben);
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (DataRow item in dt.AsEnumerable())
|
||||
{
|
||||
if ((item.Field<bool?>("IsJogosult_BOOL").HasValue && item.Field<bool?>("IsJogosult_BOOL").Value == true) &&
|
||||
(string.IsNullOrWhiteSpace(item.Field<string>("Bankszamlaszam")) || !item.Field<int?>("BankszamlaTulajdonosa").HasValue || string.IsNullOrWhiteSpace(item.Field<string>("BankszamlaTulajdonosNeve")) ||
|
||||
!item.Field<int?>("OsztondijOsszege").HasValue || (item.Field<int?>("OsztondijOsszege").HasValue && item.Field<int?>("OsztondijOsszege").Value <= 0) || string.IsNullOrWhiteSpace(item.Field<string>("TajSzam"))))
|
||||
{
|
||||
columnIndex = 0;
|
||||
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("TanuloNeve"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("OktatasiAzonosito"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("Osztaly"));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, item.Field<string>("Evfolyam_DNAME"));
|
||||
|
||||
rowIndex++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return new ExcelExportManager().CreateExcelExport(new List<ExcelExportItem> { exportFile });
|
||||
}
|
||||
|
||||
public string GetAdminEmail()
|
||||
{
|
||||
var ds = Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
return h.Admin().GetAdminEmail(IntezmenyAzonosito);
|
||||
});
|
||||
|
||||
if (ds?.Tables[0]?.Rows?.Count > 0)
|
||||
{
|
||||
return ds.Tables[0].Rows[0].Field<string>("Email");
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public MemoryStream GetSapAdattisztasagExcel()
|
||||
{
|
||||
var ds = Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
return h.Felhasznalo().GetSapAdattisztasagExcel();
|
||||
});
|
||||
|
||||
var exportFile = new ExcelExportItem();
|
||||
|
||||
var columnIndex = 0;
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.KretaNev);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.SAPNev);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.KretaSzuletesiDatum);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.SAPSzuletesiDatum);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.KretaSzuletesiHely);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.SAPSzuletsiHely);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.KretaAnyjaNeve);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.SAPAnyjaNeve);
|
||||
|
||||
var rowIndex = 2;
|
||||
|
||||
if (ds.Tables[0].Rows.Count == 0)
|
||||
{
|
||||
exportFile.AddCell(rowIndex, 0, RendszerErtesitesResource.MindenAdatEgyezik);
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (var row in ds.Tables[0].AsEnumerable())
|
||||
{
|
||||
columnIndex = 0;
|
||||
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row["fNyomtatasiNev"]));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row["sNyomtatasiNev"]));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToDateTime(row["fSzuletesiDatum"]).ToShortDateString());
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToDateTime(row["sSzuletesiDatum"]).ToShortDateString());
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row["fSzuletesiHely"]));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row["sSzuletesiHely"]));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row["fAnyjaNeve"]));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row["sAnyjaNeve"]));
|
||||
|
||||
rowIndex++;
|
||||
}
|
||||
}
|
||||
|
||||
return new ExcelExportManager().CreateExcelExport(new List<ExcelExportItem> { exportFile });
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// FelhasznaloTipusEnum alapján szövegre cseréli az int értéket.
|
||||
/// </summary>
|
||||
private string ReplaceFelhasznaloTipus(int? value)
|
||||
{
|
||||
string result;
|
||||
|
||||
switch ((FelhasznaloTipusEnum?)value)
|
||||
{
|
||||
case FelhasznaloTipusEnum.Alkalmazott:
|
||||
result = FelhasznalokResource.Alkalmazott;
|
||||
break;
|
||||
case FelhasznaloTipusEnum.Tanulo:
|
||||
result = FelhasznalokResource.Tanulo;
|
||||
break;
|
||||
case FelhasznaloTipusEnum.Gondviselo:
|
||||
result = FelhasznalokResource.Gondviselo;
|
||||
break;
|
||||
case FelhasznaloTipusEnum.Admin:
|
||||
case FelhasznaloTipusEnum.Fenntarto:
|
||||
default:
|
||||
result = "-";
|
||||
break;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public DateTime GetKovTelepitesDatum()
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
IDashboardUzenetDal dal = h.DashboardUzenet();
|
||||
return dal.GetKovTelepitesDatum();
|
||||
});
|
||||
}
|
||||
|
||||
public MemoryStream GetAlkalmazottakAdatszinkronjaExcel()
|
||||
{
|
||||
List<AlkalmazottItemCo> alkalmazottCoList = new AlkalmazottHelper(ConnectionType).GetAlkalmazottCoList().OrderBy(a => a.FelhasznaloNyomtatasiNev).ToList();
|
||||
List<SimpleExportColumnCo> simpleExportColumnCos = SimpleExportLogic.GetSimpleExportColumnCos<AlkalmazottItemCo>(AlkalmazottItemCo.AlkalmazottAdatszinkronjaExportAttributeId);
|
||||
return SimpleExportLogic.GetExport(AlkalmazottResource.AlkalmazottAdatszinkronjaExportTableName, simpleExportColumnCos, alkalmazottCoList, AlkalmazottakAdatszinkronjaExcelSorSzinezes, TanevId);
|
||||
}
|
||||
|
||||
public MemoryStream GetEszkozIRTanarokExcel()
|
||||
{
|
||||
var eszkozIgenylesItemCoList = new AlkalmazottHelper(ConnectionType).GetEszkozIRTanarokExcel().OrderBy(a => a.FelhasznaloNyomtatasiNev).ToList();
|
||||
List<SimpleExportColumnCo> simpleExportColumnCos = SimpleExportLogic.GetSimpleExportColumnCos<EszkozIgenylesItemCo>(EszkozIgenylesItemCo.AlkalmazottEszkozIRExportAttributeId);
|
||||
return SimpleExportLogic.GetExport(AlkalmazottResource.AlkalmazottAdatszinkronjaExportTableName, simpleExportColumnCos, eszkozIgenylesItemCoList, TanevId);
|
||||
}
|
||||
|
||||
public MemoryStream GetEszkozIRNemTanarokExcel()
|
||||
{
|
||||
var eszkozIgenylesItemCoList = new AlkalmazottHelper(ConnectionType).GetEszkozIRNemTanarokExcel().OrderBy(a => a.FelhasznaloNyomtatasiNev).ToList();
|
||||
List<SimpleExportColumnCo> simpleExportColumnCos = SimpleExportLogic.GetSimpleExportColumnCos<EszkozIgenylesItemCo>(EszkozIgenylesItemCo.AlkalmazottEszkozIRExportAttributeId);
|
||||
return SimpleExportLogic.GetExport(AlkalmazottResource.AlkalmazottAdatszinkronjaExportTableName, simpleExportColumnCos, eszkozIgenylesItemCoList, TanevId);
|
||||
}
|
||||
|
||||
public MemoryStream GetEszkozIRAlkalmazottakFelhasznaloVagyNaploNelkulExcel()
|
||||
{
|
||||
var eszkozIgenylesItemCoList = new AlkalmazottHelper(ConnectionType).GetEszkozIRAlkalmazottakFelhasznaloVagyNaploNelkulExcel().OrderBy(a => a.FelhasznaloNyomtatasiNev).ToList();
|
||||
List<SimpleExportColumnCo> simpleExportColumnCos = SimpleExportLogic.GetSimpleExportColumnCos<EszkozIgenylesItemCo>(EszkozIgenylesItemCo.AlkalmazottEszkozIRExportAttributeId);
|
||||
return SimpleExportLogic.GetExport(AlkalmazottResource.AlkalmazottAdatszinkronjaExportTableName, simpleExportColumnCos, eszkozIgenylesItemCoList, TanevId);
|
||||
}
|
||||
|
||||
public MemoryStream GetEszkozIRNemRegisztraltTanarokExcel()
|
||||
{
|
||||
var eszkozIgenylesItemCoList = new AlkalmazottHelper(ConnectionType).GetEszkozIRNemRegisztraltTanarokExcel().OrderBy(a => a.FelhasznaloNyomtatasiNev).ToList();
|
||||
List<SimpleExportColumnCo> simpleExportColumnCos = SimpleExportLogic.GetSimpleExportColumnCos<EszkozIgenylesItemCo>(EszkozIgenylesItemCo.AlkalmazottEszkozIRExportAttributeId);
|
||||
return SimpleExportLogic.GetExport(AlkalmazottResource.AlkalmazottAdatszinkronjaExportTableName, simpleExportColumnCos, eszkozIgenylesItemCoList, TanevId);
|
||||
}
|
||||
|
||||
public MemoryStream GetEszkozIRRegisztraltTanarokExcel()
|
||||
{
|
||||
var eszkozIgenylesItemCoList = new AlkalmazottHelper(ConnectionType).GetEszkozIRRegisztraltTanarokExcel().OrderBy(a => a.FelhasznaloNyomtatasiNev).ToList();
|
||||
List<SimpleExportColumnCo> simpleExportColumnCos = SimpleExportLogic.GetSimpleExportColumnCos<EszkozIgenylesItemCo>(EszkozIgenylesItemCo.AlkalmazottEszkozIRExportAttributeId);
|
||||
return SimpleExportLogic.GetExport(AlkalmazottResource.AlkalmazottAdatszinkronjaExportTableName, simpleExportColumnCos, eszkozIgenylesItemCoList, TanevId);
|
||||
}
|
||||
|
||||
private void AlkalmazottakAdatszinkronjaExcelSorSzinezes(Worksheet worksheet)
|
||||
{
|
||||
for (int rowIndex = 1; rowIndex <= worksheet.Cells.MaxRow; rowIndex++)
|
||||
{
|
||||
var kozpontilagSzinkronizaltCell = worksheet.Cells[rowIndex, 6];
|
||||
var isKozpontilagSzinkronizalt = kozpontilagSzinkronizaltCell.StringValue == true.GetDisplayName(BooleanDisplayFormatEnum.Teljes);
|
||||
if (isKozpontilagSzinkronizalt)
|
||||
{
|
||||
for (int columnIndex = 0; columnIndex <= worksheet.Cells.MaxColumn; columnIndex++)
|
||||
{
|
||||
var cell = worksheet.Cells.Rows[rowIndex].GetCellOrNull(columnIndex);
|
||||
var style = cell.GetStyle();
|
||||
style.ForegroundColor = Color.LightGreen;
|
||||
style.Pattern = BackgroundType.Solid;
|
||||
cell.SetStyle(style);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private DataSet DigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamExcel(bool? isGondviseloLetezik = null, bool? isGondviseloBelepesLetezik = null, bool? isGondviseloTorvenyesKepviselo = null, bool? isGondviseloEszkozIgenylesElfogadottASZF = null)
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, h =>
|
||||
{
|
||||
ITanuloDal dal = h.Tanulo();
|
||||
return dal.GetTanulokDigitalisOktatasEgyenloHozzaferes(TanevId, IntezmenyId, Core.Constants.FeltarEvfolyamList, isGondviseloLetezik, isGondviseloBelepesLetezik, isGondviseloTorvenyesKepviselo, isGondviseloEszkozIgenylesElfogadottASZF);
|
||||
});
|
||||
}
|
||||
|
||||
private MemoryStream ExportDigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamExcel(DataSet dataSet)
|
||||
{
|
||||
var exportFile = new ExcelExportItem();
|
||||
|
||||
int columnIndex = 0;
|
||||
|
||||
exportFile.AddColumn(columnIndex++, FelhasznalokResource.Tanulo);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.TanuloOktatasiAzonositoja);
|
||||
exportFile.AddColumn(columnIndex++, FelhasznalokResource.Osztaly);
|
||||
exportFile.AddColumn(columnIndex++, RendszerErtesitesResource.TanuloOsztalyanakEvfolyama);
|
||||
|
||||
DataTable dt = dataSet.Tables[0];
|
||||
int rowIndex = 2;
|
||||
|
||||
if (dt.Rows.Count > 0)
|
||||
{
|
||||
foreach (DataRow row in dt.Rows)
|
||||
{
|
||||
columnIndex = 0;
|
||||
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row[nameof(FelhasznalokResource.Tanulo)]));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row[nameof(RendszerErtesitesResource.TanuloOktatasiAzonositoja)]));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row[nameof(FelhasznalokResource.Osztaly)]));
|
||||
exportFile.AddCell(rowIndex, columnIndex++, SDAConvert.ToString(row[nameof(RendszerErtesitesResource.TanuloOsztalyanakEvfolyama)]));
|
||||
|
||||
rowIndex++;
|
||||
}
|
||||
}
|
||||
|
||||
return new ExcelExportManager().CreateExcelExport(new List<ExcelExportItem> { exportFile });
|
||||
}
|
||||
|
||||
public MemoryStream GetDigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamExcel()
|
||||
{
|
||||
var dataSet = DigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamExcel();
|
||||
|
||||
return ExportDigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamExcel(dataSet);
|
||||
}
|
||||
|
||||
public MemoryStream GetDigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamNincsSzuloGondviseloExcel()
|
||||
{
|
||||
var dataSet = DigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamExcel(isGondviseloLetezik: false);
|
||||
|
||||
return ExportDigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamExcel(dataSet);
|
||||
}
|
||||
|
||||
public MemoryStream GetDigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamNincsSzuloGondviseloFelhasznalonevExcel()
|
||||
{
|
||||
var dataSet = DigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamExcel(isGondviseloBelepesLetezik: false);
|
||||
|
||||
return ExportDigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamExcel(dataSet);
|
||||
}
|
||||
|
||||
public MemoryStream GetDigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamNincsTorvenyesKepviseloExcel()
|
||||
{
|
||||
var dataSet = DigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamExcel(isGondviseloTorvenyesKepviselo: false);
|
||||
|
||||
return ExportDigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamExcel(dataSet);
|
||||
}
|
||||
|
||||
public MemoryStream GetDigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamAszfNincsElfogadvaExcel()
|
||||
{
|
||||
var dataSet = DigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamExcel(isGondviseloEszkozIgenylesElfogadottASZF: false);
|
||||
|
||||
return ExportDigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamExcel(dataSet);
|
||||
}
|
||||
|
||||
public MemoryStream GetDigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamSzuloElinditottaRegFolyamatotExcel()
|
||||
{
|
||||
var dataSet = DigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamExcel(isGondviseloEszkozIgenylesElfogadottASZF: true);
|
||||
|
||||
return ExportDigitalisOktatasEgyenloHozzaferesFeltetel9EvfolyamExcel(dataSet);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue