-- cambio a globaldtrhpersonal
This commit is contained in:
@@ -68,20 +68,15 @@ public partial class Nomina_RepMovtosPermanentes : ClsPaginas
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected void CargaCombos()
|
protected void CargaCombos()
|
||||||
{
|
{
|
||||||
using (ClsRH orh = new ClsRH())
|
DDlPersonal.DataSource = get_GlobalDTRHPersonal(UsuarioActual.CveEmpresa);
|
||||||
{
|
DDlPersonal.DataBind();
|
||||||
if (orh.GetPersonal(-1, UsuarioActual.CveEmpresa))
|
|
||||||
{
|
|
||||||
DDlPersonal.DataSource = orh.DtResultados;
|
|
||||||
}
|
|
||||||
DDlPersonal.DataBind();
|
|
||||||
}
|
|
||||||
using (ClsNominas onom = new ClsNominas())
|
using (ClsNominas onom = new ClsNominas())
|
||||||
{
|
{
|
||||||
if (onom.GetConceptos(UsuarioActual.CveEmpresa))
|
if (onom.GetConceptos(UsuarioActual.CveEmpresa))
|
||||||
{
|
{
|
||||||
DDLConcepto.DataSource = onom.DtResultados;
|
DDLConcepto.DataSource = onom.DtResultados.FiltraParametros(" FormulaTotal = 'FNC.[MovimientosPermanentes]' OR Concepto like '%FONACOT%'");
|
||||||
}
|
}
|
||||||
DDLConcepto.DataBind();
|
DDLConcepto.DataBind();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user