add tpl for test orders and add js view order in footer