added status field to invoice model