Replaced redundant local variables in views displaying case information