public static ActionResult GenerarActionResultExcelServiciosCuotas(IEnumerable <ServicioCuota> items,
                                                                    int cuotasPendientes, int cuotasImpagas, int cuotasPagas, decimal totalPagado)
 {
     return(ReportesExcelHelper.GenerarReporteExcelFileResult(
                items, Configuracion.Configuracion.ServiciosCuotasTitulo,
                encabezados: new string[] { "Fecha", "Servicio", "Importe", "Gastos", "Total", "Fecha Pago", "Cuota" },
                mapeoItemValores:
                (item) => new object[]
     {
         Formato.FormatoFecha(item.Fecha),
         item.Nombre,
         item.Importe,
         item.Gastos,
         item.Total,
         Formato.FormatoFecha(item.FechaPago),
         item.Cuota,
     },
                valoresAdicionales: new Dictionary <string, object>
     {
         { "Cuotas pendientes", cuotasPendientes },
         { "Cuotas impagas", cuotasImpagas },
         { "Cuotas pagas", cuotasPagas },
         { "Total pagado", totalPagado },
     }));
 }
 public static ActionResult GenerarActionResultExcelResumen(List <SaldoCajaAhorro> saldos)
 {
     return(ReportesExcelHelper.GenerarReporteExcelFileResult(
                saldos, "Resúmen General",
                encabezados: new string[] { "Tipo Cuenta", "Nro. Cuenta", "Saldo" },
                mapeoItemValores:
                (item) => new object[]
     {
         item.TipoDesc,
         item.Cuenta,
         item.Saldo,
     }));
 }
 public static ActionResult GenerarActionResultExcelDetalleAyudaEconomicaDocumentos(IEnumerable <DetalleDocumentoAyuda> items)
 {
     return(ReportesExcelHelper.GenerarReporteExcelFileResult(
                items, Configuracion.Configuracion.AyudasEconomicasTitulo + "-Documentos",
                encabezados: new string[] { "Acreditación", "Banco", "Importe" },
                mapeoItemValores:
                (item) => new object[]
     {
         Formato.FormatoFecha(item.FechaAcr),
         item.Banco,
         item.Importe,
     }));
 }
 public static ActionResult GenerarActionResultExcelCuotasSocietarias(IEnumerable <CuotaSocietaria> items)
 {
     return(ReportesExcelHelper.GenerarReporteExcelFileResult(
                items, Configuracion.Configuracion.CuotasSocietariasTitulo,
                encabezados: new string[] { "Fecha", "Fecha pago", "Estado", "Importe" },
                mapeoItemValores:
                (item) => new object[]
     {
         Formato.FormatoFecha(item.Fecha),
         Formato.FormatoFecha(item.FechaDePago),
         item.Estado,
         item.Importe,
     }));
 }
 public static ActionResult GenerarActionResultExcelImpuestos(IEnumerable <ImpuestoPendiente> items)
 {
     return(ReportesExcelHelper.GenerarReporteExcelFileResult(
                items, Configuracion.Configuracion.ImpuestosTitulo,
                encabezados: new string[] { "Vencimiento", "N° Boleta", "Concepto", "Importe" },
                mapeoItemValores:
                (item) => new object[]
     {
         Formato.FormatoFecha(item.FechaVto),
         item.NroBol,
         item.Nombre,
         item.Importe,
     }));
 }
 public static ActionResult GenerarActionResultExcelCajaDeAhorros(IEnumerable <ResumenCuenta> items)
 {
     return(ReportesExcelHelper.GenerarReporteExcelFileResult(
                items, Configuracion.Configuracion.CajaAhorrosTitulo,
                encabezados: new string[] { "Fecha", "Concepto", "Importe", "Saldo", "Detalle" },
                mapeoItemValores:
                (item) => new object[]
     {
         Formato.FormatoFecha(item.Fecha),
         item.Nombre,
         item.Importe,
         item.Saldo,
         item.Observaciones
     }));
 }
 public static ActionResult GenerarActionResultExcelDetalleAyudaEconomicaCuotas(IEnumerable <DetalleCuotaAyuda> items)
 {
     return(ReportesExcelHelper.GenerarReporteExcelFileResult(
                items, Configuracion.Configuracion.AyudasEconomicasTitulo + "-Cuotas",
                encabezados: new string[] { "Ayuda", "Tipo", "Nro. Cuota", "Vencimiento", "Valor Cuota" },
                mapeoItemValores:
                (item) => new object[]
     {
         item.Ayuda,
         item.Moneda,
         item.NroCuota,
         Formato.FormatoFecha(item.FechaVto),
         item.ValorCuota,
     }));
 }
 public static ActionResult GenerarActionResultExcelValoresAlCobro(IEnumerable <DetalleValorCobroAcreditacion> items)
 {
     return(ReportesExcelHelper.GenerarReporteExcelFileResult(
                items, Configuracion.Configuracion.ValoresAlCobroTitulo,
                encabezados: new string[] { "Fecha Depósito", "Fecha Acreditación", "Banco", "Localidad", "Cheque", "Importe" },
                mapeoItemValores:
                (item) => new object[]
     {
         Formato.FormatoFecha(item.FecDep),
         Formato.FormatoFecha(item.FechaAcr),
         item.Banco,
         item.Localidad,
         item.Cheque,
         item.Importe,
     }));
 }
 public static ActionResult GenerarActionResultExcelAyudasEconomicas(IEnumerable <AyudaEconomicaVigente> items)
 {
     return(ReportesExcelHelper.GenerarReporteExcelFileResult(
                items, Configuracion.Configuracion.AyudasEconomicasTitulo,
                encabezados: new string[] { "Fecha", "Tipo", "Detalle", "Ayuda", "Plazo", "Vencimiento", "Total", "Cuotas" },
                mapeoItemValores:
                (item) => new object[]
     {
         Formato.FormatoFecha(item.Fecha),
         item.Tipo,
         item.Comprobantes,
         item.Ayuda,
         item.Plazo,
         Formato.FormatoFecha(item.FechaVto),
         item.Total,
         item.Cuotas,
     }));
 }
 private static ActionResult GenerarActionResultExcelAhorroATermino(string nombre, IEnumerable <AhorroTerminoVigente> items)
 {
     return(ReportesExcelHelper.GenerarReporteExcelFileResult(
                items, nombre,
                encabezados: new string[] { "Fecha", "Vencimiento", "Número", "Plazo", "TEM", "TNA", "Depósito", "Sello", "Estímulo", "Total" },
                mapeoItemValores:
                (item) => new object[]
     {
         Formato.FormatoFecha(item.Fecha),
         Formato.FormatoFecha(item.FechaVto),
         item.Numero,
         item.Plazo,
         Formato.FormatoPorcentaje(item.TEM),
         Formato.FormatoPorcentaje(item.TNA),
         item.Deposito,
         item.Sello,
         item.Estimu,
         item.Total,
     }));
 }