Empresas Zona Horaria
This commit is contained in:
@@ -370,11 +370,11 @@ Partial Class Inventarios_EntregaAlmacen
|
||||
|
||||
DdlFolio.Items.Insert(0, New ListItem("Seleccione", "-1"))
|
||||
|
||||
TxtFechaPendientes.Text = Now.ToShortDateString
|
||||
'TxtFechaCaducidad.Text = Now.ToShortDateString
|
||||
TxtFecha.Text = Now.ToShortDateString
|
||||
TxtFechaPendientes.Text = NowADS().ToShortDateString
|
||||
'TxtFechaCaducidad.Text = NowADS().ToShortDateString
|
||||
TxtFecha.Text = NowADS().ToShortDateString
|
||||
RVFecha.MaximumValue = MaxFecha.ToShortDateString
|
||||
If UsuarioActual.CveEmpresa.Contiene(119) Then RVFecha.MinimumValue = Now.ToShortDateString : CEFecha.StartDate = Now Else RVFecha.MinimumValue = MinFecha.ToShortDateString
|
||||
If UsuarioActual.CveEmpresa.Contiene(119) Then RVFecha.MinimumValue = NowADS().ToShortDateString : CEFecha.StartDate = NowADS() Else RVFecha.MinimumValue = MinFecha.ToShortDateString
|
||||
|
||||
If Not UsuarioActual.TienePermisoProceso(190) Then
|
||||
'CARGA SOLO LAS SUCURSALES DE LOS ALMCENES QUE TIENE ASIGNADO EL USUARIO
|
||||
@@ -477,8 +477,8 @@ Partial Class Inventarios_EntregaAlmacen
|
||||
|
||||
If UsuarioActual.Empresa.Funcionalidad(540) = "1" Then
|
||||
BtnGuardar.Enabled = False
|
||||
Dim FI As Date = Now.AddDays(-1)
|
||||
Dim FF As Date = Now.AddDays(-7)
|
||||
Dim FI As Date = NowADS().AddDays(-1)
|
||||
Dim FF As Date = NowADS().AddDays(-7)
|
||||
If ObjInventarios.RepNotasSinAlmacen(1, -1, FI, FF, "-1", -1, UsuarioActual.Empresa.CveEmpresa) Then
|
||||
If ObjInventarios.DtResultados IsNot Nothing AndAlso ObjInventarios.DtResultados.Rows.Count > 1 Then
|
||||
BtnGuardar.Enabled = False
|
||||
@@ -497,7 +497,7 @@ Partial Class Inventarios_EntregaAlmacen
|
||||
|
||||
End If
|
||||
|
||||
LtActualizado.Text = String.Format("Actualizado: {0}", Now.ToString("H:mm"))
|
||||
LtActualizado.Text = String.Format("Actualizado: {0}", NowADS().ToString("H:mm"))
|
||||
|
||||
GVPendientes.DataBind()
|
||||
UpPendientes.Update()
|
||||
@@ -737,7 +737,7 @@ Partial Class Inventarios_EntregaAlmacen
|
||||
LnkPaqueteriaDetalle.Visible = True
|
||||
End Select
|
||||
End If
|
||||
'TxtFecha.Text = If(EsDevolucionVenta = 1, Now.ToShortDateString, DtDatos.Rows(0)("Fecha").ToString())
|
||||
'TxtFecha.Text = If(EsDevolucionVenta = 1, NowADS().ToShortDateString, DtDatos.Rows(0)("Fecha").ToString())
|
||||
End If
|
||||
|
||||
If UsuarioActual.Empresa.Funcionalidad(132) = "1" Then
|
||||
@@ -2949,7 +2949,7 @@ Partial Class Inventarios_EntregaAlmacen
|
||||
'Paqueterias guias
|
||||
If RbEntregaInterna.Checked AndAlso Not ErrorMovInv Then
|
||||
Dim CveEstatus As Integer = 1 ' DdlEstatus.SelectedValue.ToEntero()
|
||||
Dim Fecha As String = Now.ToString() 'TxtFechaPaqInterna.Text
|
||||
Dim Fecha As String = NowADS().ToString() 'TxtFechaPaqInterna.Text
|
||||
Dim FechaEstimada As String = "-1" 'If(TxtFechaEstimada.Text = "", "-1", TxtFechaEstimada.Text)
|
||||
Dim NoCajas As Integer = 0 'TxtNoCajas.Text.ToEntero()
|
||||
Dim Observaciones As String = "" 'TxtObservacionesPaqInterna.Text
|
||||
@@ -3604,7 +3604,7 @@ Partial Class Inventarios_EntregaAlmacen
|
||||
|
||||
'DATOS DEL MOVIMINETO
|
||||
TxtObservaciones.Text = ""
|
||||
TxtFecha.Text = Now.ToShortDateString
|
||||
TxtFecha.Text = NowADS().ToShortDateString
|
||||
DdlAlmacen.SelectedValueExist(-1)
|
||||
CargaFolios()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user