Typo and styling fixes
Co-Authored-By: Shivam Mishra <scmmishra@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									018f0d3bbd
								
							
						
					
					
						commit
						a8752db012
					
				| @ -89,7 +89,7 @@ def _get_agent_list_as_strings(): | ||||
| 
 | ||||
| 
 | ||||
| def _check_agent_availability(agent_email,scheduled_time): | ||||
| 	appointemnts_at_scheduled_time = frappe.get_list('Appointment', filters={'scheduled_time':scheduled_time}) | ||||
| 	appointments_at_scheduled_time = frappe.get_list('Appointment', filters={'scheduled_time': scheduled_time}) | ||||
| 	for appointment in appointemnts_at_scheduled_time: | ||||
| 		if appointment._assign == agent_email: | ||||
| 			return False | ||||
| @ -97,4 +97,4 @@ def _check_agent_availability(agent_email,scheduled_time): | ||||
| 
 | ||||
| 
 | ||||
| def _get_employee_from_user(user): | ||||
| 	return frappe.get_list('Employee', fields='*',filters={'user_id':user}) | ||||
| 	return frappe.get_list('Employee', fields='*',filters={'user_id':user}) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user