From d9e8e4907cdc046a71c40486373fec01c185d050 Mon Sep 17 00:00:00 2001 From: MLopez Date: Fri, 11 Nov 2022 17:29:50 -0700 Subject: [PATCH] =?UTF-8?q?Rep=20Fluctuaci=C3=B3n=20Cambiaria:=20Exportar?= =?UTF-8?q?=20Excel=20con=20Gembox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bancos/FluctuacionCambiaria.aspx | 2 +- Bancos/FluctuacionCambiaria.aspx.vb | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Bancos/FluctuacionCambiaria.aspx b/Bancos/FluctuacionCambiaria.aspx index f15eb6946..0bbd521d5 100644 --- a/Bancos/FluctuacionCambiaria.aspx +++ b/Bancos/FluctuacionCambiaria.aspx @@ -1,4 +1,4 @@ -<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="FluctuacionCambiaria.aspx.vb" Inherits="Bancos_FluctuacionCambiaria" %> +<%@ Page Title="" Language="VB" EnableEventValidation="false" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="FluctuacionCambiaria.aspx.vb" Inherits="Bancos_FluctuacionCambiaria" %> diff --git a/Bancos/FluctuacionCambiaria.aspx.vb b/Bancos/FluctuacionCambiaria.aspx.vb index 57615683d..5a62e3fc0 100644 --- a/Bancos/FluctuacionCambiaria.aspx.vb +++ b/Bancos/FluctuacionCambiaria.aspx.vb @@ -1287,23 +1287,23 @@ Partial Class Bancos_FluctuacionCambiaria Protected Sub LnkExportar_Click(sender As Object, e As EventArgs) Handles LnkExportar.Click If (T.ActiveTabIndex = 0) Then 'GvProveedores.ExportToExcelGembox("FluctuacionCambiariaProveedores_" & Now.ToShortDateString) - ExportToExcelGembox(GvProveedores, "FluctuacionCambiariaProveedores_" & Now.ToShortDateString, UsuarioActual, "Fluctuaciones cambairasi proveedor") + GvProveedores.ExportToExcelGembox("FCProveedores_" & Now.ToShortDateString, UsuarioActual, "Fluctuación Cambiaria - Proveedores") ElseIf (T.ActiveTabIndex = 1) Then - GvProveedoresAnt.ExportToExcel("FluctuacionCambiariaProveedoresAnt_" & Now.ToShortDateString) + GvProveedoresAnt.ExportToExcelGembox("FCProveedoresAnt_" & Now.ToShortDateString, UsuarioActual, "Fluctuación Cambiaria - Proveedores Anticipos") ElseIf (T.ActiveTabIndex = 2) Then - GvVentas.ExportToExcel("FluctuacionCambiariaClientes_" & Now.ToShortDateString) + GvVentas.ExportToExcelGembox("FCClientes_" & Now.ToShortDateString, UsuarioActual, "Fluctuación Cambiaria - Clientes") ElseIf (T.ActiveTabIndex = 3) Then - GvClientesAnt.ExportToExcel("FluctuacionCambiariaClientesAnt_" & Now.ToShortDateString) + GvClientesAnt.ExportToExcelGembox("FCClientesAnt_" & Now.ToShortDateString, UsuarioActual, "Fluctuación Cambiaria - Clientes Anticipos") ElseIf (T.ActiveTabIndex = 4) Then - GvAcreedores.ExportToExcel("FluctuacionCambiariaComprasAcreedores_" & Now.ToShortDateString) + GvAcreedores.ExportToExcelGembox("FCComprasAcreedores_" & Now.ToShortDateString, UsuarioActual, "Fluctuación Cambiaria - Compras Acreedores") ElseIf (T.ActiveTabIndex = 5) Then - GvAcreedoresAnt.ExportToExcel("FluctuacionCambiariaAcreedoresAnt_" & Now.ToShortDateString) + GvAcreedoresAnt.ExportToExcelGembox("FCAcreedoresAnt_" & Now.ToShortDateString, UsuarioActual, "Fluctuación Cambiaria - Acreedores Anticipos") ElseIf (T.ActiveTabIndex = 6) Then - GvCuentas.ExportToExcel("FluctuacionCambiariaBancos_" & Now.ToShortDateString) + GvCuentas.ExportToExcelGembox("FCBancos_" & Now.ToShortDateString, UsuarioActual, "Fluctuación Cambiaria - Bancos") ElseIf (T.ActiveTabIndex = 7) Then - GvFiliales.ExportToExcel("FluctuacionCambiariaFilial_" & Now.ToShortDateString) + GvFiliales.ExportToExcelGembox("FCFilial_" & Now.ToShortDateString, UsuarioActual, "Fluctuación Cambiaria - Filiales") ElseIf (T.ActiveTabIndex = 8) Then - GvDeudores.ExportToExcel("FluctuacionCambiariaDeudores_" & Now.ToShortDateString) + GvDeudores.ExportToExcelGembox("FCDeudores_" & Now.ToShortDateString, UsuarioActual, "Fluctuación Cambiaria - Deudores") End If ' ImprimirReportePdf("Excel")