feat: gst fields in class student

This commit is contained in:
Jannat Patel
2023-08-23 13:00:54 +05:30
parent 04ed7f412f
commit 47c19b4e3d
11 changed files with 175 additions and 58 deletions

View File

@@ -600,26 +600,8 @@
{%- block script %}
{{ super() }}
{% if is_moderator %}
<script>
frappe.boot.user = {
"can_create": [],
"can_select": ["User", "LMS Assignment", "LMS Quiz"],
"can_read": ["User", "LMS Assignment", "LMS Quiz"]
};
frappe.boot.single_types = []
</script>
{% else %}
<script>
frappe.boot.user= {
"can_create": [],
"can_select": ["LMS Course"],
"can_read": ["LMS Course"]
};
let courses = {{ course_list | json }};
</script>
{% endif %}
{% endblock %}