key_commit: Fixed the taxreceiptprint table function - there had been a bug related to subinvoices that had previously been partially paid