-- cambio a globaldtrhpersonal
This commit is contained in:
@@ -68,20 +68,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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user