Merge pull request #24424 from AfshanKhan/fix-add-stat-comp-in-sal-struct

fix: allow statistical component in salary structure.