Use view helper instead of model method
Replace attendance percentage model methods with view helper