|  |  |  | @ -32,8 +32,9 @@ class Uitslag extends CI_Controller@@ -32,8 +32,9 @@ class Uitslag extends CI_Controller | 
			
		
	
		
			
				
					|  |  |  |  | 			$scores = $this->Uitslag_model->get_subgroep_punten($subgroep['id']); | 
			
		
	
		
			
				
					|  |  |  |  | 			 | 
			
		
	
		
			
				
					|  |  |  |  | 			foreach ($scores as $score) { | 
			
		
	
		
			
				
					|  |  |  |  | 				$data['uitslag'][$subgroep['id']][$score['spelgebiedid']] = $score['score']; | 
			
		
	
		
			
				
					|  |  |  |  | 				$data['uitslag'][$subgroep['id']]['total'] = $data['uitslag'][$subgroep['id']]['total'] + $score['score']; | 
			
		
	
		
			
				
					|  |  |  |  | 				$scoreitem = ($score['score']/$score['maxscore'])*100; | 
			
		
	
		
			
				
					|  |  |  |  | 				$data['uitslag'][$subgroep['id']][$score['spelgebiedid']] = $scoreitem; | 
			
		
	
		
			
				
					|  |  |  |  | 				$data['uitslag'][$subgroep['id']]['total'] = $data['uitslag'][$subgroep['id']]['total'] + $scoreitem; | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  |  | 		 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |