mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
feat: added auto course enrollment for enrolled programs
This commit is contained in:
@@ -144,6 +144,7 @@
|
||||
const quiz = new Quiz(document.getElementById('quiz-wrapper'), {
|
||||
name: '{{ content.name }}',
|
||||
course: '{{ course }}',
|
||||
program: '{{ program }}',
|
||||
quiz_exit_button: quiz_exit_button,
|
||||
next_url: next_url
|
||||
})
|
||||
@@ -165,7 +166,8 @@
|
||||
args: {
|
||||
course: "{{ course }}",
|
||||
content_type: "{{ content_type }}",
|
||||
content: "{{ content.name }}"
|
||||
content: "{{ content.name }}",
|
||||
program: "{{ program }}"
|
||||
}
|
||||
}
|
||||
frappe.call(opts).then(res => {
|
||||
|
||||
Reference in New Issue
Block a user