Test Culture-Invariant Date Format
All checks were successful
Build and Deploy / remote-build-and-deploy (push) Successful in 20m17s
All checks were successful
Build and Deploy / remote-build-and-deploy (push) Successful in 20m17s
This commit is contained in:
@@ -956,11 +956,17 @@ namespace GestionIntegral.Api.Controllers
|
|||||||
report.DataSources.Add(new ReportDataSource("DSDistribuidoresPagos", pagos ?? new List<BalanceCuentaPagosDto>()));
|
report.DataSources.Add(new ReportDataSource("DSDistribuidoresPagos", pagos ?? new List<BalanceCuentaPagosDto>()));
|
||||||
report.DataSources.Add(new ReportDataSource("DSDistribuidoresSaldos", saldos ?? new List<SaldoDto>()));
|
report.DataSources.Add(new ReportDataSource("DSDistribuidoresSaldos", saldos ?? new List<SaldoDto>()));
|
||||||
|
|
||||||
var parameters = new List<ReportParameter>
|
/*var parameters = new List<ReportParameter>
|
||||||
{
|
{
|
||||||
new ReportParameter("FechaDesde", fechaDesde.ToString("dd/MM/yyyy")),
|
new ReportParameter("FechaDesde", fechaDesde.ToString("dd/MM/yyyy")),
|
||||||
new ReportParameter("FechaHasta", fechaHasta.ToString("dd/MM/yyyy"))
|
new ReportParameter("FechaHasta", fechaHasta.ToString("dd/MM/yyyy"))
|
||||||
|
};*/
|
||||||
|
var parameters = new List<ReportParameter>
|
||||||
|
{
|
||||||
|
new ReportParameter("FechaDesde", fechaDesde.ToString("o")),
|
||||||
|
new ReportParameter("FechaHasta", fechaHasta.ToString("o"))
|
||||||
};
|
};
|
||||||
|
|
||||||
report.SetParameters(parameters);
|
report.SetParameters(parameters);
|
||||||
|
|
||||||
byte[] pdfBytes = report.Render("PDF");
|
byte[] pdfBytes = report.Render("PDF");
|
||||||
|
|||||||
Reference in New Issue
Block a user