adding selection type in invoices form (paid or pending)