brotherton-erpnext/erpnext/www/lms/index.py
scmmishra 836a4b5e54 lms: add activity child table and create frontend
Co-authored-by: Chinmay Pai <chinmaydpai@gmail.com>
2019-02-19 13:05:23 +05:30

5 lines
227 B
Python

from __future__ import unicode_literals
import frappe
def get_context(context):
context.featured = frappe.get_all('Program', filters={'is_featured': 1}, fields=['program_name', 'program_code', 'description', 'hero_image'])