mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
Typo and styling fixes
Co-Authored-By: Shivam Mishra <scmmishra@users.noreply.github.com>
This commit is contained in:
@@ -89,7 +89,7 @@ def _get_agent_list_as_strings():
|
|||||||
|
|
||||||
|
|
||||||
def _check_agent_availability(agent_email,scheduled_time):
|
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:
|
for appointment in appointemnts_at_scheduled_time:
|
||||||
if appointment._assign == agent_email:
|
if appointment._assign == agent_email:
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user