From 4b94377827a402f468b6ec7a9b860c347ced124b Mon Sep 17 00:00:00 2001 From: dmolinari Date: Thu, 19 Jun 2025 15:35:38 -0300 Subject: [PATCH] Fix copia de cshtml templates. --- .../Controllers/Reportes/ReportesController.cs | 4 ++-- Backend/GestionIntegral.Api/GestionIntegral.Api.csproj | 8 +++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Backend/GestionIntegral.Api/Controllers/Reportes/ReportesController.cs b/Backend/GestionIntegral.Api/Controllers/Reportes/ReportesController.cs index cf46328..5580a58 100644 --- a/Backend/GestionIntegral.Api/Controllers/Reportes/ReportesController.cs +++ b/Backend/GestionIntegral.Api/Controllers/Reportes/ReportesController.cs @@ -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); diff --git a/Backend/GestionIntegral.Api/GestionIntegral.Api.csproj b/Backend/GestionIntegral.Api/GestionIntegral.Api.csproj index 1cc4e47..debea04 100644 --- a/Backend/GestionIntegral.Api/GestionIntegral.Api.csproj +++ b/Backend/GestionIntegral.Api/GestionIntegral.Api.csproj @@ -5,6 +5,7 @@ enable enable true + false @@ -22,11 +23,8 @@ - - - + PreserveNewest - - + \ No newline at end of file