From f757f5ab9155ebf3c7b50e22e19ea238a0ab3af5 Mon Sep 17 00:00:00 2001 From: rrene Date: Sat, 8 Jan 2022 12:01:24 -0700 Subject: [PATCH] =?UTF-8?q?ancho=20de=20folio=20m=C3=A1s=20grande=20y=20ac?= =?UTF-8?q?omodo=20de=20columnas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ventas/PopUpBuscarFolio.aspx | 24 ++++++++++++------------ Ventas/PopUpBuscarFolio.aspx.vb | 15 +++------------ 2 files changed, 15 insertions(+), 24 deletions(-) diff --git a/Ventas/PopUpBuscarFolio.aspx b/Ventas/PopUpBuscarFolio.aspx index fa9005ee8..2ac0d6747 100644 --- a/Ventas/PopUpBuscarFolio.aspx +++ b/Ventas/PopUpBuscarFolio.aspx @@ -184,7 +184,7 @@
- + Tipo @@ -210,30 +210,30 @@ - - Pedido/OC + + Sucursal - + - + Total - - - Sucursal - - - - + Estatus + + Pedido/OC + + + + XML diff --git a/Ventas/PopUpBuscarFolio.aspx.vb b/Ventas/PopUpBuscarFolio.aspx.vb index e0d9c2fb0..3d366797f 100644 --- a/Ventas/PopUpBuscarFolio.aspx.vb +++ b/Ventas/PopUpBuscarFolio.aspx.vb @@ -151,19 +151,10 @@ Partial Class PopUpBuscarFolio Protected Sub GV_RowDataBound(sender As Object, e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GV.RowDataBound If e.Row.RowType = DataControlRowType.DataRow Then - 'If e.Row.RowIndex = 0 Then - ' e.Row.Cells(0).Width = Unit.Pixel(38) - ' e.Row.Cells(1).Width = Unit.Pixel(65) - ' e.Row.Cells(2).Width = Unit.Pixel(70) - ' e.Row.Cells(3).Width = Unit.Pixel(250) - ' 'e.Row.Cells(4).Width = Unit.Pixel(75) - ' e.Row.Cells(4).Width = Unit.Pixel(75) - ' e.Row.Cells(5).Width = Unit.Pixel(100) - ' e.Row.Cells(6).Width = Unit.Pixel(100) - 'End If + e.Row.Cells(3).HorizontalAlign = HorizontalAlign.Left 'e.Row.Cells(4).HorizontalAlign = HorizontalAlign.Right - e.Row.Cells(4).HorizontalAlign = HorizontalAlign.Right + e.Row.Cells(5).HorizontalAlign = HorizontalAlign.Right Dim Liga As String = String.Format("", e.Row.DBCampo("CveVenta")) If UsuarioActual.CveEmpresa = 140 AndAlso e.Row.DBCampo("TipoDocto").Contiene("Rem") Then @@ -171,7 +162,7 @@ Partial Class PopUpBuscarFolio End If e.Row.FCLiteral("LtlTipo").Text = String.Format("", Liga, e.Row.DBCampo("TipoDocto")) - e.Row.FCLiteral("LtlFolio").Text = String.Format("
{0}{1}
", Liga, e.Row.DBCampo("Folio")) + e.Row.FCLiteral("LtlFolio").Text = String.Format("
{0}{1}
", Liga, e.Row.DBCampo("Folio")) e.Row.FCLiteral("LtlFecha").Text = String.Format("
{0}{1}
", Liga, e.Row.DBCampo("Fecha").ToDate.ToShortDateString) e.Row.FCLiteral("LtlNombre").Text = String.Format("
{0}{1}
", Liga, e.Row.DBCampo("Nombre")) 'e.Row.FCLiteral("LtlSubTotal").Text = Liga & e.Row.DBCampo("SubTotal").FormatoNumero & " "