Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -1446,16 +1446,14 @@
|
||||
|
||||
<div class="actions">
|
||||
|
||||
<div style="display:inline-block;width:296px">
|
||||
<div style="display:inline-block;width:186px">
|
||||
<asp:DropDownList ID="ddlmvtoperfiltroestatus" runat="server" Class="form-control input-sm select2me" Width="100%" ValidationGroup="GrpGuardar">
|
||||
<div style="display:inline-block;width:296px">Activos:
|
||||
<div style="display:inline-block;width:125px">
|
||||
<asp:DropDownList ID="ddlmvtoperfiltroestatus" AutoPostBack="true" OnSelectedIndexChanged="ddlmvtoperfiltroestatus_SelectedIndexChanged" runat="server" Class="form-control input-sm select2me" Width="100%" ValidationGroup="GrpGuardar">
|
||||
<asp:ListItem Value="-1" Text="Todos"></asp:ListItem>
|
||||
<asp:ListItem Value="1" Text="Activo"></asp:ListItem>
|
||||
<asp:ListItem Value="0" Text="Inactivo"></asp:ListItem>
|
||||
<asp:ListItem Value="1" Text="Si" Selected="True"></asp:ListItem>
|
||||
<asp:ListItem Value="0" Text="No"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
|
||||
</div>
|
||||
<asp:LinkButton ID="LnkFiltro" OnClick="LnkFiltro_Click" CssClass="btn btn-primary" runat="server">Filtrar</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<asp:LinkButton ID="LnkAddMovtoPermanente" OnClick="LnkAddMovtoPermanente_Click" CssClass="btn yellow-gold" runat="server">Agregar</asp:LinkButton>
|
||||
@@ -1510,7 +1508,7 @@
|
||||
CssClass="lnkMovotPermanente" runat="server" Text='<%# Eval("FechaInicioAplicacion", "{0:dd/MM/yyyy}")%>'></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Activo">
|
||||
<asp:TemplateField HeaderText="Activo" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton data-toggle="tooltip" title="Editar" OnClick="LnkEditarMovtoPermanente_Click"
|
||||
CssClass="lnkMovotPermanente" runat="server" Text='<%# (Eval("Estatus").ToString()=="1" ? "Si" : "No") %>'></asp:LinkButton>
|
||||
|
||||
@@ -7866,8 +7866,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
DdlConcepto.DataBind();
|
||||
//DdlConcepto.Items.Insert(0, new ListItem("Seleccione", "-1"));
|
||||
}
|
||||
|
||||
protected void LnkFiltro_Click(object sender, EventArgs e)
|
||||
private void CargaMovtoPermanente()
|
||||
{
|
||||
int estatus = ddlmvtoperfiltroestatus.SelectedValue.ToEntero();
|
||||
using (ClsNominas ObjMovt = new ClsNominas())
|
||||
@@ -7883,20 +7882,6 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
}
|
||||
GVMovtoPermanente.DataBind();
|
||||
UpMovtosPermanentes.Update();
|
||||
|
||||
|
||||
}
|
||||
private void CargaMovtoPermanente()
|
||||
{
|
||||
ddlmvtoperfiltroestatus.SelectedValue = "-1";
|
||||
using (ClsNominas ObjMovt = new ClsNominas())
|
||||
{
|
||||
ObjMovt.GetMovtoPermanente(UsuarioActual.CveEmpresa, SRCvePersonal);
|
||||
GVMovtoPermanente.DataSource = ObjMovt.DtResultados;
|
||||
|
||||
}
|
||||
GVMovtoPermanente.DataBind();
|
||||
UpMovtosPermanentes.Update();
|
||||
}
|
||||
protected void DdlTipo_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
@@ -12519,4 +12504,9 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void ddlmvtoperfiltroestatus_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
CargaMovtoPermanente();
|
||||
}
|
||||
}
|
||||
@@ -71,20 +71,15 @@ public partial class Nomina_RepMovtosPermanentes : ClsPaginas
|
||||
}
|
||||
|
||||
protected void CargaCombos()
|
||||
{
|
||||
using (ClsRH orh = new ClsRH())
|
||||
{
|
||||
if (orh.GetPersonal(-1, UsuarioActual.CveEmpresa))
|
||||
{
|
||||
DDlPersonal.DataSource = orh.DtResultados;
|
||||
}
|
||||
DDlPersonal.DataBind();
|
||||
}
|
||||
{
|
||||
DDlPersonal.DataSource = get_GlobalDTRHPersonal(UsuarioActual.CveEmpresa);
|
||||
DDlPersonal.DataBind();
|
||||
|
||||
using (ClsNominas onom = new ClsNominas())
|
||||
{
|
||||
if (onom.GetConceptos(UsuarioActual.CveEmpresa))
|
||||
{
|
||||
DDLConcepto.DataSource = onom.DtResultados;
|
||||
DDLConcepto.DataSource = onom.DtResultados.FiltraParametros(" FormulaTotal = 'FNC.[MovimientosPermanentes]' OR Concepto like '%FONACOT%'");
|
||||
}
|
||||
DDLConcepto.DataBind();
|
||||
}
|
||||
|
||||
@@ -96,6 +96,8 @@ public partial class Nomina_ReportedeAcumulados : ClsPaginas
|
||||
CargaTiposPeriodo();
|
||||
CargarCentrosDeCosto(DdlProyecto, null, LblProyecto, LblSubProyeccto, "");//DdlSubProyecto
|
||||
divddlproyeto.Visible = DdlProyecto.Visible;
|
||||
DdlTurno.DataSource = get_GlobalDTTurno(UsuarioActual.CveEmpresa);
|
||||
DdlTurno.DataBind();
|
||||
//CargarCentrosDeCosto(DdlProyecto As DropDownList, DdlSubProyecto As DropDownList, LthProyectoP As Label, LblSubProyecto As Label, Optional AplicaTodos As String = "Todos", Optional DdlSubProyectoMultiple As ListBox = Nothing)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user