Fixed POS and Sales Invoice paid amount display, when invoice not submitted. Fixes #1573