Dashboard changes for student and program
diff --git a/erpnext/education/doctype/program/program_dashboard.py b/erpnext/education/doctype/program/program_dashboard.py
new file mode 100644
index 0000000..cb8f742
--- /dev/null
+++ b/erpnext/education/doctype/program/program_dashboard.py
@@ -0,0 +1,20 @@
+from frappe import _
+
+def get_data():
+ return {
+ 'fieldname': 'program',
+ 'transactions': [
+ {
+ 'label': _('Admission and Enrollment'),
+ 'items': ['Student Applicant', 'Program Enrollment']
+ },
+ {
+ 'label': _('Student Activity'),
+ 'items': ['Student Group' ]
+ },
+ {
+ 'label': _('Fee'),
+ 'items': ['Fees','Fee Structure']
+ }
+ ]
+ }
\ No newline at end of file
diff --git a/erpnext/education/doctype/student/student_dashboard.py b/erpnext/education/doctype/student/student_dashboard.py
index d86f4f2..fa67d21 100644
--- a/erpnext/education/doctype/student/student_dashboard.py
+++ b/erpnext/education/doctype/student/student_dashboard.py
@@ -9,7 +9,7 @@
'transactions': [
{
'label': _('Admission'),
- 'items': ['Program Enrollment']
+ 'items': ['Program Enrollment', 'Course Enrollment']
},
{
'label': _('Student Activity'),
@@ -20,6 +20,10 @@
'items': ['Assessment Result']
},
{
+ 'label': _('Student Portal Activity'),
+ 'items': ['Course Activity', 'Quiz Activity' ]
+ },
+ {
'label': _('Attendance'),
'items': ['Student Attendance', 'Student Leave Application']
},