From 1dc5f3fc49646b1223483aca5c55a75edcd70a82 Mon Sep 17 00:00:00 2001 From: rakcsle Date: Thu, 27 Feb 2025 10:50:13 -0700 Subject: [PATCH] RepRemisiones --- Empresas/Grales/Formatos/CartaPorteTimbrado.rdlc | 3 +++ Ventas/RepRemisiones.aspx | 15 +++++++++++++-- Ventas/RepRemisiones.aspx.vb | 11 ++++++++--- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/Empresas/Grales/Formatos/CartaPorteTimbrado.rdlc b/Empresas/Grales/Formatos/CartaPorteTimbrado.rdlc index 987d6d497..d0e580d43 100644 --- a/Empresas/Grales/Formatos/CartaPorteTimbrado.rdlc +++ b/Empresas/Grales/Formatos/CartaPorteTimbrado.rdlc @@ -5884,6 +5884,7 @@ Se ha recibido el número arriba indicado de bultos/contenedores/remolques/autot + LightGrey 2pt 2pt 2pt @@ -6015,6 +6016,7 @@ Se ha recibido el número arriba indicado de bultos/contenedores/remolques/autot + LightGrey 2pt 2pt 2pt @@ -6134,6 +6136,7 @@ Se ha recibido el número arriba indicado de bultos/contenedores/remolques/autot + LightGrey 2pt 2pt 2pt diff --git a/Ventas/RepRemisiones.aspx b/Ventas/RepRemisiones.aspx index 12bd915ec..51deb1ca1 100644 --- a/Ventas/RepRemisiones.aspx +++ b/Ventas/RepRemisiones.aspx @@ -208,6 +208,7 @@ +
" style="display: inline-block; margin-right: -20px; width: 150px;" /> @@ -221,8 +222,18 @@ CssClass="table table-striped table-advance table-hover Widthall ScrollAD" data-sort="true" GridLines="None"> - - + + <%----%> + + + + Fecha + + + + + + diff --git a/Ventas/RepRemisiones.aspx.vb b/Ventas/RepRemisiones.aspx.vb index 19a3d659f..366aaedd6 100644 --- a/Ventas/RepRemisiones.aspx.vb +++ b/Ventas/RepRemisiones.aspx.vb @@ -130,7 +130,12 @@ Partial Class RepRemisiones e.Row.Cells(2).ForeColor = Drawing.Color.Red End If - e.Row.Cells(1).Text = $"{e.Row.DataKey("Fecha").ToDate().ToString("dd/MM/yyyy HH:mm:ss")}" + 'e.Row.Cells(1).Text = $"{e.Row.DataKey("Fecha").ToDate().ToString("dd/MM/yyyy HH:mm:ss")}" + Dim LnkFecha = e.Row.FCLinkButton("LnkFecha") + LnkFecha.Text = If(UsuarioActual.Empresa.Funcionalidad(578) = "1", e.Row.DataKey("Fecha").ToDate().ToString("dd/MM/yyyy HH:mm"), e.Row.DataKey("Fecha").ToDate().ToString("dd/MM/yyyy HH:mm:ss")) + LnkFecha.Attributes("onclick") = $"window.open('./Ventas.aspx?CveVenta={e.Row.DataKey("CveVenta")}', '_blank'); return false;" + + End If @@ -155,8 +160,8 @@ Partial Class RepRemisiones GvDatos.Columns(7).Visible = True 'columna de fecha GvDatos.Columns(1).HeaderText = "Fecha Cirugía" - CType(GvDatos.Columns(1), HyperLinkField).DataTextFormatString = "{0:dd/MM/yyyy HH:mm}" - CType(GvDatos.Columns(1), HyperLinkField).ItemStyle.Width = Unit.Pixel(120) + 'CType(GvDatos.Columns(1), HyperLinkField).DataTextFormatString = "{0:dd/MM/yyyy HH:mm}" + 'CType(GvDatos.Columns(1), HyperLinkField).ItemStyle.Width = Unit.Pixel(120) GvDatos.Columns(16).Visible = True End If