+
-
+
diff --git a/OS/OrdenesServicios.aspx.vb b/OS/OrdenesServicios.aspx.vb
index ad9919f31..7163e362e 100644
--- a/OS/OrdenesServicios.aspx.vb
+++ b/OS/OrdenesServicios.aspx.vb
@@ -10,6 +10,7 @@ Imports Stimulsoft.Report.StiOptions.Export
Imports Modelos
Imports System.Runtime.InteropServices.ComTypes
Imports APP_Code_CSharp
+Imports System.ComponentModel.Design
Partial Class OS_OrdenesServicios
Inherits ClsPaginas
@@ -475,6 +476,7 @@ Partial Class OS_OrdenesServicios
DvTxtPacienteModal.Visible = True
DvTxtEpisodioModal.Visible = True
+ DvTxtFolioRemisionModal.Visible = True
If CveOS > 0 And TipoEstatus >= 3 Then
DdlUsuarioAtendio.Enabled = True
@@ -3067,7 +3069,12 @@ Partial Class OS_OrdenesServicios
If UsuarioActual.Empresa.Funcionalidad(578).ToEntero = 1 Then
TxtPacienteModal.Text = TxtPaciente.Text
TxtEpisodioModal.Text = TxtIdentificadorCliente.Text
+ End If
+ If DdlTipoVenta.SelectedValue.ToEntero = 5 Then
+ DvTxtFolioRemisionModal.Visible = False
+ Else
+ DvTxtFolioRemisionModal.Visible = True
End If
UpModalMaterialUtilizado.Update()
@@ -3198,6 +3205,14 @@ Partial Class OS_OrdenesServicios
Dim ImporteAlmacen As Decimal
Dim Fecha As DateTime = ClsPaginas.NowADS()
+ If GenrarRemisionMovimientos AndAlso ProcesoOK Then
+ If Not TxtFolioRemisionModal.Text.Trim.Length > 0 Then
+ Alert("El campo Folio es requerido por favor ingreselo.", TipoMensaje.MsgAdvertencia)
+ ProcesoOK = False
+ GenrarRemisionMovimientos = False
+ End If
+ End If
+
If GenrarRemisionMovimientos AndAlso ProcesoOK Then
Respuesta = GeneraRemision(CveVentaPedido, ObjV.IniciaTransacSQL())
@@ -3378,6 +3393,7 @@ Partial Class OS_OrdenesServicios
ObjFactura.CveVentaRelacion = CveVentaPedido
ObjFactura.Paciente = TxtPacienteModal.Text.Trim
ObjFactura.Episodio = TxtEpisodioModal.Text.Trim
+ ObjFactura.Alfa1 = TxtFolioRemisionModal.Text.Trim
For Each GvRow As GridViewRow In GvMU.Rows
diff --git a/Sistemas/CatSesiones.aspx.vb b/Sistemas/CatSesiones.aspx.vb
index e6c1af670..b024433df 100644
--- a/Sistemas/CatSesiones.aspx.vb
+++ b/Sistemas/CatSesiones.aspx.vb
@@ -131,7 +131,9 @@ Partial Class Sistemas_CatSesiones
End If
End Sub
- Private Sub CargaActivoFijos()
+ Private Sub CargaActivoFijos()
+ GlobalDTTipoActivoFijo(UsuarioActual.CveEmpresa) = Nothing
+ GlobalDTSubTipoActivoFijo(UsuarioActual.CveEmpresa) = Nothing
GlobalDTActivoFijos(UsuarioActual.CveEmpresa) = Nothing
GlobalDTModeloActivoFijo(UsuarioActual.CveEmpresa, -1) = Nothing
End Sub
diff --git a/Transportes/RepContratos.aspx b/Transportes/RepContratos.aspx
index 6eade5a4b..4e1425160 100644
--- a/Transportes/RepContratos.aspx
+++ b/Transportes/RepContratos.aspx
@@ -33,13 +33,20 @@
-
-
- Agregar Contrato
-
-
- Generar Excel
-
+
+
+
+
+ Agregar Contrato
+
+
+ Generar Excel
+
+
+
+
+
+
@@ -51,253 +58,246 @@
style="margin-top: -3px;" class="btn btn-circle btn-sm label-info">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Fecha
- Salida
-
-
-
-
-
-
-
-
- Fecha
- Regreso
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
+
+
-
-
+
+
+
+
+
-
-
+
+
+
+
+
-
+
+
+
+
+
-
+
+
+
+
+
-
+
+
+ Fecha
+ Regreso
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Transportes/RepContratos.aspx.vb b/Transportes/RepContratos.aspx.vb
index 027c350e9..c1d523215 100644
--- a/Transportes/RepContratos.aspx.vb
+++ b/Transportes/RepContratos.aspx.vb
@@ -23,7 +23,7 @@ Partial Class ListadoContratos
Private Sub InicializaCombos()
'Lista Activos Fijos'
Dim ObjAF As New ClsAF()
- If ObjAF.GetActivosFijos(-1, 13, "-1", "-1", -1, -1, "-1", -1, -1, -1, -1, 1, "-1", -1, -1, -1) Then
+ If ObjAF.GetActivosFijos(-1, UsuarioActual.CveEmpresa, "-1", "-1", -1, -1, "-1", -1, -1, -1, -1, 1, "-1", -1, -1, -1) Then
If ObjAF.DtResultados.Rows.Count > 0 Then
DdlTransporte.DataSource = ObjAF.DtResultados
DdlTransporte.Items.Insert(0, New ListItem("Seleccione", ""))
diff --git a/Ventas/RepRemisiones.aspx b/Ventas/RepRemisiones.aspx
index 4eab2a885..2f136ea49 100644
--- a/Ventas/RepRemisiones.aspx
+++ b/Ventas/RepRemisiones.aspx
@@ -229,6 +229,7 @@
+
diff --git a/Ventas/RepRemisiones.aspx.vb b/Ventas/RepRemisiones.aspx.vb
index 5f7c92f82..a63b446de 100644
--- a/Ventas/RepRemisiones.aspx.vb
+++ b/Ventas/RepRemisiones.aspx.vb
@@ -97,10 +97,10 @@ Partial Class RepRemisiones
End If
If DtVentas IsNot Nothing Then
- GvDatos.Columns(10).Visible = DtVentas.SUMD("Descuento") > 0
+ GvDatos.Columns(11).Visible = DtVentas.SUMD("Descuento") > 0
End If
- GvDatos.Columns(13).Visible = chkInv.Checked 'solo se visualiza si está selccionada
+ GvDatos.Columns(14).Visible = chkInv.Checked 'solo se visualiza si está selccionada
ObjVentas.Dispose()
GvDatos.DataBind()
@@ -143,6 +143,7 @@ Partial Class RepRemisiones
GvDatos.Columns(3).HeaderText = "Hospital"
GvDatos.Columns(5).Visible = True
GvDatos.Columns(6).Visible = True
+ 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}"