Typo and styling fixes

Co-Authored-By: Shivam Mishra <scmmishra@users.noreply.github.com>
This commit is contained in:
Pranav Nachnekar 2019-09-16 20:02:20 +05:30 committed by GitHub
parent 018f0d3bbd
commit a8752db012
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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})