Applied bug fix from trunk r1626476.
Applied bug fix from jira issue - OFBIZ-3833 - Payment capture is less than Order total.
Thanks Mridul for reviewing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release13.07@1626477 13f79535-47bb-0310-9956-ffa450edef68