Merge pull request #17081 from rohitwaghchaure/fix_pos_pricing_rule_code_cleanup

fix: code cleanup