From a1587bc61f4ec5f897fec8486e20deb6f83dc7d9 Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Mon, 6 May 2024 10:59:37 -0700 Subject: [PATCH 1/2] --Cambios RepCortes E197 --- Compras/PopUpVerFactura.aspx.vb | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/Compras/PopUpVerFactura.aspx.vb b/Compras/PopUpVerFactura.aspx.vb index 3fa9b72ca..61dc24738 100644 --- a/Compras/PopUpVerFactura.aspx.vb +++ b/Compras/PopUpVerFactura.aspx.vb @@ -1563,7 +1563,7 @@ Partial Class PopUpVerFactura Dim Fecha As String = "", Nombre As String = "" Dim OpcionDetallado As Integer = 1 - If UsuarioActual.Empresa.Funcionalidad(109) = "1" Then OpcionDetallado = 2 + If UsuarioActual.Empresa.Funcionalidad(109) = "1" OrElse UsuarioActual.CveEmpresa = 197 Then OpcionDetallado = 2 Dim ObjVenta As New ClsVentas Dim ObjPuntoVenta As New ClsPuntoVenta @@ -1662,9 +1662,13 @@ Partial Class PopUpVerFactura Orden = 5 TipoTabla = 1 Case "VentaTotalRemision" - rowData("Columna") = "Ventas Remisiones" - Orden = 6 - TipoTabla = 1 + If UsuarioActual.CveEmpresa.Contiene(190, 192) Then + rowData("Columna") = "Ventas Remisiones" + Orden = 6 + TipoTabla = 1 + Else + Orden = 0 + End If Case "TotalEfectivo" rowData("Columna") = "Total Efectivo" Orden = 7 @@ -1727,13 +1731,13 @@ Partial Class PopUpVerFactura DtDatosCajas.Rows.Add(rowData.ItemArray) End If - If row(0).ToString() = "SaldoAnteriorAplicado" Then - Dim RowMP As DataRow = DtMetodosPago.NewRow - RowMP("MetodoPago") = "Saldo Aplicado" - RowMP("Importe") = Total.ToDecimal() + 'If row(0).ToString() = "SaldoAnteriorAplicado" Then + ' Dim RowMP As DataRow = DtMetodosPago.NewRow + ' RowMP("MetodoPago") = "Saldo Aplicado" + ' RowMP("Importe") = Total.ToDecimal() - DtMetodosPago.Rows.Add(RowMP) - End If + ' DtMetodosPago.Rows.Add(RowMP) + 'End If End If Next From 9486ba575fd55390c0f392f89605f79eeac3faea Mon Sep 17 00:00:00 2001 From: rakcsle Date: Mon, 6 May 2024 15:59:39 -0700 Subject: [PATCH 2/2] SMS - 2024.04.16 --- App_Code/ClsVentas.vb | 3 +- TareasProgramadas/Tareas119.ashx | 2 +- Transportes/RepContratos.aspx | 8 +- UserControl/AddMedico.ascx | 69 +++-- UserControl/AddMedico.ascx.vb | 69 ++++- Ventas/ActualizarPrecios.aspx | 3 +- Ventas/ActualizarPrecios.aspx.vb | 26 ++ Ventas/CatMedicos.aspx | 444 +++++++++++++++---------------- Ventas/CatMedicos.aspx.vb | 4 - Ventas/RepComisionesSMS.aspx | 125 ++++++--- Ventas/RepComisionesSMS.aspx.vb | 51 +++- Ventas/Ventas.aspx.vb | 5 +- 12 files changed, 487 insertions(+), 322 deletions(-) diff --git a/App_Code/ClsVentas.vb b/App_Code/ClsVentas.vb index 69de2e44a..1d1a578d1 100644 --- a/App_Code/ClsVentas.vb +++ b/App_Code/ClsVentas.vb @@ -6856,7 +6856,7 @@ Public Class ClsVentas End Function - Public Function GetComisionesMedicasRep(FechaInicio As Date, FechaFin As Date, CveEmpresa As Integer, CveSubProyecto As Integer, CveProcedimiento As Integer, CveMedico As Integer, CveVendedor As Integer, CveUsuario As Integer, CveTipoVenta As Integer) As Boolean + Public Function GetComisionesMedicasRep(FechaInicio As Date, FechaFin As Date, CveEmpresa As Integer, CveSubProyecto As Integer, CveProcedimiento As Integer, CveMedico As Integer, CveVendedor As Integer, CveUsuario As Integer, CveTipoVenta As Integer, Opcion As Integer) As Boolean Dim Retorno As Boolean = False DataAdapter("PA_Vta_ComisionesMedicasRepGet") @@ -6871,6 +6871,7 @@ Public Class ClsVentas .Add("@CveVendedor", SqlDbType.Int).Value = CveVendedor .Add("@CveUsuario", SqlDbType.Int).Value = CveUsuario .Add("@CveTipoVenta", SqlDbType.Int).Value = CveTipoVenta + .Add("@Opcion", SqlDbType.Int).Value = Opcion End With diff --git a/TareasProgramadas/Tareas119.ashx b/TareasProgramadas/Tareas119.ashx index db0c9cfc5..998b74230 100644 --- a/TareasProgramadas/Tareas119.ashx +++ b/TareasProgramadas/Tareas119.ashx @@ -381,7 +381,7 @@ public class TareasJam : IHttpHandler } - ErrorProceso = true; + //ErrorProceso = true; if (!ErrorProceso) diff --git a/Transportes/RepContratos.aspx b/Transportes/RepContratos.aspx index c60a2f43b..2d01f9a80 100644 --- a/Transportes/RepContratos.aspx +++ b/Transportes/RepContratos.aspx @@ -241,7 +241,13 @@
- + <%----%> +
+ + + + +
diff --git a/UserControl/AddMedico.ascx b/UserControl/AddMedico.ascx index f56e0b0b4..f37366070 100644 --- a/UserControl/AddMedico.ascx +++ b/UserControl/AddMedico.ascx @@ -1,16 +1,19 @@ <%@ Control Language="VB" AutoEventWireup="false" CodeFile="AddMedico.ascx.vb" Inherits="UserControl_AddMedico" %> -<%----%> + .contenedor-label { + overflow-x: auto; + white-space: nowrap; + } + + .contenedor-fijo { + width: 150px; /* o el ancho que prefieras */ + overflow-x: auto; + white-space: nowrap; + scrollbar-width: none; + } + +