diff --git a/App_Code/ClsNominas.vb b/App_Code/ClsNominas.vb
index 90ca3f680..409c84a51 100644
--- a/App_Code/ClsNominas.vb
+++ b/App_Code/ClsNominas.vb
@@ -338,7 +338,7 @@ Public Class ClsNominas
Return retorno
End Function
- Public Function SUAMovmientosAfiliatoriosGET(cveEmpresa As Integer, FechaInicio As DateTime, FechaFin As DateTime, CveTipoPeriodo As Integer) As Boolean
+ Public Function SUAMovmientosAfiliatoriosGET(cveEmpresa As Integer, FechaInicio As DateTime, FechaFin As DateTime, CveTipoPeriodo As Integer, Optional CveRegistroPatronal As Integer = -1) As Boolean
Dim retorno As Boolean = False
DTSet = New DataSet()
DataAdapter("[PA_Nom_SUAMovmientosAfiliatoriosGET]", CommandType.StoredProcedure)
@@ -347,6 +347,7 @@ Public Class ClsNominas
.Add("@FechaInicio", SqlDbType.Date).Value = FechaInicio
.Add("@FechaFin", SqlDbType.Date).Value = FechaFin
.Add("@TipoPeriodo", SqlDbType.Int).Value = CveTipoPeriodo
+ .Add("@CveRegistroPatronal", SqlDbType.Int).Value = CveRegistroPatronal
End With
Try
SqlAdapter.Fill(DTSet)
diff --git a/App_Code/ClsPaginas.vb b/App_Code/ClsPaginas.vb
index 0726f8f60..d921cbd71 100644
--- a/App_Code/ClsPaginas.vb
+++ b/App_Code/ClsPaginas.vb
@@ -5517,6 +5517,8 @@ Public Class ClsPaginas
PaginaDict.Add("/Ventas/CatAutorizacionLimites.aspx".ToUpper(), 781)
PaginaDict.Add("/Ventas/RepComisionesServec.aspx".ToUpper(), 782)
PaginaDict.Add("/Ventas/RepComisionesServecDetalle.aspx".ToUpper(), 782)
+ PaginaDict.Add("/Ventas/RepCancelacionesVentas.aspx".ToUpper(), 1325)
+
#End Region
diff --git a/App_Code/ClsVentas.vb b/App_Code/ClsVentas.vb
index a42ef2585..e46b7ac2a 100644
--- a/App_Code/ClsVentas.vb
+++ b/App_Code/ClsVentas.vb
@@ -5391,6 +5391,30 @@ Public Class ClsVentas
End Function
+ Public Function GetRepCancelacionVentas(FechaI As Date, FechaF As Date, CveSubProyecto As Integer, CveCliente As Integer, CveMotivoCancelacion As Integer, CveUsuario As Integer, CveEmpresa As Integer) As Boolean
+
+ Dim Retorno As Boolean = False
+ DataAdapter("PA_Vta_RepCancelacionesVentasGet")
+ With SqlAdapter.SelectCommand.Parameters
+
+ .Add("@FechaI", SqlDbType.Date).Value = FechaI
+ .Add("@FechaF", SqlDbType.Date).Value = FechaF
+ .Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto
+ .Add("@CveCliente", SqlDbType.Int).Value = CveCliente
+ .Add("@CveMotivoCancelacion", SqlDbType.Int).Value = CveMotivoCancelacion
+ .Add("@CveUsuario", SqlDbType.Int).Value = CveUsuario
+ .Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
+
+ End With
+ Try
+ SqlAdapter.Fill(Data)
+ Retorno = True
+ Catch ex As Exception
+ OnError("Ocurrió un error obtener las ventas canceladas.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo())
+ End Try
+ Return Retorno
+ End Function
+
#Region "C L I E N T E S V E N D E D O R E S S U B P R O Y E C T O S"
Public Function GetClientesVendedoresSubProyectos(CveCliente As Integer, CveVendedor As Integer, CveSubProyecto As Integer, CveEmpresa As Integer) As Boolean
diff --git a/Documentacion/TableroMaterialidad.aspx b/Documentacion/TableroMaterialidad.aspx
index 01736b900..b5874d606 100644
--- a/Documentacion/TableroMaterialidad.aspx
+++ b/Documentacion/TableroMaterialidad.aspx
@@ -17,15 +17,15 @@
}
th.Modulo5{
color:#fff;
- background-color:darksalmon;
+ background-color:#8e44ad;
}
th.Modulo6{
color:#fff;
- background-color:#67809f;
+ background-color:#3598dc;
}
th.Modulo7{
color:#fff;
- background-color:purple;
+ background-color:#36c6d3;
}
th:not(.Modulo5) + th.Modulo5,
th:not(.Modulo6) + th.Modulo6,
diff --git a/Nomina/CatPeriodos.aspx.vb b/Nomina/CatPeriodos.aspx.vb
index f3d8b51dd..59330e05f 100644
--- a/Nomina/CatPeriodos.aspx.vb
+++ b/Nomina/CatPeriodos.aspx.vb
@@ -24,6 +24,8 @@ Partial Class Nomina_CatPeriodos
ViewState("Orden") = ""
CargaTipoPeriodo()
cargaEjercicios()
+ CargaTurnos()
+
CargaDatos()
''Permiso Registro
@@ -62,6 +64,8 @@ Partial Class Nomina_CatPeriodos
DdlTipoPeriodo.DataBind()
DdlTipoPeriodoAdd.DataBind()
+
+
End Sub
Private Sub cargaEjercicios()
@@ -76,6 +80,15 @@ Partial Class Nomina_CatPeriodos
DdlEjercicio.Items.Insert(0, New ListItem("Todos", "-1"))
End Sub
+
+ Private Sub CargaTurnos()
+ DdlTurno.DataSource = GlobalDTTurno.FiltraParametros($"CveEmpresa = {UsuarioActual.CveEmpresa}")
+ DdlTurno.DataBind()
+ DdlTurno.Items.Insert(0, New ListItem("Seleccione uno", "-1"))
+ End Sub
+
+
+
#End Region
#Region "G V D A T O S"
@@ -329,6 +342,7 @@ Partial Class Nomina_CatPeriodos
TxtFechaInicioAdd.Text = ""
TxtFechaFinAdd.Text = ""
DdlEstatusAdd.SelectedValueExist(-1)
+ DdlTurno.SelectedValueExist(-1)
For Each item As ListItem In CBLchk.Items
Select Case item.Value.ToEntero()
Case 1
diff --git a/Nomina/MovimientosSUA.aspx b/Nomina/MovimientosSUA.aspx
index 1ecd6f58d..c3f2edcd9 100644
--- a/Nomina/MovimientosSUA.aspx
+++ b/Nomina/MovimientosSUA.aspx
@@ -30,14 +30,14 @@