Entrega almacen filtro fechas y ocultar controles de entrega en primera etapa, clientes ocultar txt dirección de envio
This commit is contained in:
@@ -69,11 +69,7 @@ public partial class Inventarios_EntregaAlmacenRuta : ClsPaginas
|
||||
if (!IsPostBack)
|
||||
{
|
||||
|
||||
if (UsuarioActual.Empresa.Funcionalidad(161).ToEntero() == 1)
|
||||
{
|
||||
DvCartaPorte1.Visible = true;
|
||||
DvCartaPorte2.Visible = true;
|
||||
}
|
||||
|
||||
|
||||
SelecionEntrega = true;
|
||||
|
||||
@@ -304,13 +300,42 @@ public partial class Inventarios_EntregaAlmacenRuta : ClsPaginas
|
||||
|
||||
DTGenrarDocumentos.AcceptChanges();
|
||||
|
||||
|
||||
|
||||
|
||||
SelecionEntrega = false;
|
||||
LnkGenerarDocumentos.Text = "Regresar a Preselección";
|
||||
LnkGenerarDocumentos.CssClass = "btn btn-default";
|
||||
|
||||
DVDatosEntrega1.Visible = true;
|
||||
DVDatosEntrega2.Visible = true;
|
||||
DVDatosEntrega3.Visible = true;
|
||||
DVDatosEntrega4.Visible = true;
|
||||
DVDatosEntrega5.Visible = true;
|
||||
DVDatosEntrega6.Visible = true;
|
||||
|
||||
DVDatosEntrega7.Attributes.Add("class", "col-md-1");
|
||||
|
||||
if (UsuarioActual.Empresa.Funcionalidad(161).ToEntero() == 1)
|
||||
{
|
||||
DvCartaPorte1.Visible = true;
|
||||
DvCartaPorte2.Visible = true;
|
||||
}
|
||||
|
||||
|
||||
BtnConsultar.Visible = false;
|
||||
|
||||
UpDatos.Update();
|
||||
UpFiltro.Update();
|
||||
|
||||
|
||||
if (CountRows > 0)
|
||||
{
|
||||
{
|
||||
GvGenerarDocumentos.DataSource = DTGenrarDocumentos;
|
||||
GvGenerarDocumentos.DataBind();
|
||||
|
||||
DVGvGenerarDocumentos.Visible = true;
|
||||
BtnAsignar.Visible = false;
|
||||
BtnAsignar.Visible = true;
|
||||
DVGvPaqueteriasGuias.Visible = false;
|
||||
|
||||
RegistraScript("InitOrdenamientoGvGenerarDocumentos();");
|
||||
@@ -320,17 +345,6 @@ public partial class Inventarios_EntregaAlmacenRuta : ClsPaginas
|
||||
Alert("No hay entregas seleccionadas", ModExtensiones.TipoMensaje.MsgAdvertencia);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
SelecionEntrega = false;
|
||||
LnkGenerarDocumentos.Text = "Regresar a Preselección";
|
||||
//LnkGenerarDocumentos.CssClass = "btn btn-secondary";
|
||||
|
||||
BtnAsignar.Visible = true;
|
||||
BtnConsultar.Visible = false;
|
||||
|
||||
UpDatos.Update();
|
||||
UpFiltro.Update();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -338,16 +352,29 @@ public partial class Inventarios_EntregaAlmacenRuta : ClsPaginas
|
||||
BtnConsultar.Visible = true;
|
||||
SelecionEntrega = true;
|
||||
LnkGenerarDocumentos.Text = "Preselección de Entregas";
|
||||
//LnkGenerarDocumentos.CssClass = "btn btn-primary";
|
||||
LnkGenerarDocumentos.CssClass = "btn btn-primary";
|
||||
DVDatosEntrega7.Attributes.Add("class", "col-md-9");
|
||||
|
||||
DVDatosEntrega1.Visible = false;
|
||||
DVDatosEntrega2.Visible = false;
|
||||
DVDatosEntrega3.Visible = false;
|
||||
DVDatosEntrega4.Visible = false;
|
||||
DVDatosEntrega5.Visible = false;
|
||||
DVDatosEntrega6.Visible = false;
|
||||
|
||||
if (UsuarioActual.Empresa.Funcionalidad(161).ToEntero() == 1)
|
||||
{
|
||||
DvCartaPorte1.Visible = false;
|
||||
DvCartaPorte2.Visible = false;
|
||||
}
|
||||
|
||||
BtnAsignar.Visible = false;
|
||||
DVGvGenerarDocumentos.Visible = false;
|
||||
DVGvPaqueteriasGuias.Visible = true;
|
||||
UpDatos.Update();
|
||||
UpFiltro.Update();
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user