add rewrite code and add customer group code to orders grid