From a5d954b4c728ac4bace196a48a167c72dc847c1b Mon Sep 17 00:00:00 2001 From: enlineawork Date: Thu, 10 Sep 2026 20:19:59 -0300 Subject: [PATCH] feat: show provisional Informe PDF projection --- web-v2/src/pages/ReportDetailPage.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web-v2/src/pages/ReportDetailPage.tsx b/web-v2/src/pages/ReportDetailPage.tsx index 5071f2e..8a2fcfb 100644 --- a/web-v2/src/pages/ReportDetailPage.tsx +++ b/web-v2/src/pages/ReportDetailPage.tsx @@ -2,6 +2,7 @@ import { useEffect, useState } from 'react'; import type { FormEvent } from 'react'; import { Link, useParams } from 'react-router'; import { useAuth } from '../auth/AuthContext'; +import { DocumentPdfProjection } from '../components/DocumentPdfProjection'; import { Alert, LoadingBlock, errorMessage } from '../components/Feedback'; import { Icon } from '../components/Icon'; import { SearchableSelect } from '../components/SearchableSelect'; @@ -193,7 +194,7 @@ export function ReportDetailPage() { {success && {success}} {report && <> -

Un INF corresponde a una sola Acta. El Word puede editarse durante la preparación del Informe. El Acta sellada y los Hallazgos que contiene permanecen inmutables.

+

Un INF corresponde a una sola Acta. Una Inspección puede contener varias Actas y, por lo tanto, varios INF independientes. El Word puede editarse durante la preparación; el Acta sellada y sus Hallazgos permanecen inmutables.

TRAZABILIDAD DOCUMENTAL

{report.code}

Versión del Acta: {report.actVersion}
@@ -210,6 +211,8 @@ export function ReportDetailPage() {
+ +
WORD EDITABLE

Preparación del INF

El Inspector puede revisar y ajustar el texto del Informe antes de incorporarlo a GEDO. Esta edición no altera el Acta fuente.

{report.wordStatus === 'READY' && Descargar Word}