protected void btnAddAdditionalRemuneration_Click(object sender, EventArgs e) { DBFilter filter = new DBFilter(); filter.add(new Match("EmpPayrollID", CurID)); filter.add(WebUtils.AddRankFilter(Session, "EmpID", true)); ArrayList empPayrollList = EEmpPayroll.db.select(dbConn, filter); if (empPayrollList.Count == 0) { TotalWagesForMinimumWages.Text = string.Empty; MinimumWagesRequired.Text = string.Empty; return; } EEmpPayroll empPayroll = (EEmpPayroll)empPayrollList[0]; WebUtils.StartFunction(Session, FUNCTION_CODE.Value, empPayroll.EmpID); HROne.Payroll.PayrollProcess.InsertAdditionalRemuneration(dbConn, empPayroll); WebUtils.EndFunction(dbConn); Payroll_PaymentRecordList.Refresh(); RefreshMinimumWagesInfo(); }
protected void Payroll_ORSORecordList_Recalculate(object sender, EventArgs e) { Payroll_PaymentRecordList.Refresh(); }