Added logic to disallow voiding of an invoice with payments