Fix copia de cshtml templates.
All checks were successful
Build and Deploy / remote-build-and-deploy (push) Successful in 25m12s

This commit is contained in:
2025-06-19 15:35:38 -03:00
parent 975a1e6d26
commit 4b94377827
2 changed files with 5 additions and 7 deletions

View File

@@ -123,11 +123,11 @@ namespace GestionIntegral.Api.Controllers
string nombrePlantaParam = "Consolidado";
if (consolidado)
{
templatePath = Path.Combine("Controllers", "Reportes", "Templates", "ReporteExistenciaPapelConsolidado.cshtml");
templatePath = "Controllers/Reportes/Templates/ReporteExistenciaPapelConsolidado.cshtml";
}
else
{
templatePath = Path.Combine("Controllers", "Reportes", "Templates", "ReporteExistenciaPapel.cshtml");
templatePath = "Controllers/Reportes/Templates/ReporteExistenciaPapel.cshtml";
if (idPlanta.HasValue)
{
var planta = await _plantaRepository.GetByIdAsync(idPlanta.Value);