added status type selection to invoices