| 
						
						
							
								
							
						
						
					 | 
				
			
			 | 
			 | 
			
				@ -60,6 +60,7 @@ def get_visitors(request):
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				@api_view(['GET'])    
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				def get_staffs(request):
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    staffs = StaffProfile.objects.filter(user__is_active=True).all().order_by('user__first_name')
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    staffs_data = []
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    for staff in staffs:
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        staff_data = {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				            "id": staff.id,
 | 
			
		
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
			
			 | 
			 | 
			
				@ -68,8 +69,9 @@ def get_staffs(request):
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				            "image": staff.image.url,
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				            "last_seen": staff.get_last_seen
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        }
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        staffs_data.append(staff_data)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    return successRes(staff_data)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    return successRes(staffs_data)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				
 | 
			
		
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
			
			 | 
			 | 
			
				
 
 |