From 38a5536a3d776fc6de967407e16e1dee74cc9f3b Mon Sep 17 00:00:00 2001 From: fredyrivera Date: Thu, 14 Sep 2017 14:00:33 -0500 Subject: [PATCH] implementacion de impresion por uri en vista de informe --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 1d01c21..cf9a213 100755 --- a/index.php +++ b/index.php @@ -168,7 +168,8 @@ if ($variable !=''){ $set =$v[1]; /// s= SET DE DATOS $embebido = "1"; - $onload = "".consultar_contenido_formulario("$set",'',"",'listado','',"$plantilla").""; + if(isset($_REQUEST['print'])) { $print = "window.print()";} + $onload = "".consultar_contenido_formulario("$set",'',"",'listado','',"$plantilla")." "; } elseif($v[0] =='I') {