mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 16:15:02 +00:00
(cherry picked from commit 6aed9e26ac)
Co-authored-by: Ankush Menat <ankush@iwebnotes.com>
This commit is contained in:
@@ -135,7 +135,7 @@ def mark_attendance(employee, attendance_date, status, shift=None, leave_type=No
|
||||
def mark_bulk_attendance(data):
|
||||
import json
|
||||
from pprint import pprint
|
||||
if isinstance(data, frappe.string_types):
|
||||
if isinstance(data, str):
|
||||
data = json.loads(data)
|
||||
data = frappe._dict(data)
|
||||
company = frappe.get_value('Employee', data.employee, 'company')
|
||||
|
||||
Reference in New Issue
Block a user