public ReporteDiarioDTO(long agenteId , DateTime fechaBuscar , Horario horario ,Novedad novedad , ComisionServicio comision , Lactancia lactancia ,RelojDefectuoso reloj) { AgenteId = agenteId; FechaReporte = fechaBuscar; _reporteServicio = new ReporteServicio(); _agente = _reporteServicio.BuscarPorId(AgenteId); _horario = horario; _accesos = _reporteServicio.obtenerAccesos(AgenteId, fechaBuscar); _toleraciaLlegadaTarde = _reporteServicio.obtenerMinutosLlegadaTarde(); _toleraciaAusente = _reporteServicio.obtenerMinutosAusentes(); _minutosLactancia = _reporteServicio.obtenerMinutosLactancia(); _lactancia = lactancia; _novedad = novedad; _comision = comision; _reloj = reloj; if (_novedad!=null) { _tipoNovedad = new TipoNovedad(); _tipoNovedad = _reporteServicio.obtenerTipo(_novedad.Id); } }
public ReporteDiarioDTO(long agenteId , DateTime fechaBuscar , Horario horario , Novedad novedad , ComisionServicio comision , Lactancia lactancia , RelojDefectuoso reloj) { AgenteId = agenteId; FechaReporte = fechaBuscar; _reporteServicio = new ReporteServicio(); _agente = _reporteServicio.BuscarPorId(AgenteId); _horario = horario; _accesos = _reporteServicio.obtenerAccesos(AgenteId, fechaBuscar); _toleraciaLlegadaTarde = _reporteServicio.obtenerMinutosLlegadaTarde(); _toleraciaAusente = _reporteServicio.obtenerMinutosAusentes(); _minutosLactancia = _reporteServicio.obtenerMinutosLactancia(); _lactancia = lactancia; _novedad = novedad; _comision = comision; _reloj = reloj; if (_novedad != null) { _tipoNovedad = new TipoNovedad(); _tipoNovedad = _reporteServicio.obtenerTipo(_novedad.Id); } }
public _10002_ReporteDiario() { InitializeComponent(); WindowState = FormWindowState.Maximized; _reporteServicio = new ReporteServicio(); lista = new List<Servicio.Core.Reporte.ReporteDiarioDTO.ReporteDiarioDTO>(); this.dataGridView1.DataSource = lista; FormatearGrilla(dataGridView1); }
public _10002_ReporteDiario() { InitializeComponent(); WindowState = FormWindowState.Maximized; _reporteServicio = new ReporteServicio(); lista = new List <Servicio.Core.Reporte.ReporteDiarioDTO.ReporteDiarioDTO>(); this.dataGridView1.DataSource = lista; FormatearGrilla(dataGridView1); }
public ReportController(IApiServicio apiServicio, IReporteServicio reporteServicio) { this.apiServicio = apiServicio; this.reporteServicio = reporteServicio; }
public ReportController(IReporteServicio reporteServicio, IConfiguration Configuration, CALIDADContext context) { this.Configuration = Configuration; this.reporteServicio = reporteServicio; this.db = context; }
public ReportController(IReporteServicio reporteServicio, IConfiguration Configuration) { this.Configuration = Configuration; this.reporteServicio = reporteServicio; }
public ReportController(IReporteServicio reporteServicio, IConfiguration Configuration, UserManager <ApplicationUser> userManager) { this.Configuration = Configuration; this.reporteServicio = reporteServicio; _userManager = userManager; }