fix problem where invoices that are created without choosing the customer name are invisible in the invoices list