-
+
+
+
+
+
+
+
+
+
Tipo de Vista
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <%--Contratos Tab--%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Fecha
+ Salida
+
+
+
+
+
+
+
+
+ Fecha
+ Regreso
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -146,14 +390,15 @@
selectHelper: true,
select: selectDate,
editable: true,
- minTime: "08:00:00",
- maxTime: "19:00:00",
+ minTime: "00:00:00",
+ maxTime: "24:00:00",
events: {
url: '/Ashx/CargaEventos.ashx',
type: 'GET',
data: {
U: ' <%= UsuarioActual.CveUsuario %>',
E: '<%= UsuarioActual.CveEmpresa %>',
+ tipoVista: '<%= RBTipoVista.Text %>',
METODO: 'contrato_transportes',
CveUsuarioPara: $('#DdlTecnico').val(),
CveSubProyecto: $('#DdlSubProyecto').val()
@@ -164,6 +409,7 @@
});
clickSemana();
}
+
diff --git a/Transportes/RepContratosCalendario.aspx.vb b/Transportes/RepContratosCalendario.aspx.vb
index 2c64d6128..770c57b7f 100644
--- a/Transportes/RepContratosCalendario.aspx.vb
+++ b/Transportes/RepContratosCalendario.aspx.vb
@@ -11,11 +11,27 @@ Partial Class RepContratosCalendario
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
InicializaCalendar()
+ CargaDatos()
+
End If
+ InicializaCalendar()
+
+ End Sub
+ Private Sub CargaDatos()
+ Dim ObjContratos As New ClsContratos
+ If ObjContratos.GetContratos(-1, UsuarioActual.CveEmpresa, TipoContrato:=2) Then
+ GvContratos.DataSource = ObjContratos.DtResultados
+ End If
+ ObjContratos.Dispose()
+ GvContratos.DataBind()
+
End Sub
Private Sub InicializaCalendar()
RegistraScript("InitCalendar();")
DirectCast(Master.FindControl("TSM"), ScriptManager).EnablePageMethods = True
End Sub
+
+
+
End Class
diff --git a/Transportes/RepViajes.aspx b/Transportes/RepViajes.aspx
index 99aac269a..cc266bd7e 100644
--- a/Transportes/RepViajes.aspx
+++ b/Transportes/RepViajes.aspx
@@ -23,14 +23,6 @@
Agregar viaje
-<%--
- Contratos
-
-
- Viajes
- --%>
diff --git a/Ventas/Ventas.aspx b/Ventas/Ventas.aspx
index 41c750ea0..e8ba1c28f 100644
--- a/Ventas/Ventas.aspx
+++ b/Ventas/Ventas.aspx
@@ -4144,7 +4144,6 @@
-
@@ -4186,9 +4185,6 @@
Facturar