public function show($equipmentId)
 {
     $equipment = $this->equipmentRepository->findBySlug($equipmentId);
     $trainers = $this->inductionRepository->getTrainersForEquipment($equipment->induction_category);
     $equipmentLog = $this->equipmentLogRepository->getFinishedForEquipment($equipment->device_key);
     $usageTimes = [];
     $usageTimes['billed'] = $this->equipmentLogRepository->getTotalTime($equipment->device_key, true, '');
     $usageTimes['unbilled'] = $this->equipmentLogRepository->getTotalTime($equipment->device_key, false, '');
     $usageTimes['training'] = $this->equipmentLogRepository->getTotalTime($equipment->device_key, null, 'training');
     $usageTimes['testing'] = $this->equipmentLogRepository->getTotalTime($equipment->device_key, null, 'testing');
     $userInduction = $this->inductionRepository->getUserForEquipment(\Auth::user()->id, $equipment->induction_category);
     $trainedUsers = $this->inductionRepository->getTrainedUsersForEquipment($equipment->induction_category);
     $usersPendingInduction = $this->inductionRepository->getUsersPendingInductionForEquipment($equipment->induction_category);
     return \View::make('equipment.show')->with('equipmentId', $equipmentId)->with('equipment', $equipment)->with('trainers', $trainers)->with('equipmentLog', $equipmentLog)->with('userInduction', $userInduction)->with('trainedUsers', $trainedUsers)->with('usersPendingInduction', $usersPendingInduction)->with('usageTimes', $usageTimes);
 }