add view detail for SalesContract