client type in view and edit