Merge pull request #24304 from deepeshgarg007/ytd_mtd_cal_fix

fix: Do not consider current salary slip in sum