Merge pull request #1807 from rehanrehman389/program-fix
Misc Programs Issues
This commit is contained in:
@@ -17,7 +17,7 @@ class LMSProgram(Document):
|
||||
duplicates = {course for course in courses if courses.count(course) > 1}
|
||||
if len(duplicates):
|
||||
frappe.throw(
|
||||
_("Course {0} has already been added to this batch.").format(
|
||||
_("Course {0} has already been added to this program.").format(
|
||||
frappe.bold(next(iter(duplicates)))
|
||||
)
|
||||
)
|
||||
@@ -27,7 +27,7 @@ class LMSProgram(Document):
|
||||
duplicates = {member for member in members if members.count(member) > 1}
|
||||
if len(duplicates):
|
||||
frappe.throw(
|
||||
_("Member {0} has already been added to this batch.").format(
|
||||
_("Member {0} has already been added to this program.").format(
|
||||
frappe.bold(next(iter(duplicates)))
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user