/// <summary> /// Get Team Expense claims for Approval. /// Its get entire reporting user list. /// </summary> /// <returns>int</returns> public int GetExpenseClaimPendingApprovalCountForTeam() { // Cretaes Instance. CurrentInfo objInfo = new CurrentInfo(); BLDashBoardLanding objDash = new BLDashBoardLanding(objInfo.GetCompanyCode()); // Get Count for Entire Team Applied Expense claims. return(objDash.GetPendingApprovalCountForTeam(objInfo.GetCompanyCode(), objInfo.GetUserCode(), DashBoardLanding.Entity.EXPNESECLAIM)); }
/// <summary> /// Get Team TP Count for Approval. /// its only picking immediate users count. Not an entire reporting list. /// </summary> /// <returns>int</returns> public int GetTPPendingApprovalCountForTeam() { // create instances CurrentInfo objInfo = new CurrentInfo(); BLDashBoardLanding objDash = new BLDashBoardLanding(objInfo.GetCompanyCode()); // get TP Pending Approval count. return(objDash.GetPendingApprovalCountForTeam(objInfo.GetCompanyCode(), objInfo.GetUserCode(), DashBoardLanding.Entity.TP)); }