Merge pull request #12824 from netchampfaris/hotfix-advance_payment

[hotfix] Advance Total validation