Empresas Zona Horaria
This commit is contained in:
@@ -74,8 +74,8 @@ public partial class OC_RepSolicitudesAnticipo : ClsPaginas
|
||||
|
||||
protected void InicializaDatos()
|
||||
{
|
||||
txtFechaI.Text = DateTime.Now.AddMonths(-1).FirstDayOfMonth().ToShortDateString();
|
||||
txtFechaF.Text = DateTime.Now.ToShortDateString();
|
||||
txtFechaI.Text = NowADS().AddMonths(-1).FirstDayOfMonth().ToShortDateString();
|
||||
txtFechaF.Text = NowADS().ToShortDateString();
|
||||
CveProveedor = -1;
|
||||
CargaSubProyectos();
|
||||
CargaProveedor();
|
||||
@@ -120,7 +120,7 @@ public partial class OC_RepSolicitudesAnticipo : ClsPaginas
|
||||
|
||||
CveProveedor = DdlProveedores.SelectedValue.ToEntero();
|
||||
FechaI = (txtFechaI.Text.ToString() != "" ? txtFechaI.Text.ToDateTime() : MinFecha);
|
||||
FechaF = (txtFechaF.Text.ToString() != "" ? txtFechaF.Text.ToDateTime() : DateTime.Now);
|
||||
FechaF = (txtFechaF.Text.ToString() != "" ? txtFechaF.Text.ToDateTime() : NowADS());
|
||||
|
||||
if (ObjOC.GetRepSolicitudAnticipos(UsuarioActual.CveEmpresa, CveProveedor, FechaI, FechaF, DdlEstatus.SelectedValue.ToEntero(),DdlUsuarios.SelectedValue.ToEntero(),DdlSubProyecto.SelectedValue.ToEntero()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user