From cb58ed2aeda3d211e8cb5fc7f00db3754337737f Mon Sep 17 00:00:00 2001 From: roberto Date: Tue, 3 Mar 2015 15:44:19 +0000 Subject: [PATCH] Arreglo de informes de grid para que cambie de empresa el footer del informe git-svn-id: https://192.168.0.254/svn/Proyectos.Acana_FactuGES2/trunk@615 f4e31baf-9722-1c47-927c-6f952f962d4b --- Source/ApplicationBase/uFactuGES_App.pas | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/ApplicationBase/uFactuGES_App.pas b/Source/ApplicationBase/uFactuGES_App.pas index 4bcd6259..e80a0ca3 100644 --- a/Source/ApplicationBase/uFactuGES_App.pas +++ b/Source/ApplicationBase/uFactuGES_App.pas @@ -245,6 +245,12 @@ begin FEmpresaActiva := Aux; end; + if Assigned(FEmpresaActiva) then + begin + dmBase.dxPrintStyleManager1Style1.PrinterPage.PageFooter.LeftTitle.Clear; + dmBase.dxPrintStyleManager1Style1.PrinterPage.PageFooter.LeftTitle.Add(FEmpresaActiva.NOMBRE); + end; + //Establece el ejercicio activo de la empresa activa CambiarEjercicio(AIDEmpresa); BuscarTiendaPorDefecto;