Cambio en Reporte de iva: se agrego la cluman de RetIVA Servicios y ademas se agrego un nuevo parametro al reporte para saber si va imprimir excel o pdf y saber de que forma acomodar el reporte

This commit is contained in:
HECTOR RODRIGUEZ
2021-02-15 21:39:19 -07:00
parent 2f1fd335b8
commit 62fc28ee3f
2 changed files with 1 additions and 0 deletions

View File

@@ -218,6 +218,7 @@ public partial class Contabilidad_RepIVA : ClsPaginas
string Formato = TT.ActiveTabIndex == 0 ? "RepIVA.rpt" : (Opcion == "EXCEL2" ? "RepIVAAcreditable2.rpt" : "RepIVAAcreditable.rpt");
Opcion = (Opcion == "EXCEL2" ? "EXCEL" : Opcion);
para.Add(new CrystalParametro("Excel", Formato));
para.Add(new CrystalParametro("Formato", Opcion));
System.IO.FileInfo Archivo = new System.IO.FileInfo(string.Format("{0}/Formatos/{1}", UsuarioActual.Empresa.Ruta, Formato));
string Ruta;// = (Archivo.Exists ? string.Format("{0}/{1}", UsuarioActual.Empresa.Ruta, Formato ): ModExtensiones.DirectorioBaseEmpresas + $@"Empresas\Grales\Formatos\{Formato}");

Binary file not shown.