Merge pull request #7937 from mbauskar/hotfix

[minor] allowed the credit and debit amount to be 0 in JE