added isactive fields to department create view