extract show logic from controller to JobOrderPreper