Rewrite view order details table