Assign credit note to uploaded bank statement transaction

The whole credit note and credit account section needs rewriting as it doesn’t fit most use cases.