mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 06:58:27 +00:00
Update student_attendance.py (#23761)
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9db26155ad
commit
ca5f5cb367
@@ -75,6 +75,6 @@ class StudentAttendance(Document):
|
|||||||
})
|
})
|
||||||
|
|
||||||
if attendance_record:
|
if attendance_record:
|
||||||
record = get_link_to_form('Attendance Record', attendance_record)
|
record = get_link_to_form('Student Attendance', attendance_record)
|
||||||
frappe.throw(_('Student Attendance record {0} already exists against the Student {1}')
|
frappe.throw(_('Student Attendance record {0} already exists against the Student {1}')
|
||||||
.format(record, frappe.bold(self.student)), title=_('Duplicate Entry'))
|
.format(record, frappe.bold(self.student)), title=_('Duplicate Entry'))
|
||||||
|
|||||||
Reference in New Issue
Block a user