Empresas Zona Horaria
This commit is contained in:
@@ -87,8 +87,8 @@ Partial Class AC_RepAnexoCatalogo
|
||||
DtDatos = Nothing
|
||||
CargaTipoCuentas()
|
||||
CargaSegmentosNegocio()
|
||||
FechaInicio = DateSerial(Year(Now), Month(Now), 1)
|
||||
FechaFin = Date.Now
|
||||
FechaInicio = DateSerial(Year(NowADS()), Month(NowADS()), 1)
|
||||
FechaFin = NowADS()
|
||||
|
||||
If UsuarioActual.Empresa.UsaAC Then
|
||||
TipoReporte = -1
|
||||
@@ -204,8 +204,8 @@ Partial Class AC_RepAnexoCatalogo
|
||||
If DdlTipoCuentas.SelectedValue.ToEntero = -2 AndAlso TxtCuenta.Text.Trim = "" Then
|
||||
Alert("El campo Cuenta es obligatorio.", TipoMensaje.MsgError)
|
||||
Else
|
||||
FechaInicio = If(TxtFechaDel.Text = "" Or TxtFechaDel.Text = "__/__/____", Date.Now, TxtFechaDel.Text.ToDate)
|
||||
FechaFin = If(TxtFechaAl.Text = "" Or TxtFechaAl.Text = "__/__/____", Date.Now, TxtFechaAl.Text.ToDate)
|
||||
FechaInicio = If(TxtFechaDel.Text = "" Or TxtFechaDel.Text = "__/__/____", NowADS(), TxtFechaDel.Text.ToDate)
|
||||
FechaFin = If(TxtFechaAl.Text = "" Or TxtFechaAl.Text = "__/__/____", NowADS(), TxtFechaAl.Text.ToDate)
|
||||
IdCuenta = If(DdlTipoCuentas.SelectedValue.ToEntero = -2, HdnCveCuenta.Value.ToEntero, DdlTipoCuentas.SelectedValue.ToEntero)
|
||||
CargaDatos()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user