added conditions for view work in show job details.

This request includes the business rule on job status and job types check before enable view work button in show job details screen.